The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPM, reference 0.6.0 (f5ea39), with Swift 6.2 for Wasm on 31 Dec 2025 07:36:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageIndex/swift-package-manager.git
Reference: 0.6.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/SwiftPackageIndex/swift-package-manager
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at f5ea397 [Package.swift] Require swift-llbuild and swift-tools-support-core using semver dependencies
Cloned https://github.com/SwiftPackageIndex/swift-package-manager.git
Revision (git rev-parse @):
f5ea3972d7d6c574e8bb16a19b2a7bca98ea131b
SUCCESS checkout https://github.com/SwiftPackageIndex/swift-package-manager.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftPackageIndex/swift-package-manager.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-llbuild.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/7148] Fetching swift-tools-support-core
[7149/36560] Fetching swift-tools-support-core, swift-llbuild
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.54s)
[5883/29412] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (2.85s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.1.0 (3.47s)
Computing version for https://github.com/apple/swift-llbuild.git
Computed https://github.com/apple/swift-llbuild.git at 0.3.0 (1.00s)
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.1.0
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at 0.3.0
warning: 'swift-llbuild': ignoring broken symlink /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm/Demangle/include/llvm
Building for debugging...
[0/142] Write sources
[10/142] Compiling llbuildBuildSystem BuildValue.cpp
[11/142] Compiling llbuildCore BuildDB.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemExtensionManager.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemExtensions.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/BuildSystem/BuildSystemExtensionManager.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemExtensions.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
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/BuildSystem/BuildSystemExtensionManager.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemExtensions.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
/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);
      |                           ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemExtensionManager.cpp:13:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemExtensions.h:35:8: error: no type named 'mutex' in namespace 'std'
   35 |   std::mutex extensionsLock;
      |   ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemExtensionManager.cpp:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/PlatformUtility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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 \
      |  ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemExtensionManager.cpp:33:24: error: no member named 'mutex' in namespace 'std'
   33 |   std::lock_guard<std::mutex> guard(extensionsLock);
      |                   ~~~~~^
9 errors generated.
[12/142] Compiling llbuildBuildSystem BuildSystemExtensionManager.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/ShellCommand.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/ShellCommand.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/BuildSystem/ShellCommand.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/ShellCommand.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
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/BuildSystem/ShellCommand.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/ShellCommand.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
/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);
      |                           ~~~~~^
[12/142] Compiling llbuildBuildSystem ShellCommand.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemFrontend.h: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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/BuildSystem/BuildSystemFrontend.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemFrontend.h: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/lib/BuildSystem/BuildSystemFrontend.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemFrontend.h: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);
      |                           ~~~~~^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/PlatformUtility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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 \
      |  ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:313:8: error: no type named 'mutex' in namespace 'std'
  313 |   std::mutex processOutputBuffersMutex;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:458:29: error: no member named 'thread' in namespace 'std'
  458 |     unsigned numCPUs = std::thread::hardware_concurrency();
      |                        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:639:8: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  639 |   std::unique_lock<std::mutex> lock(impl->processOutputBuffersMutex);
      |   ~~~~~^~~~~~~~~~~
      |        unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:639:25: error: no member named 'mutex' in namespace 'std'
  639 |   std::unique_lock<std::mutex> lock(impl->processOutputBuffersMutex);
      |                    ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:650:8: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  650 |   std::unique_lock<std::mutex> lock(impl->processOutputBuffersMutex);
      |   ~~~~~^~~~~~~~~~~
      |        unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
  102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
      | ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/BuildSystemFrontend.cpp:650:25: error: no member named 'mutex' in namespace 'std'
  650 |   std::unique_lock<std::mutex> lock(impl->processOutputBuffersMutex);
      |                    ~~~~~^
[12/142] Compiling llbuildBuildSystem BuildSystemFrontend.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:15:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/BuildDB-C-API.cpp:15:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
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/BuildDB-C-API.cpp:15:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:21:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
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/products/libllbuild/BuildDB-C-API.cpp:34:8: error: no type named 'mutex' in namespace 'std'
   34 |   std::mutex keyTableMutex;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:39:8: error: no type named 'mutex' in namespace 'std'
   39 |   std::mutex keyCacheMutex;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:100:47: error: cannot initialize a parameter of type 'BuildDBDelegate *' with an lvalue of type 'CAPIBuildDB *'
  100 |     databaseObject->_db.get()->attachDelegate(databaseObject);
      |                                               ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildDB.h:61:48: note: passing argument to parameter 'delegate' here
   61 |   virtual void attachDelegate(BuildDBDelegate* delegate) = 0;
      |                                                ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:106:26: error: no member named 'mutex' in namespace 'std'
  106 |     std::lock_guard<std::mutex> guard(keyCacheMutex);
      |                     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:115:26: error: no member named 'mutex' in namespace 'std'
  115 |     std::lock_guard<std::mutex> guard(keyCacheMutex);
      |                     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:124:26: error: no member named 'mutex' in namespace 'std'
  124 |     std::lock_guard<std::mutex> guard(keyTableMutex);
      |                     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:154:26: error: no member named 'mutex' in namespace 'std'
  154 |     std::lock_guard<std::mutex> guard(keyCacheMutex);
      |                     ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/products/libllbuild/BuildDB-C-API.cpp:161:26: error: no member named 'mutex' in namespace 'std'
  161 |     std::lock_guard<std::mutex> guard(keyCacheMutex);
      |                     ~~~~~^
[12/142] Compiling libllbuild BuildDB-C-API.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/ExternalCommand.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/ExternalCommand.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/BuildSystem/ExternalCommand.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/ExternalCommand.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
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/BuildSystem/ExternalCommand.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/ExternalCommand.h:16:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
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);
      |                           ~~~~~^
[12/142] Compiling llbuildBuildSystem ExternalCommand.cpp
[12/142] Write swift-version-24593BA9C3E375BF.txt
[12/142] Compiling llvmSupport raw_ostream.cpp
[12/142] Compiling llvmSupport circular_raw_ostream.cpp
BUILD FAILURE 6.2 wasm