Build Information
Failed to build SwiftBuild, reference main (fe0e2a
), with Swift 6.2 (beta) for Wasm on 13 Sep 2025 22:28:26 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-build.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-build
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fe0e2a7 Fix the build on iOS and add CI coverage
Cloned https://github.com/swiftlang/swift-build.git
Revision (git rev-parse @):
fe0e2a74e64c63ef0973c116e5f2da1ba200e6e8
SUCCESS checkout https://github.com/swiftlang/swift-build.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/swift-build.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-driver.git
[1/35578] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (2.58s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/29218] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (2.40s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/6952] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.41s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/181] Fetching swift-toolchain-sqlite
[20/5125] Fetching swift-toolchain-sqlite, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
[169/181] Fetching swift-toolchain-sqlite
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (0.80s)
[1/16026] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.50s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.7 (0.38s)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (bff22ba)
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
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.7
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)
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/SWBWindowsPlatform/README.md
[1/1] Compiling plugin cmake-smoke-test
[2/2] Compiling plugin generate-windows-installer-component-groups
[3/3] Compiling plugin launch-xcode
[4/4] Compiling plugin run-xcodebuild
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/342] Write sources
[8/342] Compiling SWBCSupport CLibRemarksHelper.c
[9/342] Compiling SWBCLibc libc.c
[10/342] Compiling llvmSupport Valgrind.cpp
[11/342] Compiling llvmSupport UnicodeCaseFold.cpp
[12/342] Compiling llvmSupport circular_raw_ostream.cpp
[13/342] Compiling llvmSupport Unicode.cpp
[14/342] Compiling llvmSupport Twine.cpp
[15/342] Compiling llvmSupport Triple.cpp
[16/342] Compiling llvmSupport raw_ostream.cpp
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1604:10: error: no type named 'mutex' in namespace 'std'
1604 | std::mutex workersLock;
| ~~~~~^
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1635:30: error: no member named 'mutex' in namespace 'std'
1635 | std::lock_guard<std::mutex> guard(workersLock);
| ~~~~~^
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1651:30: error: no member named 'mutex' in namespace 'std'
1651 | std::lock_guard<std::mutex> guard(workersLock);
| ~~~~~^
3 errors generated.
[17/342] Compiling SWBCSupport CLibclang.cpp
[17/342] Write swift-version-24593BA9C3E375BF.txt
[17/342] Compiling llvmSupport StringSaver.cpp
[17/342] Compiling llvmSupport StringMap.cpp
[17/342] Compiling llvmSupport Threading.cpp
[17/342] Compiling llvmSupport YAMLParser.cpp
[17/342] Compiling llvmSupport StringRef.cpp
[17/342] Compiling llvmSupport TargetParser.cpp
BUILD FAILURE 6.2 wasm