Build Information
Failed to build KSPlayer, reference main (7d6b4c), with Swift 6.2 for Wasm on 23 Oct 2026 17:18:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build 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: wasm
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-53886768-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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/kingslay/FFmpegKit.git
[1/12608] Fetching ffmpegkit
Fetched https://github.com/kingslay/FFmpegKit.git from cache (53.46s)
Computing version for https://github.com/kingslay/FFmpegKit.git
Computed https://github.com/kingslay/FFmpegKit.git at 9.0.2 (53.64s)
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 PrivacyInfo.xcprivacy
[2/15] Copying Localizable.xcstrings
[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 |
[18/52] Compiling KSPlayerUI KSMenu.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 |
[19/52] Compiling KSPlayerUI KSPlayerItem.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 |
[20/52] Compiling KSPlayerUI MacVideoPlayerView.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 |
[21/52] Compiling KSPlayerUI NSLayoutConstraint.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 |
[22/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 |
[23/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 |
[24/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 |
[25/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
[26/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/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
[28/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
[29/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
[30/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
BUILD FAILURE 6.2 wasm