Build Information
Failed to build SwiftPM, reference main (b60528), with Swift 6.2 for Wasm on 14 Dec 2025 16:17:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/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/swiftlang/swift-package-manager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b60528e Remove a couple areas where tests where changing cwd (fixes AL2 crashes) (#9505)
Cloned https://github.com/swiftlang/swift-package-manager.git
Revision (git rev-parse @):
b60528e60b576bf42fa14be9c230a7ac1f212d28
SUCCESS checkout https://github.com/swiftlang/swift-package-manager.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29399] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.59s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/73112] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.99s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/16921] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Fetching https://github.com/apple/swift-crypto.git
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.42s)
Fetching https://github.com/apple/swift-system.git
[1/5221] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Fetching https://github.com/apple/swift-collections.git
[1/18378] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.48s)
Fetching https://github.com/apple/swift-certificates.git
[1/7070] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.46s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite.git
[1/204] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite.git from cache (0.78s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7122] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.53s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/36625] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (3.18s)
Fetching https://github.com/swiftlang/swift-build.git
[1/19023] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (2.87s)
Fetching https://github.com/swiftlang/swift-tools-protocols.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-asn1.git
[1/32878] Fetching swift-tools-protocols
[659/34545] Fetching swift-tools-protocols, swift-asn1
[726/36703] Fetching swift-tools-protocols, swift-asn1, swift-docc-plugin
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
[10297/35036] Fetching swift-tools-protocols, swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.36s)
Fetched https://github.com/swiftlang/swift-tools-protocols.git from cache (1.37s)
Computing version for https://github.com/swiftlang/swift-tools-protocols.git
Computed https://github.com/swiftlang/swift-tools-protocols.git at 0.0.9 (2.07s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.45s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3596] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.91s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.1 (386001a)
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.5 (d79c573)
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at main (d4ca68c)
Creating working copy for https://github.com/swiftlang/swift-build.git
Working copy of https://github.com/swiftlang/swift-build.git resolved at main (4e772a8)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (31f762e)
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.5.1 (011f0c7)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (ca0480b)
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite.git
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite.git resolved at 1.0.7 (b45b80b)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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.6 (c11818f)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (e38525a)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0 (61e4ca4)
Creating working copy for https://github.com/swiftlang/swift-tools-protocols.git
Working copy of https://github.com/swiftlang/swift-tools-protocols.git resolved at 0.0.9
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
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/SwiftPMBuildServer/CMakeLists.txt
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/876] Write sources
[25/876] Compiling llvmSupport Valgrind.cpp
[26/876] Compiling llvmSupport UnicodeCaseFold.cpp
[27/876] Compiling tsan_utils tsan_utils.c
[28/876] Compiling llvmSupport circular_raw_ostream.cpp
[29/876] Compiling llvmSupport NativeFormatting.cpp
[30/876] Write swift-version-24593BA9C3E375BF.txt
[31/876] Compiling llvmSupport Twine.cpp
[32/876] Compiling llvmSupport Unicode.cpp
[33/876] Compiling llvmSupport Triple.cpp
[34/876] Compiling llvmSupport raw_ostream.cpp
[35/876] Compiling llvmSupport StringMap.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.
[36/876] Compiling llvmSupport Threading.cpp
[36/876] Compiling llvmSupport SmallVector.cpp
[36/876] Compiling llvmSupport StringSaver.cpp
[36/876] Compiling llvmSupport StringRef.cpp
[36/876] Compiling llvmSupport TargetParser.cpp
[36/876] Compiling llvmSupport SourceMgr.cpp
[36/876] Compiling llvmSupport StringExtras.cpp
[36/876] Compiling llvmSupport YAMLParser.cpp
BUILD FAILURE 6.2 wasm