The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncProcess, reference 0.0.5 (3a506b), with Swift 6.2 for Wasm on 23 Jun 2025 06:39:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gregcotten/AsyncProcess.git
Reference: 0.0.5
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/gregcotten/AsyncProcess
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 3a506bb don't explicitly unwrap pid for interrupt/terminate
Cloned https://github.com/gregcotten/AsyncProcess.git
Revision (git rev-parse @):
3a506bb36e4aa54eb3f1b13f15e636c68ee3eb19
SUCCESS checkout https://github.com/gregcotten/AsyncProcess.git at 0.0.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/gregcotten/AsyncProcess.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/80175] Fetching swift-log, swift-nio
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-log.git from cache (0.86s)
[1527/76339] Fetching swift-nio
[5345/80775] Fetching swift-nio, swift-system
[5523/85760] Fetching swift-nio, swift-system, swift-async-algorithms
Fetched https://github.com/apple/swift-system from cache (1.09s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.09s)
[20612/76339] Fetching swift-nio
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-nio.git from cache (8.69s)
[1/1797] Fetching swift-atomics
[595/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.80s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.01s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (11.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.27s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.97s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.65s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.49s)
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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.6.3
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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.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.0
Building for debugging...
[0/28] Write sources
[13/28] Compiling CNIOWindows shim.c
[14/28] Compiling CSystem shims.c
[15/28] Compiling CNIOWASI CNIOWASI.c
[16/28] Compiling _AtomicsShims.c
[17/28] Compiling CNIOLinux liburing_shims.c
[17/28] Compiling CNIOLinux shim.c
[17/28] Write sources
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:16:
/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, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:26:
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:15:
/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, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:26:
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:70:72: error: unknown type name 'sigset_t'
   70 | static int block_everything_but_something_went_seriously_wrong_signals(sigset_t *old_mask) {
      |                                                                        ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:71:5: error: use of undeclared identifier 'sigset_t'
   71 |     sigset_t mask;
      |     ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:73:10: error: call to undeclared function 'sigfillset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   73 |     r |= sigfillset(&mask);
      |          ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:73:22: error: use of undeclared identifier 'mask'
   73 |     r |= sigfillset(&mask);
      |                      ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:74:10: error: call to undeclared function 'sigdelset'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   74 |     r |= sigdelset(&mask, SIGABRT);
      |          ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:74:21: error: use of undeclared identifier 'mask'
   74 |     r |= sigdelset(&mask, SIGABRT);
      |                     ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:74:27: error: use of undeclared identifier 'SIGABRT'
   74 |     r |= sigdelset(&mask, SIGABRT);
      |                           ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:75:21: error: use of undeclared identifier 'mask'
   75 |     r |= sigdelset(&mask, SIGBUS);
      |                     ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:75:27: error: use of undeclared identifier 'SIGBUS'
   75 |     r |= sigdelset(&mask, SIGBUS);
      |                           ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:76:21: error: use of undeclared identifier 'mask'
   76 |     r |= sigdelset(&mask, SIGFPE);
      |                     ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:76:27: error: use of undeclared identifier 'SIGFPE'
   76 |     r |= sigdelset(&mask, SIGFPE);
      |                           ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:77:21: error: use of undeclared identifier 'mask'
   77 |     r |= sigdelset(&mask, SIGILL);
      |                     ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:77:27: error: use of undeclared identifier 'SIGILL'
   77 |     r |= sigdelset(&mask, SIGILL);
      |                           ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:78:21: error: use of undeclared identifier 'mask'
   78 |     r |= sigdelset(&mask, SIGKILL);
      |                     ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:78:27: error: use of undeclared identifier 'SIGKILL'
   78 |     r |= sigdelset(&mask, SIGKILL);
      |                           ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:79:21: error: use of undeclared identifier 'mask'
   79 |     r |= sigdelset(&mask, SIGSEGV);
      |                     ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:79:27: error: use of undeclared identifier 'SIGSEGV'
   79 |     r |= sigdelset(&mask, SIGSEGV);
      |                           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[22/28] Compiling CProcessSpawnSync spawner.c
[22/28] Compiling CNIODarwin shim.c
[22/28] Compiling CNIOWindows WSAStartup.c
[22/28] Compiling c-atomics.c
[22/28] Compiling c-nioatomics.c
[22/28] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm