Build Information
Failed to build swift-package-api-diff, reference main (d9947b
), with Swift 6.1 for Wasm on 28 May 2025 06:16:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eugenebokhan/swift-package-api-diff.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/eugenebokhan/swift-package-api-diff
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d9947b5 update tests
Cloned https://github.com/eugenebokhan/swift-package-api-diff.git
Revision (git rev-parse @):
d9947b59c1e736c2f0e32cd4a6cca3ffc5f70eb9
SUCCESS checkout https://github.com/eugenebokhan/swift-package-api-diff.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/eugenebokhan/swift-package-api-diff.git
https://github.com/eugenebokhan/swift-package-api-diff.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"exact" : [
"0.3.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-package-manager",
"requirement" : {
"revision" : [
"swift-5.4.2-RELEASE"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-package-manager.git"
},
{
"identity" : "files",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.2",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/Files"
}
],
"manifest_display_name" : "swift-package-api-diff",
"name" : "swift-package-api-diff",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "swift-package-api-diff",
"targets" : [
"swift-package-api-diff"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_package_api_diff_tests",
"module_type" : "SwiftTarget",
"name" : "swift-package-api-diff-tests",
"path" : "Tests/swift-package-api-diff-tests",
"product_dependencies" : [
"Files",
"SwiftPM-auto"
],
"sources" : [
"Tests.swift"
],
"target_dependencies" : [
"swift-package-api-diff"
],
"type" : "test"
},
{
"c99name" : "swift_package_api_diff",
"module_type" : "SwiftTarget",
"name" : "swift-package-api-diff",
"path" : "Sources/swift-package-api-diff",
"product_dependencies" : [
"ArgumentParser",
"Files",
"SwiftPM-auto"
],
"product_memberships" : [
"swift-package-api-diff"
],
"sources" : [
"CLI Commands/APIChangesDescription.swift",
"CLI Commands/APIChangesType.swift",
"CLI Commands/SwiftPackageAPIDiff.swift",
"Extensions/String+Extensions.swift",
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-package-manager.git
[1/154430] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (19.35s)
Fetching https://github.com/apple/swift-llbuild.git
[1/28989] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (3.57s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/6763] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.84s)
Fetching https://github.com/apple/swift-driver.git
[1/34582] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (3.74s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15351] Fetching swift-argument-parser
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.51s)
[1/1236] Fetching files
[1237/11893] Fetching files, yams
Fetched https://github.com/JohnSundell/Files from cache (0.58s)
[640/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.44s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (4.99s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.2.0 (1.03s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (1.12s)
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at swift-5.4.2-RELEASE (374cdb4)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.4 (eb56a00)
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 0.3.2
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.2.0
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 release/5.4 (d7bd437)
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.4 (93e8b92)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Building for debugging...
[0/140] Compiling writer.c
[1/140] Write sources
[2/140] Write swift-version-24593BA9C3E375BF.txt
[3/140] Compiling scanner.c
[4/140] Compiling libllbuild C-API.cpp
[5/140] Compiling llbuildBasic FileInfo.cpp
[6/140] Compiling llvmSupport circular_raw_ostream.cpp
[7/140] Compiling llvmSupport Valgrind.cpp
[8/140] Compiling llvmSupport UnicodeCaseFold.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:25:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:42:9: error: unknown type name 'rlim_t'
42 | typedef rlim_t llbuild_rlim_t;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:78:12: error: no type named 'condition_variable' in namespace 'std'
78 | std::condition_variable processesCondition;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:12: error: no type named 'mutex' in namespace 'std'
85 | std::mutex mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: no member named 'mutex' in namespace 'std'
90 | void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:97:32: error: no member named 'mutex' in namespace 'std'
97 | std::lock_guard<std::mutex> lock(mutex);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:42:8: error: no member named 'promise' in namespace 'std'
42 | std::promise<ProcessStatus> p;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:42:16: error: 'ProcessStatus' does not refer to a value
42 | std::promise<ProcessStatus> p;
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:110:16: note: declared here
110 | enum class ProcessStatus {
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:42:31: error: use of undeclared identifier 'p'
42 | std::promise<ProcessStatus> p;
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:43:17: error: use of undeclared identifier 'p'
43 | auto result = p.get_future();
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:45:21: error: use of undeclared identifier 'p'
45 | {[&p](ProcessResult result) mutable {
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/ExecutionQueue.cpp:46:5: error: use of undeclared identifier 'p'
46 | p.set_value(result.status);
| ^
12 errors generated.
[9/140] Compiling llbuildBasic ExecutionQueue.cpp
[9/140] Compiling llvmSupport Twine.cpp
[9/140] Compiling llvmSupport YAMLParser.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildSystem-C-API.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:25:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildSystem-C-API.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:42:9: error: unknown type name 'rlim_t'
42 | typedef rlim_t llbuild_rlim_t;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildSystem-C-API.cpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:78:12: error: no type named 'condition_variable' in namespace 'std'
78 | std::condition_variable processesCondition;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:12: error: no type named 'mutex' in namespace 'std'
85 | std::mutex mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: no member named 'mutex' in namespace 'std'
90 | void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:97:32: error: no member named 'mutex' in namespace 'std'
97 | std::lock_guard<std::mutex> lock(mutex);
| ~~~~~^
[9/140] Compiling libllbuild BuildSystem-C-API.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/Core-C-API.cpp:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:25:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/Core-C-API.cpp:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:42:9: error: unknown type name 'rlim_t'
42 | typedef rlim_t llbuild_rlim_t;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/Core-C-API.cpp:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:78:12: error: no type named 'condition_variable' in namespace 'std'
78 | std::condition_variable processesCondition;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:12: error: no type named 'mutex' in namespace 'std'
85 | std::mutex mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: no member named 'mutex' in namespace 'std'
90 | void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:97:32: error: no member named 'mutex' in namespace 'std'
97 | std::lock_guard<std::mutex> lock(mutex);
| ~~~~~^
[9/140] Compiling libllbuild Core-C-API.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildValue-C-API.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildValue.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:25:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildValue-C-API.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildValue.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:42:9: error: unknown type name 'rlim_t'
42 | typedef rlim_t llbuild_rlim_t;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildValue-C-API.cpp:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildValue.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:78:12: error: no type named 'condition_variable' in namespace 'std'
78 | std::condition_variable processesCondition;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:12: error: no type named 'mutex' in namespace 'std'
85 | std::mutex mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: no member named 'mutex' in namespace 'std'
90 | void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:97:32: error: no member named 'mutex' in namespace 'std'
97 | std::lock_guard<std::mutex> lock(mutex);
| ~~~~~^
[9/140] Compiling libllbuild BuildValue-C-API.cpp
[9/140] Compiling llvmSupport Unicode.cpp
[9/140] Compiling llvmSupport raw_ostream.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/131] Write sources
/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())
| ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Threading.cpp:90:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Support/Unix/Threading.inc:22:10: fatal error: 'pthread.h' file not found
22 | #include <pthread.h>
| ^~~~~~~~~~~
3 errors generated.
[8/132] Compiling llvmSupport Threading.cpp
[8/132] Compiling llvmSupport Unicode.cpp
[8/132] Compiling llvmSupport TargetParser.cpp
[8/132] Compiling llvmSupport YAMLParser.cpp
[8/132] Compiling llvmSupport Triple.cpp
[8/132] Compiling llvmSupport raw_ostream.cpp
[8/132] Compiling llvmSupport StringSaver.cpp
[8/132] Compiling llvmSupport Twine.cpp
BUILD FAILURE 6.1 wasm