The Swift Package Index logo.Swift Package Index

Build Information

Failed to build llbuild, reference 1.0.0 (783aec), with Swift 6.3 for Wasm on 14 Apr 2026 07:59:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/144] Compiling llvmSupport Valgrind.cpp
[1/144] Compiling llvmSupport UnicodeCaseFold.cpp
[2/144] Compiling llvmSupport circular_raw_ostream.cpp
[3/144] Compiling llvmSupport Unicode.cpp
[4/144] Compiling llvmSupport raw_ostream.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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:32: error: no member named 'mutex' in namespace 'std'; did you mean simply 'mutex'?
   90 |       void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
      |                                ^~~~~~~~~~
      |                                mutex
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
   85 |       std::mutex mutex;
      |                  ^
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: invalid use of non-static data member 'mutex'
   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:27: error: no member named 'mutex' in namespace 'std'; did you mean simply 'mutex'?
   97 |           std::lock_guard<std::mutex> lock(mutex);
      |                           ^~~~~~~~~~
      |                           mutex
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
   85 |       std::mutex mutex;
      |                  ^
7 errors generated.
[5/144] Compiling libllbuild BuildValue-C-API.cpp
[5/144] Compiling llvmSupport Threading.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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;
      |         ^
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:
/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:32: error: no member named 'mutex' in namespace 'std'; did you mean simply 'mutex'?
   90 |       void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
      |                                ^~~~~~~~~~
      |                                mutex
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
   85 |       std::mutex mutex;
      |                  ^
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: invalid use of non-static data member 'mutex'
   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:27: error: no member named 'mutex' in namespace 'std'; did you mean simply 'mutex'?
   97 |           std::lock_guard<std::mutex> lock(mutex);
      |                           ^~~~~~~~~~
      |                           mutex
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
   85 |       std::mutex mutex;
      |                  ^
[5/144] Compiling swift-build-tool main.cpp
[5/144] Compiling llvmSupport Twine.cpp
[5/144] Compiling llvmSupport Triple.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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:32: error: no member named 'mutex' in namespace 'std'; did you mean simply 'mutex'?
   90 |       void add(std::lock_guard<std::mutex>&& lock, llbuild_pid_t pid,
      |                                ^~~~~~~~~~
      |                                mutex
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
   85 |       std::mutex mutex;
      |                  ^
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:90:37: error: invalid use of non-static data member 'mutex'
   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:27: error: no member named 'mutex' in namespace 'std'; did you mean simply 'mutex'?
   97 |           std::lock_guard<std::mutex> lock(mutex);
      |                           ^~~~~~~~~~
      |                           mutex
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
   85 |       std::mutex mutex;
      |                  ^
/host/spi-builder-workspace/products/libllbuild/BuildSystem-C-API.cpp:1345:8: error: no member named 'promise' in namespace 'std'
 1345 |   std::promise<ProcessResult> p;
      |        ^~~~~~~
/host/spi-builder-workspace/products/libllbuild/BuildSystem-C-API.cpp:1345:16: error: 'ProcessResult' does not refer to a value
 1345 |   std::promise<ProcessResult> p;
      |                ^
/host/spi-builder-workspace/lib/Basic/include/llbuild/Basic/Subprocess.h:119:12: note: declared here
  119 |     struct ProcessResult {
      |            ^
/host/spi-builder-workspace/products/libllbuild/BuildSystem-C-API.cpp:1345:31: error: use of undeclared identifier 'p'
 1345 |   std::promise<ProcessResult> p;
      |                               ^
/host/spi-builder-workspace/products/libllbuild/BuildSystem-C-API.cpp:1346:17: error: use of undeclared identifier 'p'
 1346 |   auto result = p.get_future();
      |                 ^
/host/spi-builder-workspace/products/libllbuild/BuildSystem-C-API.cpp:1347:32: error: use of undeclared identifier 'p'
 1347 |   auto commandCompletionFn = [&p](ProcessResult processResult) mutable {
      |                                ^
/host/spi-builder-workspace/products/libllbuild/BuildSystem-C-API.cpp:1348:5: error: use of undeclared identifier 'p'
 1348 |     p.set_value(processResult);
      |     ^
[5/144] Compiling libllbuild BuildSystem-C-API.cpp
In file included from /host/spi-builder-workspace/lib/llvm/Support/YAMLParser.cpp:14:
In file included from /host/spi-builder-workspace/lib/llvm/Support/include/llvm/Support/YAMLParser.h:41:
In file included from /host/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/StringRef.h:13:
In file included from /host/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/STLExtras.h:21:
/host/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/SmallVector.h:313:18: warning: first argument in call to 'memcpy' is a pointer to non-trivially copyable type 'std::pair<void *, unsigned long>' [-Wnontrivial-memcall]
  313 |     memcpy(this->end(), &Elt, sizeof(T));
      |                  ^
/host/spi-builder-workspace/lib/llvm/Support/include/llvm/Support/Allocator.h:250:24: note: in instantiation of member function 'llvm::SmallVectorTemplateBase<std::pair<void *, unsigned long>, true>::push_back' requested here
  250 |       CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize));
      |                        ^
/host/spi-builder-workspace/lib/llvm/Support/include/llvm/Support/YAMLParser.h:138:18: note: in instantiation of member function 'llvm::BumpPtrAllocatorImpl<>::Allocate' requested here
  138 |     return Alloc.Allocate(Size, Alignment);
      |                  ^
/host/spi-builder-workspace/lib/llvm/Support/include/llvm/ADT/SmallVector.h:313:18: note: explicitly cast the pointer to silence this warning
  313 |     memcpy(this->end(), &Elt, sizeof(T));
      |                  ^
      |            (void*)
[5/144] Compiling llvmSupport YAMLParser.cpp
[5/144] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm