Build Information
Failed to build LiveKit, reference main (88264e), with Swift 6.1 for Linux on 30 Apr 2026 14:12:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/client-sdk-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/client-sdk-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 88264eb ci: switch benchmarks to cloud (#980)
Submodule path 'protocol': checked out '765a80e4298e376593859c3f11cf748c725f68f9'
Submodule 'protocol' (https://github.com/livekit/protocol.git) registered for path 'protocol'
Cloning into '/host/spi-builder-workspace/protocol'...
Cloned https://github.com/livekit/client-sdk-swift.git
Revision (git rev-parse @):
88264eb76555ba577069a5a0285b86cdb840ef44
SUCCESS checkout https://github.com/livekit/client-sdk-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/livekit/client-sdk-swift.git
https://github.com/livekit/client-sdk-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/apple/swift-protobuf.git
Fetching https://github.com/livekit/webrtc-xcframework.git
Fetching https://github.com/livekit/livekit-uniffi-xcframework.git
[1/64] Fetching livekit-uniffi-xcframework
[19/429] Fetching livekit-uniffi-xcframework, webrtc-xcframework
[430/2716] Fetching livekit-uniffi-xcframework, webrtc-xcframework, swift-docc-plugin
Fetched https://github.com/livekit/livekit-uniffi-xcframework.git from cache (0.31s)
[640/2652] Fetching webrtc-xcframework, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.58s)
[1/47761] Fetching swift-protobuf
Fetched https://github.com/livekit/webrtc-xcframework.git from cache (7.39s)
Fetched https://github.com/apple/swift-protobuf.git from cache (7.49s)
Computing version for https://github.com/livekit/livekit-uniffi-xcframework.git
Computed https://github.com/livekit/livekit-uniffi-xcframework.git at 0.0.6 (8.01s)
Computing version for https://github.com/livekit/webrtc-xcframework.git
Computed https://github.com/livekit/webrtc-xcframework.git at 144.7559.4 (0.54s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.5.0 (2.35s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3679] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.10s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.37.0 (1.33s)
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.37.0
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.6
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.4
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.5.0
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
Downloading binary artifact https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.6/RustLiveKitUniFFI.xcframework.zip
Downloading binary artifact https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.04/LiveKitWebRTC.xcframework.zip
[864/66341867] Downloading https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.04/LiveKitWebRTC.xcframework.zip
[31952/71886354] Downloading https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.04/LiveKitWebRTC.xcframework.zip, https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.6/RustLiveKitUniFFI.xcframework.zip
Downloaded https://github.com/livekit/livekit-uniffi-xcframework/releases/download/0.0.6/RustLiveKitUniFFI.xcframework.zip (1.00s)
Downloaded https://github.com/livekit/webrtc-xcframework/releases/download/144.7559.04/LiveKitWebRTC.xcframework.zip (5.98s)
warning: 'spi-builder-workspace': ignoring target 'LiveKitObjCTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[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/Sources/LKObjCHelpers/LKObjCHelpers.m:1:
/host/spi-builder-workspace/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-2":/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
warning: 'spi-builder-workspace': ignoring target 'LiveKitObjCTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[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/Sources/LKObjCHelpers/LKObjCHelpers.m:1:
/host/spi-builder-workspace/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