The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftBuild, reference main (d417bb), with Swift 6.2 for Wasm on 24 Nov 2026 16:52:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 d417bbc Merge pull request #2010 from swiftlang/automerge/merge-main-2026-11-23_09-03
Cloned https://github.com/swiftlang/swift-build.git
Revision (git rev-parse @):
d417bbcdd46bcd5afb99cc810b3d769d3e7f922f
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-54344849-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-driver.git
[1/40415] Fetching swift-driver
Fetched https://github.com/swiftlang/swift-driver.git from cache (1.63s)
Fetching https://github.com/swiftlang/swift-tools-protocols.git
[1/33730] Fetching swift-tools-protocols
Fetched https://github.com/swiftlang/swift-tools-protocols.git from cache (0.91s)
Fetching https://github.com/swiftlang/swift-llbuild.git
[1/30211] Fetching swift-llbuild
Fetched https://github.com/swiftlang/swift-llbuild.git from cache (1.79s)
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/7449] Fetching swift-tools-support-core
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.60s)
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/405] Fetching swift-toolchain-sqlite
[10/19857] Fetching swift-toolchain-sqlite, swift-argument-parser
[1169/24972] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-subprocess
[4537/32573] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-subprocess, swift-system
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.74s)
[27446/27458] Fetching swift-toolchain-sqlite, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.18s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.18s)
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 1.0.2 (1.35s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.14s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.13 (0.17s)
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 main (1583cff)
Creating working copy for https://github.com/swiftlang/swift-llbuild.git
Working copy of https://github.com/swiftlang/swift-llbuild.git resolved at main (73e0fac)
Creating working copy for https://github.com/swiftlang/swift-driver.git
Working copy of https://github.com/swiftlang/swift-driver.git resolved at main (053868d)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.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.8.2
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 (7b9e1df)
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.13
warning: 'swift-llbuild': The target named 'llbuild' was identified as an executable target but a non-executable product with this name already exists.
[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/357] Write sources
[7/357] Compiling SWBCSupport CLibRemarksHelper.c
[8/357] Compiling llvmSupport Valgrind.cpp
[9/357] Compiling llvmSupport UnicodeCaseFold.cpp
[10/357] Compiling llvmSupport circular_raw_ostream.cpp
[11/357] Compiling llvmSupport Unicode.cpp
[12/357] Compiling llvmSupport Twine.cpp
[13/357] Compiling llvmSupport Triple.cpp
[14/357] Compiling llvmSupport raw_ostream.cpp
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1351:13: error: no type named 'mutex' in namespace 'std'
 1351 | static std::mutex ErrorHandlerMutex;
      |        ~~~~~^
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1539:32: error: no member named 'mutex' in namespace 'std'
 1539 |           std::lock_guard<std::mutex> Lock(ErrorHandlerMutex);
      |                           ~~~~~^
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1644:10: error: no type named 'mutex' in namespace 'std'
 1644 |     std::mutex workersLock;
      |     ~~~~~^
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1675:30: error: no member named 'mutex' in namespace 'std'
 1675 |         std::lock_guard<std::mutex> guard(workersLock);
      |                         ~~~~~^
/host/spi-builder-workspace/Sources/SWBCSupport/CLibclang.cpp:1691:30: error: no member named 'mutex' in namespace 'std'
 1691 |         std::lock_guard<std::mutex> guard(workersLock);
      |                         ~~~~~^
5 errors generated.
[15/357] Compiling SWBCSupport CLibclang.cpp
[15/357] Write swift-version-24593BA9C3E375BF.txt
[15/357] Compiling llvmSupport StringMap.cpp
[15/357] Compiling llvmSupport Threading.cpp
[15/357] Compiling llvmSupport StringRef.cpp
[15/357] Compiling llvmSupport StringSaver.cpp
[15/357] Compiling llvmSupport TargetParser.cpp
[15/357] Compiling llvmSupport YAMLParser.cpp
BUILD FAILURE 6.2 wasm