Build Information
Failed to build swift-package-api-diff, reference main (d9947b
), with Swift 6.0 for Linux on 28 Nov 2024 15:57:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eugenebokhan/swift-package-api-diff.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/eugenebokhan/swift-package-api-diff
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d9947b5 update tests
Cloned https://github.com/eugenebokhan/swift-package-api-diff.git
Revision (git rev-parse @):
d9947b59c1e736c2f0e32cd4a6cca3ffc5f70eb9
SUCCESS checkout https://github.com/eugenebokhan/swift-package-api-diff.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/eugenebokhan/swift-package-api-diff.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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 -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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-package-manager.git
[1/142792] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (11.09s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28451] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.02s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6547] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.44s)
Fetching https://github.com/apple/swift-driver.git
[1/32225] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (1.86s)
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/1231] Fetching files
[1232/11167] Fetching files, yams
[2425/23562] Fetching files, yams, swift-argument-parser
Fetched https://github.com/JohnSundell/Files from cache (0.73s)
[20344/22331] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.03s)
Fetched https://github.com/jpsim/Yams.git from cache (1.06s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (0.49s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.52s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at swift-5.4.2-RELEASE (374cdb4)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.4 (d7bd437)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.4 (eb56a00)
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.4 (93e8b92)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.2
Building for debugging...
[0/140] Compiling TSCclibc libc.c
[0/140] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: error: call to undeclared function 'posix_spawn_file_actions_addchdir_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
10 | return posix_spawn_file_actions_addchdir_np(file_actions, path);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: note: did you mean 'SPM_posix_spawn_file_actions_addchdir_np'?
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:7:5: note: 'SPM_posix_spawn_file_actions_addchdir_np' declared here
7 | int SPM_posix_spawn_file_actions_addchdir_np(posix_spawn_file_actions_t *restrict file_actions, const char *restrict path) {
| ^
8 | #if defined(__GLIBC__)
9 | # if __GLIBC_PREREQ(2, 29)
10 | return posix_spawn_file_actions_addchdir_np(file_actions, path);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| SPM_posix_spawn_file_actions_addchdir_np
1 error generated.
[2/140] Compiling TSCclibc process.c
[2/140] Compiling scanner.c
[2/140] Compiling parser.c
[2/140] Compiling writer.c
[2/140] Compiling reader.c
[2/140] Compiling api.c
[2/140] Compiling emitter.c
[2/140] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux