The Swift Package Index logo.Swift Package Index

Build Information

Failed to build llbuild, reference main (fd2284), with Swift 6.2 for Wasm on 30 Apr 2026 20:55:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-llbuild.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-llbuild
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fd2284d Merge pull request #1029 from rjmansfield/fix-dynamic-task-isresultvalid
Cloned https://github.com/swiftlang/swift-llbuild.git
Revision (git rev-parse @):
fd2284d2affcb33ed0ac88c1db861f73bc56a031
SUCCESS checkout https://github.com/swiftlang/swift-llbuild.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-llbuild.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-toolchain-sqlite
[1/285] Fetching swift-toolchain-sqlite
Fetched https://github.com/swiftlang/swift-toolchain-sqlite from cache (0.94s)
Computing version for https://github.com/swiftlang/swift-toolchain-sqlite
Computed https://github.com/swiftlang/swift-toolchain-sqlite at 1.0.9 (1.55s)
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.9
Building for debugging...
[0/143] Compiling libllbuild C-API.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-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/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);
      |                           ~~~~~^
6 errors generated.
[1/143] Compiling libllbuild BuildKey-C-API.cpp
In file included from /host/spi-builder-workspace/products/libllbuild/Core-C-API.cpp:16:
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-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/products/libllbuild/Core-C-API.cpp:16:
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/Core-C-API.cpp:16:
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.
[1/143] Compiling libllbuild Core-C-API.cpp
In file included from /host/spi-builder-workspace/products/swift-build-tool/main.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemFrontend.h:16:
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-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/products/swift-build-tool/main.cpp:13:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystemFrontend.h:16:
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;
      |         ^
[1/143] Compiling swift-build-tool main.cpp
In file included from /host/spi-builder-workspace/products/libllbuild/BuildValue-C-API.cpp:17:
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-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/products/libllbuild/BuildValue-C-API.cpp:17:
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/products/libllbuild/BuildValue-C-API.cpp:17:
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);
      |                           ~~~~~^
[1/143] Compiling libllbuild BuildValue-C-API.cpp
[1/143] Compiling gtestlib gtest-all.cc
[1/143] Compiling gmocklib gmock-all.cc
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-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/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);
      |                           ~~~~~^
/host/spi-builder-workspace/products/libllbuild/BuildDB-C-API.cpp:34:8: error: no type named 'mutex' in namespace 'std'
   34 |   std::mutex keyTableMutex;
      |   ~~~~~^
/host/spi-builder-workspace/products/libllbuild/BuildDB-C-API.cpp:39:8: error: no type named 'mutex' in namespace 'std'
   39 |   std::mutex keyCacheMutex;
      |   ~~~~~^
/host/spi-builder-workspace/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/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/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/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/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/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/products/libllbuild/BuildDB-C-API.cpp:161:26: error: no member named 'mutex' in namespace 'std'
  161 |     std::lock_guard<std::mutex> guard(keyCacheMutex);
      |                     ~~~~~^
[1/143] Compiling libllbuild BuildDB-C-API.cpp
In file included from /host/spi-builder-workspace/products/libllbuild/BuildSystem-C-API.cpp:18:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildFile.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystem.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-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/products/libllbuild/BuildSystem-C-API.cpp:18:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildFile.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystem.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/BuildSystem-C-API.cpp:18:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildFile.h:16:
In file included from /host/spi-builder-workspace/lib/BuildSystem/include/llbuild/BuildSystem/BuildSystem.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);
      |                           ~~~~~^
[1/143] Compiling libllbuild BuildSystem-C-API.cpp
BUILD FAILURE 6.2 wasm