Build Information
Failed to build LiveKit, reference 2.5.1 (9a1eaf
), with Swift 5.9 for Linux on 23 Apr 2025 11:23:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/livekit/client-sdk-swift.git
Reference: 2.5.1
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
* tag 2.5.1 -> FETCH_HEAD
HEAD is now at 9a1eaf9 v2.5.1
Cloned https://github.com/livekit/client-sdk-swift.git
Revision (git rev-parse @):
9a1eaf94754b051f4ace6fd0c7b0a5aaf3f54218
SUCCESS checkout https://github.com/livekit/client-sdk-swift.git at 2.5.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/livekit/client-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-collections.git
[1/2049] Fetching swift-docc-plugin
[329/18246] Fetching swift-docc-plugin, swift-collections
[4804/27295] Fetching swift-docc-plugin, swift-collections, jwt-kit
Fetched https://github.com/apple/swift-docc-plugin.git (1.54s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/vapor/jwt-kit.git (1.55s)
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/apple/swift-collections.git (1.58s)
Fetching https://github.com/livekit/webrtc-xcframework.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.46s)
[1/38504] Fetching swift-protobuf
[32345/38745] Fetching swift-protobuf, webrtc-xcframework
Fetched https://github.com/livekit/webrtc-xcframework.git (2.48s)
[33499/38504] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git (8.21s)
Computing version for https://github.com/livekit/webrtc-xcframework.git
Computed https://github.com/livekit/webrtc-xcframework.git at 125.6422.28 (1.57s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (0.63s)
Fetching https://github.com/apple/swift-crypto.git
[1/13708] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (2.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.56s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3367] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.96s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.29.0 (0.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.28s)
Fetching https://github.com/apple/swift-asn1.git
[1/1573] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.42s)
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.3
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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-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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.29.0
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/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/livekit/webrtc-xcframework.git
Working copy of https://github.com/livekit/webrtc-xcframework.git resolved at 125.6422.28
Downloading binary artifact https://github.com/livekit/webrtc-xcframework/releases/download/125.6422.28/LiveKitWebRTC.xcframework.zip
[1369/63129025] Downloading https://github.com/livekit/webrtc-xcframework/releases/download/125.6422.28/LiveKitWebRTC.xcframework.zip
Downloaded https://github.com/livekit/webrtc-xcframework/releases/download/125.6422.28/LiveKitWebRTC.xcframework.zip (5.49s)
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/6] 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
#import <Foundation/Foundation.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/6] Compiling LKObjCHelpers LKObjCHelpers.m
BUILD FAILURE 5.9 linux