Build Information
Failed to build mongo-swift-driver 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/mongodb/mongo-swift-driver.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/mongodb/mongo-swift-driver
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1f62248 Swift halt development announcement (#782)
Cloned https://github.com/mongodb/mongo-swift-driver.git
Revision (git rev-parse @):
1f62248482bccd5a0f67c46793828674f9057d9d
SUCCESS checkout https://github.com/mongodb/mongo-swift-driver.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/mongodb/mongo-swift-driver.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/mongodb/swift-bson
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/Quick/Nimble
[1/3384] Fetching swift-bson
[374/4947] Fetching swift-bson, swift-atomics
[4948/70532] Fetching swift-bson, swift-atomics, swift-nio
[32494/89172] Fetching swift-bson, swift-atomics, swift-nio, nimble
Fetched https://github.com/apple/swift-atomics from cache (1.74s)
[71213/87609] Fetching swift-bson, swift-nio, nimble
Fetched https://github.com/Quick/Nimble from cache (1.77s)
[53229/68969] Fetching swift-bson, swift-nio
Fetched https://github.com/mongodb/swift-bson from cache (4.16s)
Fetched https://github.com/apple/swift-nio from cache (4.27s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.80s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/833] Fetching swift-extras-base64
[834/1882] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.41s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.41s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (0.83s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.66s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.62s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (1.08s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.65.0 (1.13s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3518] Fetching swift-system
[1162/17531] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
[3364/14013] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.83s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (1.27s)
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.65.0
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.0
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.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.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
warning: 'swift-nio': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOPosix/PrivacyInfo.xcprivacy
Building for debugging...
[0/180] 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'
[16/180] Compiling _AtomicsShims.c
[16/180] Compiling CNIODarwin shim.c
clang: error: unknown argument: '-index-store-path'
[16/180] Compiling CNIOWindows WSAStartup.c
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'
[16/180] Compiling CNIOWindows shim.c
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'
[16/180] Compiling CNIOLinux shim.c
[16/180] Compiling c-nioatomics.c
clang: error: unknown argument: '-index-store-path'
[16/180] Compiling CNIOLinux liburing_shims.c
[16/180] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux