Build Information
Failed to build swift-tools-support-async, reference main (c3d96f), with Swift 6.2 for Wasm on 2 Apr 2026 09:17:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
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 c3d96f4 Merge pull request #64 from cwakamo/dev/update-TSC-dep
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 @):
c3d96f47848965cc7d247c656e8e5f27fe2f10c4
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at main
========================================
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-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-async-algorithms.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-atomics.git
Fetching https://github.com/apple/swift-log.git
[1/1820] Fetching swift-atomics
[602/8044] Fetching swift-atomics, swift-async-algorithms
[2500/14376] Fetching swift-atomics, swift-async-algorithms, swift-log
[5264/21548] Fetching swift-atomics, swift-async-algorithms, swift-log, swift-tools-support-core
[8791/64718] Fetching swift-atomics, swift-async-algorithms, swift-log, swift-tools-support-core, swift-protobuf
Fetched https://github.com/apple/swift-atomics.git from cache (1.24s)
[22750/62898] Fetching swift-async-algorithms, swift-log, swift-tools-support-core, swift-protobuf
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-log.git from cache (1.59s)
Fetching https://github.com/apple/swift-system.git
[16968/56566] Fetching swift-async-algorithms, swift-tools-support-core, swift-protobuf
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (1.86s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.85s)
[3573/66516] Fetching swift-protobuf, swift-collections
[5953/72117] Fetching swift-protobuf, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.19s)
[10410/66516] Fetching swift-protobuf, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.48s)
[22449/43170] Fetching swift-protobuf
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-protobuf.git from cache (12.05s)
[1/83032] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (10.11s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (31.49s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.22s)
Computing version for https://github.com/swiftlang/swift-tools-support-core.git
Computed https://github.com/swiftlang/swift-tools-support-core.git at 0.7.3 (1.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.13s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.85s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.89s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.10s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.46s)
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.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.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.4.1
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.4
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.7.3
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/49] Write sources
[16/49] Compiling CBLAKE3 blake3_avx2.c
[17/49] Compiling CBLAKE3 blake3_sse41.c
[18/49] Compiling _AtomicsShims.c
[19/49] Write sources
[19/49] Compiling CBLAKE3 blake3_avx512.c
[19/49] Write sources
[32/49] Compiling TSCclibc strerror.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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/49] Compiling TSFCProcessSpawnSync spawner.c
[33/49] Compiling CNIOWindows shim.c
[33/49] Compiling CNIOWindows WSAStartup.c
[33/49] Compiling CBLAKE3 blake3.c
[33/49] Compiling TSCclibc process.c
[33/49] Compiling TSCclibc libc.c
[33/49] Compiling CSystem shims.c
[33/49] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm