The Swift Package Index logo.Swift Package Index

Build Information

Failed to build KSPlayer, reference main (7d6b4c), with Swift 6.2 for Linux on 23 Oct 2026 17:10:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kingslay/KSPlayer.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/kingslay/KSPlayer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7d6b4ce update
Cloned https://github.com/kingslay/KSPlayer.git
Revision (git rev-parse @):
7d6b4ced6f6b0d3b54cde84c77314a3fa6d927b0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kingslay/KSPlayer.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kingslay/KSPlayer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:fb5d8fda777a26ddf92a54d8d0a4928674c7f15e70feba2d3a729a0a6d9cf40c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/kingslay/FFmpegKit.git
[1/12608] Fetching ffmpegkit
Fetched https://github.com/kingslay/FFmpegKit.git from cache (50.35s)
Computing version for https://github.com/kingslay/FFmpegKit.git
Computed https://github.com/kingslay/FFmpegKit.git at 9.0.2 (50.52s)
Creating working copy for https://github.com/kingslay/FFmpegKit.git
Working copy of https://github.com/kingslay/FFmpegKit.git resolved at 9.0.2
Building for debugging...
[0/15] Write sources
[0/15] Copying Info.plist
[0/15] Copying Localizable.xcstrings
[0/15] Copying PrivacyInfo.xcprivacy
[1/15] Copying Info.plist
[6/15] Compiling FFmpegKit renderer.c
[7/15] Compiling FFmpegKit ffmpegkit.c
[8/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/49] Emitting module KSPlayerUI
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[11/52] Compiling KSPlayerUI SeekView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[12/52] Compiling KSPlayerUI SettingsView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[13/52] Compiling KSPlayerUI UIKitExtend.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[14/52] Compiling KSPlayerUI PlayerFullScreenViewController.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[15/52] Compiling KSPlayerUI PlayerToolBar.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[16/52] Compiling KSPlayerUI PlayerTransitionAnimator.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[17/52] Compiling KSPlayerUI PlayerView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/52] Emitting module MPVPlayer
/host/spi-builder-workspace/Sources/MPVPlayer/KSMPVPlayer.swift:8:8: error: no such module 'AVFoundation'
  6 | //
  7 |
  8 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  9 | import AVKit
 10 | import CoreGraphics
[19/52] Compiling MPVPlayer MPVOption.swift
/host/spi-builder-workspace/Sources/MPVPlayer/KSMPVPlayer.swift:8:8: error: no such module 'AVFoundation'
  6 | //
  7 |
  8 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  9 | import AVKit
 10 | import CoreGraphics
[20/52] Compiling MPVPlayer MPVCommand.swift
/host/spi-builder-workspace/Sources/MPVPlayer/KSMPVPlayer.swift:8:8: error: no such module 'AVFoundation'
  6 | //
  7 |
  8 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  9 | import AVKit
 10 | import CoreGraphics
[21/52] Compiling MPVPlayer MPVHandle.swift
/host/spi-builder-workspace/Sources/MPVPlayer/KSMPVPlayer.swift:8:8: error: no such module 'AVFoundation'
  6 | //
  7 |
  8 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  9 | import AVKit
 10 | import CoreGraphics
[22/52] Compiling MPVPlayer KSMPVPlayer.swift
/host/spi-builder-workspace/Sources/MPVPlayer/KSMPVPlayer.swift:8:8: error: no such module 'AVFoundation'
  6 | //
  7 |
  8 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  9 | import AVKit
 10 | import CoreGraphics
[23/52] Compiling MPVPlayer MPVProperty.swift
/host/spi-builder-workspace/Sources/MPVPlayer/KSMPVPlayer.swift:8:8: error: no such module 'AVFoundation'
  6 | //
  7 |
  8 | import AVFoundation
    |        `- error: no such module 'AVFoundation'
  9 | import AVKit
 10 | import CoreGraphics
[24/52] Compiling KSPlayerUI UXKit.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[25/52] Compiling KSPlayerUI VideoPlayerView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[26/52] Compiling KSPlayerUI resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[27/52] Compiling KSPlayerUI AudioPlayerView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[28/52] Compiling KSPlayerUI BrightnessVolume.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[29/52] Compiling KSPlayerUI Extensions.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[30/52] Compiling KSPlayerUI IOSVideoPlayerView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[31/52] Compiling KSPlayerUI KSVideoPlayerView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[32/52] Compiling KSPlayerUI KSVideoPlayerViewBuilder.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[33/52] Compiling KSPlayerUI PipPlayerView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[34/52] Compiling KSPlayerUI PlayerSlider.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[35/52] Compiling KSPlayerUI AirPlayView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[36/52] Compiling KSPlayerUI GestureView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[37/52] Compiling KSPlayerUI KSCorePlayerView.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
[38/52] Compiling KSPlayerUI KSVideoPlayer.swift
/host/spi-builder-workspace/Sources/KSPlayerUI/SwiftUI/AirPlayView.swift:8:8: error: no such module 'AVKit'
 6 | //
 7 |
 8 | import AVKit
   |        `- error: no such module 'AVKit'
 9 | import SwiftUI
10 |
BUILD FAILURE 6.2 linux