Build Information
Failed to build SwiftPM, reference main (ec2a62
), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 03:23:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 ec2a626 Pass symbol graph options to swift build to customize the output (#9124)
Cloned https://github.com/swiftlang/swift-package-manager.git
Revision (git rev-parse @):
ec2a626d905c74d71745912ac83ae55ddb179844
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-1":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29217] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.49s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71913] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.32s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6951] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.46s)
Fetching https://github.com/swiftlang/swift-driver.git
[1/35561] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.74s)
Fetching https://github.com/swiftlang/swift-build.git
[1/15273] Fetching swift-build
Fetched https://github.com/swiftlang/swift-build.git from cache (2.04s)
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/15926] Fetching swift-argument-parser
[2/18020] Fetching swift-argument-parser, swift-docc-plugin
[182/18200] Fetching swift-argument-parser, swift-docc-plugin, swift-toolchain-sqlite
[283/24783] Fetching swift-argument-parser, swift-docc-plugin, swift-toolchain-sqlite, swift-certificates
[1772/29720] Fetching swift-argument-parser, swift-docc-plugin, swift-toolchain-sqlite, swift-certificates, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.17s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.18s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.20s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-certificates.git from cache (1.22s)
Fetching https://github.com/apple/swift-collections.git
[1/16864] Fetching swift-crypto
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (2.07s)
[1688/34317] Fetching swift-crypto, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.15s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.06s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (4.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.0.0 (0.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.51s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.5.0 (0.49s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.75s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.6 (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (0.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.6 (0.83s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-toolchain-sqlite
Working copy of https://github.com/swiftlang/swift-toolchain-sqlite resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (6df106d)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (9cd0607)
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 (a00f2e3)
Creating working copy for https://github.com/swiftlang/swift-build.git
Working copy of https://github.com/swiftlang/swift-build.git resolved at main (978b179)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (7eae6e7)
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
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
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
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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
warning: 'swift-build': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-build/Sources/SWBWindowsPlatform/README.md
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/928] Write sources
[15/928] Compiling llvmSupport Valgrind.cpp
[16/928] Compiling llvmSupport UnicodeCaseFold.cpp
[17/928] Compiling tsan_utils tsan_utils.c
[18/928] Write swift-version-24593BA9C3E375BF.txt
[19/928] 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/928] Compiling llvmSupport Threading.cpp
[20/928] Compiling llvmSupport Unicode.cpp
[20/928] Compiling llvmSupport YAMLParser.cpp
[20/928] Compiling llvmSupport StringSaver.cpp
[20/928] Compiling llvmSupport TargetParser.cpp
[20/928] Compiling llvmSupport Triple.cpp
[20/928] Compiling llvmSupport raw_ostream.cpp
[20/928] Compiling llvmSupport Twine.cpp
BUILD FAILURE 6.2 wasm