Build Information
Failed to build swift-tools-support-async, reference main (6dffd3), with Swift 6.1 for Wasm on 30 Sep 2026 05:37:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.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/apple/swift-tools-support-async
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6dffd3f Merge pull request #67 from apple/ospobot/code-of-conduct
Submodule path 'ThirdParty/BLAKE3': checked out '2f6f56f3477321c9e4742f1c863e45f2cfcbfb5e'
Submodule 'ThirdParty/BLAKE3' (https://github.com/BLAKE3-team/BLAKE3.git) registered for path 'ThirdParty/BLAKE3'
Cloning into '/host/spi-builder-workspace/ThirdParty/BLAKE3'...
Cloned https://github.com/apple/swift-tools-support-async.git
Revision (git rev-parse @):
6dffd3f110b05c5ff214f95a5ab03a6c59555e5f
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-tools-support-async.git
https://github.com/apple/swift-tools-support-async.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/swiftlang/swift-tools-support-core.git
Fetching https://github.com/apple/swift-nio.git
[1/8165] Fetching swift-log
[3104/15570] Fetching swift-log, swift-tools-support-core
[15571/22556] Fetching swift-log, swift-tools-support-core, swift-system
[22557/50614] Fetching swift-log, swift-tools-support-core, swift-system, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
Fetching https://github.com/apple/swift-atomics.git
[16357/128655] Fetching swift-tools-support-core, swift-system, swift-collections, swift-nio
[94174/183001] Fetching swift-tools-support-core, swift-system, swift-collections, swift-nio, swift-protobuf
[97547/184886] Fetching swift-tools-support-core, swift-system, swift-collections, swift-nio, swift-protobuf, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.65s)
[103693/183001] Fetching swift-tools-support-core, swift-system, swift-collections, swift-nio, swift-protobuf
Fetching https://github.com/apple/swift-async-algorithms.git
[133248/189793] Fetching swift-tools-support-core, swift-system, swift-collections, swift-nio, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.66s)
[155285/183001] Fetching swift-tools-support-core, swift-system, swift-collections, swift-nio, swift-protobuf
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (3.86s)
Fetched https://github.com/apple/swift-nio.git from cache (3.91s)
Fetched https://github.com/apple/swift-system.git from cache (5.42s)
Fetched https://github.com/apple/swift-collections.git from cache (5.44s)
Fetched https://github.com/apple/swift-protobuf.git from cache (5.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (5.69s)
Computing version for https://github.com/swiftlang/swift-tools-support-core.git
Computed https://github.com/swiftlang/swift-tools-support-core.git at 0.8.0 (0.30s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.34s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.38.1 (0.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.54s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/swift-tools-support-core.git resolved at 0.8.0
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.6
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.1
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/51] Write sources
[27/51] Compiling CNIOWindows shim.c
[28/51] Compiling TSCclibc libc.c
[28/51] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:15:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/include/process.h:3:10: fatal error: 'spawn.h' file not found
3 | #include <spawn.h>
| ^~~~~~~~~
1 error generated.
[30/51] Compiling TSCclibc process.c
[30/51] Compiling CSystem shims.c
[30/51] Compiling TSCclibc strerror.c
[30/51] Compiling CNIOPosix event_loop_id.c
[30/51] Compiling CNIOWindows WSAStartup.c
[30/51] Compiling CNIOWASI CNIOWASI.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
[30/51] Compiling TSFCProcessSpawnSync spawner.c
[30/51] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/22] Compiling CNIOWindows WSAStartup.c
[1/22] Compiling CNIOWASI CNIOWASI.c
[3/22] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:15:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/include/process.h:3:10: fatal error: 'spawn.h' file not found
3 | #include <spawn.h>
| ^~~~~~~~~
1 error generated.
[4/22] Compiling TSCclibc process.c
[4/22] Compiling TSCclibc strerror.c
[4/22] Compiling CNIOLinux liburing_shims.c
[4/22] Compiling CNIOLinux shim.c
[4/22] Compiling CNIOOpenBSD shim.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
[4/22] Compiling TSFCProcessSpawnSync spawner.c
[4/22] Compiling CNIOPosix event_loop_id.c
[4/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm