The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyShell, reference main (9a82f6), with Swift 6.2 for Wasm on 20 Nov 2026 13:26:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maniramezan/SwiftyShell.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/maniramezan/SwiftyShell
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9a82f6e Tighten agent instructions from prompt audit (#68)
Cloned https://github.com/maniramezan/SwiftyShell.git
Revision (git rev-parse @):
9a82f6ed0196f690bf578bd3a314660a2d510883
SUCCESS checkout https://github.com/maniramezan/SwiftyShell.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/maniramezan/SwiftyShell.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ca91be8d07e73eaf6c1c75f7ec193e42b7ed6f24d327455e9ae77f96fb6433b0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/maniramezan/SwiftTestCommons.git
[1/2381] Fetching swift-docc-plugin
[216/7484] Fetching swift-docc-plugin, swift-subprocess
[7485/15105] Fetching swift-docc-plugin, swift-subprocess, swift-system
Fetched https://github.com/apple/swift-system from cache (0.72s)
[1/671] Fetching swifttestcommons
Fetched https://github.com/maniramezan/SwiftTestCommons.git from cache (1.50s)
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.51s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.51s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 1.0.2 (1.67s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.78s)
Computing version for https://github.com/maniramezan/SwiftTestCommons.git
Computed https://github.com/maniramezan/SwiftTestCommons.git at 0.5.0 (0.14s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.9.0 (0.17s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.9.0
Creating working copy for https://github.com/maniramezan/SwiftTestCommons.git
Working copy of https://github.com/maniramezan/SwiftTestCommons.git resolved at 0.5.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/8] Write sources
[5/8] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:23:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/include/process_shims.h:20:
/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 \
      |  ^
/host/spi-builder-workspace/.build/checkouts/swift-subprocess/Sources/_SubprocessCShims/process_shims.c:31:10: fatal error: 'grp.h' file not found
   31 | #include <grp.h>
      |          ^~~~~~~
2 errors generated.
[6/8] Compiling _SubprocessCShims process_shims.c
[6/8] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm