Build Information
Failed to build swift-steam with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sebj/Steam.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/sebj/Steam
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9b0e731 Build & test on macOS 14 M1 runner
Cloned https://github.com/sebj/Steam.git
Revision (git rev-parse @):
9b0e731c6ec4d66a81e0476fec904f5b482074e8
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/sebj/Steam.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/sebj/Steam.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/soyersoyer/SwCrypt.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/1024jp/GzipSwift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/584] Fetching swcrypt
[212/2075] Fetching swcrypt, gzipswift
[2076/3540] Fetching swcrypt, gzipswift, swift-docc-plugin
[3454/16194] Fetching swcrypt, gzipswift, swift-docc-plugin, cryptoswift
[16195/52380] Fetching swcrypt, gzipswift, swift-docc-plugin, cryptoswift, swift-protobuf
Fetched https://github.com/soyersoyer/SwCrypt.git from cache (5.50s)
Fetched https://github.com/1024jp/GzipSwift.git from cache (5.50s)
Fetched https://github.com/apple/swift-docc-plugin from cache (5.50s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (5.52s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.56s)
Computing version for https://github.com/soyersoyer/SwCrypt.git
Computed https://github.com/soyersoyer/SwCrypt.git at 5.1.4 (1.04s)
Computing version for https://github.com/1024jp/GzipSwift.git
Computed https://github.com/1024jp/GzipSwift.git at 5.2.0 (0.43s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.6.0 (0.46s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.20.3 (0.45s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.46s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2861] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.48s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.20.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/1024jp/GzipSwift.git
Working copy of https://github.com/1024jp/GzipSwift.git resolved at 5.2.0
Creating working copy for https://github.com/soyersoyer/SwCrypt.git
Working copy of https://github.com/soyersoyer/SwCrypt.git resolved at 5.1.4
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Sources/Steam/Protobuf': File not found.
warning: 'swift-protobuf': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/CMakeLists.txt
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/10] Write sources
clang: error: unknown argument: '-index-store-path'
clang: error: no such file or directory: '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store'
[8/10] Compiling system-zlib anchor.c
[8/10] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux