Build Information
Failed to build SwiftPM, reference 0.50800.0 (558eda), with Swift 6.2 for Wasm on 20 Jun 2025 22:05:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/SDGGiesbrecht/swift-package-manager.git
Reference: 0.50800.0
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/SDGGiesbrecht/swift-package-manager
* tag 0.50800.0 -> FETCH_HEAD
HEAD is now at 558eda6 Exported ObservabilitySystem.
Cloned https://github.com/SDGGiesbrecht/swift-package-manager.git
Revision (git rev-parse @):
558eda62ff7d3e12b319cadf9f3b529e2de63c68
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-package-manager.git at 0.50800.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SDGGiesbrecht/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/SDGGiesbrecht/swift-driver
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/SDGGiesbrecht/swift-crypto
[1/4436] Fetching swift-system
[1022/26758] Fetching swift-system, swift-driver
[7563/43398] Fetching swift-system, swift-driver, swift-collections
[8675/58778] Fetching swift-system, swift-driver, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
[6842/54342] Fetching swift-driver, swift-collections, swift-argument-parser
[7399/58875] Fetching swift-driver, swift-collections, swift-argument-parser, swift-crypto
Fetching https://github.com/SDGGiesbrecht/swift-llbuild
[42732/77252] Fetching swift-driver, swift-collections, swift-argument-parser, swift-crypto, swift-llbuild
Fetched https://github.com/SDGGiesbrecht/swift-driver from cache (2.43s)
[43271/54930] Fetching swift-collections, swift-argument-parser, swift-crypto, swift-llbuild
Fetched https://github.com/SDGGiesbrecht/swift-crypto from cache (2.83s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.83s)
Fetching https://github.com/apple/swift-tools-support-core.git
Fetched https://github.com/apple/swift-collections.git from cache (3.38s)
Fetched https://github.com/SDGGiesbrecht/swift-llbuild from cache (2.96s)
[1/6855] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.91s)
Computing version for https://github.com/SDGGiesbrecht/swift-crypto
Computed https://github.com/SDGGiesbrecht/swift-crypto at 0.20400.0 (6.03s)
Computing version for https://github.com/SDGGiesbrecht/swift-driver
Computed https://github.com/SDGGiesbrecht/swift-driver at 0.50800.0 (0.85s)
Fetching https://github.com/jpsim/Yams.git
[1/10874] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.36s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.5.2 (1.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.47s)
Computing version for https://github.com/SDGGiesbrecht/swift-llbuild
Computed https://github.com/SDGGiesbrecht/swift-llbuild at 0.50800.0 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.51s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.55s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.5.2
Creating working copy for https://github.com/SDGGiesbrecht/swift-llbuild
Working copy of https://github.com/SDGGiesbrecht/swift-llbuild resolved at 0.50800.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/SDGGiesbrecht/swift-driver
Working copy of https://github.com/SDGGiesbrecht/swift-driver resolved at 0.50800.0
Creating working copy for https://github.com/SDGGiesbrecht/swift-crypto
Working copy of https://github.com/SDGGiesbrecht/swift-crypto resolved at 0.20400.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/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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.1.1
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/PackageCollections/CMakeLists.txt
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/PackageCollectionsModel/CMakeLists.txt
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/PackageMetadata/CMakeLists.txt
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/PackageCollectionsSigning/CMakeLists.txt
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/swift-package-registry/CMakeLists.txt
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/swift-package-manager/CMakeLists.txt
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/swift-package-collection/CMakeLists.txt
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/swift-experimental-destination/CMakeLists.txt
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/PackageRegistryTool/CMakeLists.txt
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/PackageCollectionsTool/CMakeLists.txt
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/CrossCompilationDestinationsTool/CMakeLists.txt
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/651] Write sources
[44/651] Compiling sha256-x86_64.mac.x86_64.S
[45/651] Compiling sha256-x86_64.linux.x86_64.S
[46/651] Compiling poly1305_arm_asm.S
[47/651] Compiling llvmSupport Valgrind.cpp
[48/651] Compiling tsan_utils tsan_utils.c
[49/651] Write swift-version-24593BA9C3E375BF.txt
[50/651] Compiling llvmSupport UnicodeCaseFold.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.
[51/653] Compiling llvmSupport Threading.cpp
[51/653] Compiling llvmSupport Twine.cpp
[51/653] Compiling llvmSupport YAMLParser.cpp
[51/653] Compiling llvmSupport circular_raw_ostream.cpp
[51/653] Compiling llvmSupport Unicode.cpp
[51/653] Compiling llvmSupport raw_ostream.cpp
[51/653] Compiling llvmSupport Triple.cpp
BUILD FAILURE 6.2 wasm