The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-tools-support-async, reference 0.20.0 (b2538c), with Swift 6.1 for Wasm on 25 Sep 2026 12:44:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.git
Reference: 0.20.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.20.0     -> FETCH_HEAD
HEAD is now at b2538c3 Update CI config
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 @):
b2538c3737abe16b4c2cc3ab678851366d8bbcdf
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at 0.20.0
========================================
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-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.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-protobuf.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/swiftlang/swift-tools-support-core.git
[1/8165] Fetching swift-log
[8166/15117] Fetching swift-log, swift-system
[8653/22520] Fetching swift-log, swift-system, swift-tools-support-core
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Fetching https://github.com/apple/swift-atomics.git
[1484/14355] Fetching swift-system, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (0.64s)
[1/27723] Fetching swift-collections
[5823/82009] Fetching swift-collections, swift-protobuf
[5824/168109] Fetching swift-collections, swift-protobuf, swift-nio
[23089/169990] Fetching swift-collections, swift-protobuf, swift-nio, swift-atomics
[35427/176722] Fetching swift-collections, swift-protobuf, swift-nio, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
[43372/174841] Fetching swift-collections, swift-protobuf, swift-nio, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
[64526/168109] Fetching swift-collections, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (3.15s)
Fetched https://github.com/apple/swift-nio.git from cache (3.18s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.29s)
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.44s)
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.38.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/51] Write sources
[27/51] Compiling TSCclibc libc.c
[28/51] Compiling CNIOWindows shim.c
[28/51] Compiling _AtomicsShims.c
[28/51] Compiling TSCclibc strerror.c
[31/51] 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.
[32/51] Compiling TSCclibc process.c
[32/51] Compiling CNIOWASI CNIOWASI.c
[32/51] Compiling CNIOPosix event_loop_id.c
[32/51] Compiling CNIOLinux shim.c
[32/51] Compiling CNIOOpenBSD shim.c
[32/51] Compiling CNIOWindows WSAStartup.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>
      |          ^~~~~~~~~~~
[32/51] Compiling TSFCProcessSpawnSync spawner.c
[32/51] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.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/20] Compiling CNIOWindows WSAStartup.c
[2/20] Compiling CNIOOpenBSD shim.c
[3/20] Compiling CNIOLinux shim.c
[4/20] Compiling CNIOPosix event_loop_id.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.
[5/20] Compiling TSCclibc process.c
[5/20] Compiling c-nioatomics.c
[5/20] Compiling CNIOFreeBSD shim.c
[5/20] Compiling CNIOLinux liburing_shims.c
[5/20] Compiling CNIODarwin 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>
      |          ^~~~~~~~~~~
[5/20] Compiling TSFCProcessSpawnSync spawner.c
[5/20] Compiling CNIOWASI CNIOWASI.c
[5/20] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm