Build Information
Failed to build LiveKit, reference main (0d4806
), with Swift 6.0 for Linux on 11 Jun 2025 11:59:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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 0d4806a Swift snapshot build (#718)
Cloned https://github.com/livekit/client-sdk-swift.git
Revision (git rev-parse @):
0d4806a529e49b22802ecd24b3caeca087a823e1
SUCCESS checkout https://github.com/livekit/client-sdk-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/livekit/client-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:eaa733228b13fb63f7b48fc0ae9a4552a427b7215d37e5caded5aa10021734d9
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/livekit/webrtc-xcframework.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/255] Fetching webrtc-xcframework
[256/2323] Fetching webrtc-xcframework, swift-docc-plugin
[484/6159] Fetching webrtc-xcframework, swift-docc-plugin, swift-log
[2671/22750] Fetching webrtc-xcframework, swift-docc-plugin, swift-log, swift-collections
[6990/31806] Fetching webrtc-xcframework, swift-docc-plugin, swift-log, swift-collections, jwt-kit
Fetched https://github.com/livekit/webrtc-xcframework.git from cache (0.47s)
[11049/31551] Fetching swift-docc-plugin, swift-log, swift-collections, jwt-kit
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.48s)
[9524/29483] Fetching swift-log, swift-collections, jwt-kit
[29484/68836] Fetching swift-log, swift-collections, jwt-kit, swift-protobuf
Fetched https://github.com/vapor/jwt-kit.git from cache (1.27s)
[23969/59780] Fetching swift-log, swift-collections, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (6.21s)
Fetched https://github.com/apple/swift-collections.git from cache (6.24s)
Fetched https://github.com/apple/swift-protobuf.git from cache (6.27s)
Computing version for https://github.com/livekit/webrtc-xcframework.git
Computed https://github.com/livekit/webrtc-xcframework.git at 125.6422.32 (1.88s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (0.56s)
Fetching https://github.com/apple/swift-crypto.git
[1/14851] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.95s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (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.4 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3408] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.99s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.24s)
Fetching https://github.com/apple/swift-asn1.git
[1/1590] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.33s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.61s)
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 125.6422.32
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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.4
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.30.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
[2747/63158904] Downloading https://github.com/livekit/webrtc-xcframework/releases/download/125.6422.32/LiveKitWebRTC.xcframework.zip
Downloading binary artifact https://github.com/livekit/webrtc-xcframework/releases/download/125.6422.32/LiveKitWebRTC.xcframework.zip
Downloaded https://github.com/livekit/webrtc-xcframework/releases/download/125.6422.32/LiveKitWebRTC.xcframework.zip (4.67s)
warning: 'spi-builder-workspace': ignoring target 'LiveKitTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/13] Write sources
[4/13] Copying PrivacyInfo.xcprivacy
[4/13] Write sources
[10/13] Copying PrivacyInfo.xcprivacy
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.
[11/13] Compiling LKObjCHelpers LKObjCHelpers.m
[11/13] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux