The Swift Package Index logo.Swift Package Index

Build Information

Failed to build llbuild, reference 1.0.0 (783aec), with Swift 6.2 for Wasm on 21 Jun 2025 05:23:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/art-divin/swift-llbuild.git
Reference: 1.0.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/art-divin/swift-llbuild
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 783aec2 Fix a few comment typos in the codebase (#906)
Cloned https://github.com/art-divin/swift-llbuild.git
Revision (git rev-parse @):
783aec21649a6c47d1a8314db4144bdceb11df30
SUCCESS checkout https://github.com/art-divin/swift-llbuild.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/art-divin/swift-llbuild.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Building for debugging...
In file included from /host/spi-builder-workspace/lib/BuildSystem/BuildValue.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildValue.h:16:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/lib/BuildSystem/BuildValue.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildValue.h:16:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/lib/BuildSystem/BuildValue.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildValue.h:16:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/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/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/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/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);
      |                           ~~~~~^
6 errors generated.
[0/144] Compiling llbuildBuildSystem BuildValue.cpp
In file included from /host/spi-builder-workspace/lib/BuildSystem/ExternalCommand.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/ExternalCommand.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/lib/BuildSystem/ExternalCommand.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/ExternalCommand.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/lib/BuildSystem/ExternalCommand.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/ExternalCommand.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/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/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/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/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);
      |                           ~~~~~^
6 errors generated.
[0/144] Compiling llbuildBuildSystem ExternalCommand.cpp
In file included from /host/spi-builder-workspace/products/libllbuild/BuildDB-C-API.cpp:15:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/products/libllbuild/BuildDB-C-API.cpp:15:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/products/libllbuild/BuildDB-C-API.cpp:15:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/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/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/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/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);
      |                           ~~~~~^
[0/144] Compiling libllbuild BuildDB-C-API.cpp
In file included from /host/spi-builder-workspace/unittests/BuildSystem/BuildSystemTaskTests.cpp:13:
In file included from /host/spi-builder-workspace/unittests/BuildSystem/MockBuildSystemDelegate.h:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/unittests/BuildSystem/BuildSystemTaskTests.cpp:13:
In file included from /host/spi-builder-workspace/unittests/BuildSystem/MockBuildSystemDelegate.h:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/unittests/BuildSystem/BuildSystemTaskTests.cpp:13:
In file included from /host/spi-builder-workspace/unittests/BuildSystem/MockBuildSystemDelegate.h:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/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/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/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/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);
      |                           ~~~~~^
[0/144] Compiling llbuildBuildSystemTests BuildSystemTaskTests.cpp
In file included from /host/spi-builder-workspace/products/libllbuild/BuildKey-C-API.cpp:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/products/libllbuild/BuildKey-C-API.cpp:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/products/libllbuild/BuildKey-C-API.cpp:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildKey.h:20:
In file included from /host/spi-builder-workspace/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/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/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/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/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);
      |                           ~~~~~^
[0/144] Compiling libllbuild BuildKey-C-API.cpp
In file included from /host/spi-builder-workspace/lib/BuildSystem/ShellCommand.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/ShellCommand.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/lib/BuildSystem/ShellCommand.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/ShellCommand.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/lib/BuildSystem/ShellCommand.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/ShellCommand.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemHandlers.h:16:
/host/spi-builder-workspace/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/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/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/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);
      |                           ~~~~~^
[0/144] Compiling llbuildBuildSystem ShellCommand.cpp
In file included from /host/spi-builder-workspace/unittests/BuildSystem/BuildSystemFrontendTest.cpp:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:29:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/unittests/BuildSystem/BuildSystemFrontendTest.cpp:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:46:9: error: unknown type name 'rlim_t'
   46 | typedef rlim_t llbuild_rlim_t;
      |         ^
In file included from /host/spi-builder-workspace/unittests/BuildSystem/BuildSystemFrontendTest.cpp:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildDescription.h:17:
In file included from /host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/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/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/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/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);
      |                           ~~~~~^
[0/144] Compiling llbuildBuildSystemTests BuildSystemFrontendTest.cpp
[0/144] Compiling gtestlib gtest-all.cc
BUILD FAILURE 6.2 wasm