Build Information
Failed to build SwiftPM, reference main (7df932), with Swift 6.2 for Wasm on 21 Jun 2025 17:16:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/art-divin/swift-package-manager.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/art-divin/swift-package-manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7df9321 Possible fix for Docker
Cloned https://github.com/art-divin/swift-package-manager.git
Revision (git rev-parse @):
7df9321541e544d711dd93f5b97dd4e8bf7e100e
SUCCESS checkout https://github.com/art-divin/swift-package-manager.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/art-divin/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/art-divin/swift-driver.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-certificates.git
[1/23032] Fetching swift-driver
[1844/29216] Fetching swift-driver, swift-certificates
[2198/45856] Fetching swift-driver, swift-certificates, swift-collections
[3634/50292] Fetching swift-driver, swift-certificates, swift-collections, swift-system
[5752/65711] Fetching swift-driver, swift-certificates, swift-collections, swift-system, swift-crypto
[11046/81091] Fetching swift-driver, swift-certificates, swift-collections, swift-system, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-certificates.git from cache (1.21s)
[23620/74907] Fetching swift-driver, swift-collections, swift-system, swift-crypto, swift-argument-parser
Fetching https://github.com/art-divin/swift-tools-support-core.git
[46026/78398] Fetching swift-driver, swift-collections, swift-system, swift-crypto, swift-argument-parser, swift-tools-support-core
Fetched https://github.com/art-divin/swift-tools-support-core.git from cache (1.02s)
Fetching https://github.com/art-divin/swift-llbuild.git
Fetched https://github.com/apple/swift-system.git from cache (2.29s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.32s)
[34067/55091] Fetching swift-driver, swift-collections, swift-crypto
[37465/72528] Fetching swift-driver, swift-collections, swift-crypto, swift-llbuild
Fetched https://github.com/apple/swift-collections.git from cache (3.95s)
[42444/55888] Fetching swift-driver, swift-crypto, swift-llbuild
Fetched https://github.com/art-divin/swift-driver.git from cache (5.65s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.70s)
Fetched https://github.com/art-divin/swift-llbuild.git from cache (3.43s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.0.1 (9.00s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (2.05s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.94s)
Computing version for https://github.com/art-divin/swift-driver.git
Computed https://github.com/art-divin/swift-driver.git at 1.0.1 (1.05s)
Fetching https://github.com/jpsim/Yams.git
[1/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.10s)
Computing version for https://github.com/art-divin/swift-tools-support-core.git
Computed https://github.com/art-divin/swift-tools-support-core.git at 1.0.0 (3.16s)
Computing version for https://github.com/art-divin/swift-llbuild.git
Computed https://github.com/art-divin/swift-llbuild.git at 1.0.0 (0.97s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.80s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.88s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.6 (0.88s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.17s)
Creating working copy for https://github.com/art-divin/swift-llbuild.git
Working copy of https://github.com/art-divin/swift-llbuild.git resolved at 1.0.0
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 1.2.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.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.2.0
Creating working copy for https://github.com/art-divin/swift-driver.git
Working copy of https://github.com/art-divin/swift-driver.git resolved at 1.0.1
Creating working copy for https://github.com/art-divin/swift-tools-support-core.git
Working copy of https://github.com/art-divin/swift-tools-support-core.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.6
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
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
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/PackageModel/InstalledLibrariesSupport/provided-libraries.json
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/664] Write sources
[15/664] Compiling tsan_utils tsan_utils.c
[16/664] Write swift-version-24593BA9C3E375BF.txt
[17/664] Compiling llvmSupport UnicodeCaseFold.cpp
[18/664] Compiling llvmSupport Valgrind.cpp
[19/664] Compiling llvmSupport circular_raw_ostream.cpp
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:72:17: error: no member named 'thread' in namespace 'std'
72 | return std::thread::hardware_concurrency();
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:83:27: error: no member named 'thread' in namespace 'std'
83 | if (unsigned Val = std::thread::hardware_concurrency())
| ~~~~~^
2 errors generated.
[20/664] Compiling llvmSupport Threading.cpp
[20/664] Compiling llvmSupport StringSaver.cpp
[389/664] Compiling llvmSupport TargetParser.cpp
[478/664] Compiling llvmSupport Twine.cpp
[478/664] Compiling llvmSupport Unicode.cpp
[573/664] Compiling llvmSupport YAMLParser.cpp
[573/664] Compiling llvmSupport Triple.cpp
[573/664] Compiling llvmSupport raw_ostream.cpp
BUILD FAILURE 6.2 wasm