The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-test-containers, reference main (294021), with Swift 6.2 for Wasm on 28 Jun 2026 01:56:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mongey/swift-test-containers.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/Mongey/swift-test-containers
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2940211 Add Dockerfile runContainer regression test
Cloned https://github.com/Mongey/swift-test-containers.git
Revision (git rev-parse @):
2940211399c52517f67b37b0a619987fd11d339b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Mongey/swift-test-containers.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Mongey/swift-test-containers.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/4023] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.79s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-system
[1/5941] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.54s)
[1/15972] Fetching async-http-client
[1758/33733] Fetching async-http-client, swift-crypto
Fetched https://github.com/swift-server/async-http-client.git from cache (1.29s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.30s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.2 (1.48s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.34.0 (0.16s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5815] Fetching swift-distributed-tracing
[3607/13413] Fetching swift-distributed-tracing, swift-log
[4671/16273] Fetching swift-distributed-tracing, swift-log, swift-nio-transport-services
[6824/19555] Fetching swift-distributed-tracing, swift-log, swift-nio-transport-services, swift-configuration
[8145/25618] Fetching swift-distributed-tracing, swift-log, swift-nio-transport-services, swift-configuration, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.52s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/1295] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.71s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.71s)
Fetched https://github.com/apple/swift-configuration.git from cache (0.72s)
Fetched https://github.com/apple/swift-log.git from cache (0.72s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.72s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
[1/12123] Fetching swift-nio-http2
[3396/13991] Fetching swift-nio-http2, swift-atomics
[7146/20534] Fetching swift-nio-http2, swift-atomics, swift-nio-extras
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
[15788/18666] Fetching swift-nio-http2, swift-nio-extras
[18667/34241] Fetching swift-nio-http2, swift-nio-extras, swift-nio-ssl
[20069/118395] Fetching swift-nio-http2, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.86s)
[13711/106272] Fetching swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.15s)
[47779/90697] Fetching swift-nio-extras, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (2.88s)
Fetched https://github.com/apple/swift-nio.git from cache (2.92s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (3.78s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.14s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.86s)
Fetching https://github.com/apple/swift-numerics.git
[1/6429] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.2 (0.91s)
Fetching https://github.com/apple/swift-collections.git
[1/25239] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.26s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (0.78s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2764] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.22s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.11.0 (0.13s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6553] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.52s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.4 (0.71s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.14s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.44.0 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.1 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.14.0 (0.14s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.1 (0.19s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1905] Fetching swift-asn1
[344/3124] Fetching swift-asn1, swift-http-types
[503/4373] Fetching swift-asn1, swift-http-types, swift-http-structured-headers
[4374/11701] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.58s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.58s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.58s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.58s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.73s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.29s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.14s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.2 (0.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.40s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.2
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.34.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.44.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.11.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at main (906d158)
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.14.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.101.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.7.2
Building for debugging...
[0/458] Write sources
[26/458] Compiling CNIOWindows WSAStartup.c
[27/458] Compiling CNIOWindows shim.c
[28/458] Compiling _CWASI _CWASI.c
[28/458] Compiling _AtomicsShims.c
[30/458] Compiling CSystem shims.c
[31/458] Compiling _NumericsShims _NumericsShims.c
[32/458] Compiling CNIOWASI CNIOWASI.c
[33/458] Compiling CNIOLinux shim.c
[34/458] Compiling CNIOPosix event_loop_id.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.
[35/458] Compiling CNIOLinux liburing_shims.c
[35/458] Compiling CNIOOpenBSD shim.c
[37/458] Compiling _SubprocessCShims process_shims.c
[37/458] Compiling CNIOExtrasZlib zutil.c
[37/458] Compiling CNIOExtrasZlib trees.c
[37/458] Compiling CNIOLLHTTP c_nio_api.c
[37/458] Compiling CNIOFreeBSD shim.c
[37/458] Compiling CNIOLLHTTP c_nio_llhttp.c
[37/458] Compiling CNIOLLHTTP c_nio_http.c
[37/458] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm