Build Information
Failed to build LiveKitComponents, reference 0.1.7 (9f28db), with Swift 6.1 for Linux on 15 Apr 2026 13:40:09 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/livekit/components-swift.git
Reference: 0.1.7
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
* tag 0.1.7 -> FETCH_HEAD
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 0.1.7
========================================
Build
========================================
Selected platform: linux
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-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
[1436/41282] Fetching swift-docc-plugin, client-sdk-swift
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.04s)
Fetched https://github.com/livekit/client-sdk-swift.git from cache (1.05s)
Computing version for https://github.com/livekit/client-sdk-swift.git
Computed https://github.com/livekit/client-sdk-swift.git at 2.13.0 (1.65s)
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/livekit/livekit-uniffi-xcframework.git
Fetching https://github.com/livekit/webrtc-xcframework.git
[1/360] Fetching webrtc-xcframework
[361/412] Fetching webrtc-xcframework, livekit-uniffi-xcframework
Fetched https://github.com/livekit/livekit-uniffi-xcframework.git from cache (0.27s)
Fetched https://github.com/livekit/webrtc-xcframework.git from cache (0.28s)
[1/46624] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (5.36s)
Computing version for https://github.com/livekit/livekit-uniffi-xcframework.git
Computed https://github.com/livekit/livekit-uniffi-xcframework.git at 0.0.5 (5.89s)
Computing version for https://github.com/livekit/webrtc-xcframework.git
Computed https://github.com/livekit/webrtc-xcframework.git at 144.7559.3 (0.51s)
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.29s)
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.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.04s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.61s)
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/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/webrtc-xcframework.git
Working copy of https://github.com/livekit/webrtc-xcframework.git resolved at 144.7559.3
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/livekit/client-sdk-swift.git
Working copy of https://github.com/livekit/client-sdk-swift.git resolved at 2.13.0
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
[16375/66338957] Downloading https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.03/LiveKitWebRTC.xcframework.zip
[150194/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 (6.12s)
Downloaded https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.5/RustLiveKitUniFFI.xcframework.zip (15.24s)
[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
[5/10] Copying PrivacyInfo.xcprivacy
[5/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-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 linux