Build Information
Failed to build LiveKitComponents, reference main (9f28db), with Swift 6.1 for Wasm on 15 Apr 2026 12:35:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/livekit/components-swift.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/livekit/components-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9f28db3 0.1.7 (#35)
Cloned https://github.com/livekit/components-swift.git
Revision (git rev-parse @):
9f28db3ae5d2b51f3033ea725c952ddacb5657d0
SUCCESS checkout https://github.com/livekit/components-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/livekit/components-swift.git
https://github.com/livekit/components-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/livekit/client-sdk-swift.git
[1/2277] Fetching swift-docc-plugin
[480/41272] Fetching swift-docc-plugin, client-sdk-swift
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.29s)
Fetched https://github.com/livekit/client-sdk-swift.git from cache (1.30s)
Computing version for https://github.com/livekit/client-sdk-swift.git
Computed https://github.com/livekit/client-sdk-swift.git at 2.13.0 (2.02s)
Fetching https://github.com/livekit/livekit-uniffi-xcframework.git
Fetching https://github.com/livekit/webrtc-xcframework.git
Fetching https://github.com/apple/swift-protobuf.git
[1/52] Fetching livekit-uniffi-xcframework
[53/412] Fetching livekit-uniffi-xcframework, webrtc-xcframework
[413/46960] Fetching livekit-uniffi-xcframework, webrtc-xcframework, swift-protobuf
Fetched https://github.com/livekit/livekit-uniffi-xcframework.git from cache (10.99s)
Fetched https://github.com/livekit/webrtc-xcframework.git from cache (10.99s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.20s)
Computing version for https://github.com/livekit/livekit-uniffi-xcframework.git
Computed https://github.com/livekit/livekit-uniffi-xcframework.git at 0.0.5 (12.53s)
Computing version for https://github.com/livekit/webrtc-xcframework.git
Computed https://github.com/livekit/webrtc-xcframework.git at 144.7559.3 (0.53s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.6 (2.51s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.32s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.82s)
Creating working copy for https://github.com/livekit/livekit-uniffi-xcframework.git
Working copy of https://github.com/livekit/livekit-uniffi-xcframework.git resolved at 0.0.5
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.6
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/livekit/client-sdk-swift.git
Working copy of https://github.com/livekit/client-sdk-swift.git resolved at 2.13.0
Creating working copy for https://github.com/livekit/webrtc-xcframework.git
Working copy of https://github.com/livekit/webrtc-xcframework.git resolved at 144.7559.3
Downloading binary artifact https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip
Downloading binary artifact https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip
[1397/66338957] Downloading https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip
[18251/216291961] Downloading https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip, https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip
Downloaded https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip (8.23s)
Downloaded https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip (16.05s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/10] Write sources
[6/10] Copying PrivacyInfo.xcprivacy
[7/10] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/client-sdk-swift/Sources/LKObjCHelpers/LKObjCHelpers.m:1:
/host/spi-builder-workspace/.build/checkouts/client-sdk-swift/Sources/LKObjCHelpers/include/LKObjCHelpers.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
1 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[8/10] Compiling LKObjCHelpers LKObjCHelpers.m
[8/10] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/client-sdk-swift/Sources/LKObjCHelpers/LKObjCHelpers.m:1:
/host/spi-builder-workspace/.build/checkouts/client-sdk-swift/Sources/LKObjCHelpers/include/LKObjCHelpers.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
1 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/5] Compiling LKObjCHelpers LKObjCHelpers.m
[3/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm