Build Information
Failed to build swift-package-api-diff, reference main (d9947b), with Swift 6.3 for Wasm on 13 Apr 2026 00:24:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eugenebokhan/swift-package-api-diff.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/eugenebokhan/swift-package-api-diff
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d9947b5 update tests
Cloned https://github.com/eugenebokhan/swift-package-api-diff.git
Revision (git rev-parse @):
d9947b59c1e736c2f0e32cd4a6cca3ffc5f70eb9
SUCCESS checkout https://github.com/eugenebokhan/swift-package-api-diff.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/eugenebokhan/swift-package-api-diff.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
Fetching https://github.com/apple/swift-package-manager.git
[1/177195] Fetching swift-package-manager
Fetched https://github.com/apple/swift-package-manager.git from cache (14.37s)
Fetching https://github.com/apple/swift-llbuild.git
[1/29496] Fetching swift-llbuild
Fetched https://github.com/apple/swift-llbuild.git from cache (3.83s)
Fetching https://github.com/apple/swift-tools-support-core.git
[1/7187] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.53s)
Fetching https://github.com/apple/swift-driver.git
[1/37628] Fetching swift-driver
Fetched https://github.com/apple/swift-driver.git from cache (3.06s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/JohnSundell/Files
[1/1273] Fetching files
[1274/18796] Fetching files, swift-argument-parser
[18797/30347] Fetching files, swift-argument-parser, yams
Fetched https://github.com/JohnSundell/Files from cache (2.32s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.34s)
Fetched https://github.com/jpsim/Yams.git from cache (2.37s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (2.98s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.3.0 (1.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.56s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.3.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at release/5.4 (d7bd437)
Creating working copy for https://github.com/apple/swift-driver.git
Working copy of https://github.com/apple/swift-driver.git resolved at release/5.4 (93e8b92)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.2
Creating working copy for https://github.com/apple/swift-package-manager.git
Working copy of https://github.com/apple/swift-package-manager.git resolved at swift-5.4.2-RELEASE (374cdb4)
Creating working copy for https://github.com/apple/swift-llbuild.git
Working copy of https://github.com/apple/swift-llbuild.git resolved at release/5.4 (eb56a00)
Building for debugging...
[0/140] Write sources
[1/140] Compiling reader.c
[2/140] Compiling parser.c
[3/140] Compiling api.c
[4/140] Write swift-version-24593BA9C3E375BF.txt
[5/140] Compiling llvmSupport Valgrind.cpp
[6/140] Compiling emitter.c
[7/140] Compiling llvmSupport UnicodeCaseFold.cpp
[8/140] Compiling llvmSupport Unicode.cpp
[9/140] Compiling llvmSupport Twine.cpp
[10/140] Compiling llvmSupport circular_raw_ostream.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildDB.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildDB.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:25:
/root/.swiftpm/swift-sdks/swift-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/.build/checkouts/swift-llbuild/lib/Core/BuildDB.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildDB.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:17:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/CrossPlatformCompatibility.h:42:9: error: unknown type name 'rlim_t'
42 | typedef rlim_t llbuild_rlim_t;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/BuildDB.cpp:13:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildDB.h:19:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Core/include/llbuild/Core/BuildEngine.h:18:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/ExecutionQueue.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:78:12: error: no type named 'condition_variable' in namespace 'std'
78 | std::condition_variable processesCondition;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:12: error: no type named 'mutex' in namespace 'std'
85 | std::mutex mutex;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:90: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/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
85 | std::mutex mutex;
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/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/.build/checkouts/swift-llbuild/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/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
85 | std::mutex mutex;
| ^
7 errors generated.
[11/140] Compiling llbuildCore BuildDB.cpp
[11/140] Compiling llvmSupport TargetParser.cpp
[11/140] Compiling llvmSupport raw_ostream.cpp
[11/140] Compiling llvmSupport Triple.cpp
[11/140] Compiling llvmSupport Threading.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.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/.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: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/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
85 | std::mutex mutex;
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/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/.build/checkouts/swift-llbuild/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/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
85 | std::mutex mutex;
| ^
[11/140] Compiling llbuildBuildSystem ExternalCommand.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.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/.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: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/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
85 | std::mutex mutex;
| ^
/host/spi-builder-workspace/.build/checkouts/swift-llbuild/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/.build/checkouts/swift-llbuild/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/.build/checkouts/swift-llbuild/lib/Basic/include/llbuild/Basic/Subprocess.h:85:18: note: 'mutex' declared here
85 | std::mutex mutex;
| ^
[11/140] Compiling llbuildBuildSystem ShellCommand.cpp
[11/140] Compiling llvmSupport YAMLParser.cpp
BUILD FAILURE 6.3 wasm