Build Information
Failed to build swift-subprocess, reference main (dbe21b), with Swift 6.3 for Wasm on 17 Oct 2026 19:19:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-subprocess.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-subprocess
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dbe21bd Build for armv7 Android in CI and fix the resulting build errors (#387)
Cloned https://github.com/swiftlang/swift-subprocess.git
Revision (git rev-parse @):
dbe21bd7dfd4ffef8c32588918542a8abfa1b54c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-subprocess.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/swiftlang/swift-subprocess.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-system
[1/7310] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.65s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.84s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Building for debugging...
[0/7] Copying Resources
[1/7] Write sources
[4/7] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/Sources/_SubprocessCShims/process_shims.c:23:
In file included from /host/spi-builder-workspace/Sources/_SubprocessCShims/include/process_shims.h:20:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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/Sources/_SubprocessCShims/process_shims.c:23:
/host/spi-builder-workspace/Sources/_SubprocessCShims/include/process_shims.h:58:5: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
58 | pthread_t * _Nonnull ptr,
| ^
/host/spi-builder-workspace/Sources/_SubprocessCShims/include/process_shims.h:58:5: note: insert '_Nullable' if the pointer may be null
58 | pthread_t * _Nonnull ptr,
| ^
| _Nullable
/host/spi-builder-workspace/Sources/_SubprocessCShims/include/process_shims.h:58:5: note: insert '_Nonnull' if the pointer should never be null
58 | pthread_t * _Nonnull ptr,
| ^
| _Nonnull
/host/spi-builder-workspace/Sources/_SubprocessCShims/process_shims.c:31:10: fatal error: 'grp.h' file not found
31 | #include <grp.h>
| ^~~~~~~
1 warning and 2 errors generated.
[5/7] Compiling _SubprocessCShims process_shims.c
[5/7] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm