Build Information
Failed to build swift-tools-support-async, reference 0.17.0 (8cd215), with Swift 6.2 for Wasm on 17 Sep 2025 23:56:30 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.git
Reference: 0.17.0
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
* tag 0.17.0 -> FETCH_HEAD
HEAD is now at 8cd2157 Merge pull request #60 from apple/async-process-fix
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 @):
8cd215778056b7baab3cd9e57ba03559c02f480a
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at 0.17.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-tools-support-async.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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-system.git
[1/4981] Fetching swift-system
[4833/11935] Fetching swift-system, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (0.84s)
Fetching https://github.com/apple/swift-atomics.git
[1/78080] Fetching swift-nio
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.23s)
Fetching https://github.com/apple/swift-async-algorithms.git
[3905/79894] Fetching swift-nio, swift-atomics
[9623/120072] Fetching swift-nio, swift-atomics, swift-protobuf
[12012/125490] Fetching swift-nio, swift-atomics, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.99s)
[20097/123676] Fetching swift-nio, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.86s)
[25480/118258] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (10.39s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-protobuf.git from cache (10.68s)
[1/3903] Fetching swift-log
[3904/21412] Fetching swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (0.44s)
[1401/17509] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.71s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (13.31s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.61s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.59s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.1 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.87s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.16s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.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.6.3
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 0.7.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
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.0.4
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[16375/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (1.48s)
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/48] Write sources
[16/48] Compiling CBLAKE3 blake3_avx512.c
[16/48] Compiling CBLAKE3 blake3_sse41.c
[18/48] Compiling CBLAKE3 blake3_avx2.c
[18/48] Write sources
[18/48] Copying PrivacyInfo.xcprivacy
[18/48] Write sources
[31/48] Compiling _AtomicsShims.c
[32/48] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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:26:10: fatal error: 'sys/wait.h' file not found
26 | #include <sys/wait.h>
| ^~~~~~~~~~~~
2 errors generated.
[33/48] Compiling TSFCProcessSpawnSync spawner.c
[33/48] Compiling TSCclibc strerror.c
[33/48] Compiling CSystem shims.c
[33/48] Compiling CNIOWindows WSAStartup.c
[33/48] Compiling CNIOWindows shim.c
[33/48] Compiling TSCclibc libc.c
[33/48] Compiling CBLAKE3 blake3.c
[33/48] Compiling TSCclibc process.c
BUILD FAILURE 6.2 wasm