Build Information
Failed to build AsyncProcess, reference 0.0.5 (3a506b), with Swift 6.1 for Wasm on 30 May 2025 12:17:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/gregcotten/AsyncProcess.git
https://github.com/gregcotten/AsyncProcess.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.65.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "AsyncProcess",
"name" : "AsyncProcess",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "AsyncProcess",
"targets" : [
"AsyncProcess"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ProcessSpawnSync",
"targets" : [
"ProcessSpawnSync"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ProcessSpawnSync",
"module_type" : "SwiftTarget",
"name" : "ProcessSpawnSync",
"path" : "Sources/ProcessSpawnSync",
"product_dependencies" : [
"Atomics",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"AsyncProcess",
"ProcessSpawnSync"
],
"sources" : [
"ProcessSpawner.swift"
],
"target_dependencies" : [
"CProcessSpawnSync"
],
"type" : "library"
},
{
"c99name" : "CProcessSpawnSync",
"module_type" : "ClangTarget",
"name" : "CProcessSpawnSync",
"path" : "Sources/CProcessSpawnSync",
"product_memberships" : [
"AsyncProcess",
"ProcessSpawnSync"
],
"sources" : [
"spawner.c"
],
"type" : "library"
},
{
"c99name" : "AsyncProcessTests",
"module_type" : "SwiftTarget",
"name" : "AsyncProcessTests",
"path" : "Tests/AsyncProcessTests",
"product_dependencies" : [
"Atomics",
"AsyncAlgorithms",
"NIO",
"NIOConcurrencyHelpers",
"Logging"
],
"sources" : [
"AsyncByteBufferLineSequenceTests.swift",
"Helpers+LogRecorderHandler.swift",
"IntegrationTests.swift"
],
"target_dependencies" : [
"AsyncProcess"
],
"type" : "test"
},
{
"c99name" : "AsyncProcess",
"module_type" : "SwiftTarget",
"name" : "AsyncProcess",
"path" : "Sources/AsyncProcess",
"product_dependencies" : [
"Atomics",
"AsyncAlgorithms",
"Logging",
"NIO",
"DequeModule",
"SystemPackage"
],
"product_memberships" : [
"AsyncProcess"
],
"sources" : [
"ChunkSequence.swift",
"EOFSequence.swift",
"FileContentStream.swift",
"NIOAsyncPipeWriter.swift",
"ProcessExecutor+Convenience.swift",
"ProcessExecutor.swift",
"ProcessExit.swift"
],
"target_dependencies" : [
"ProcessSpawnSync"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[2035/8821] Fetching swift-log, swift-async-algorithms
[4604/13212] Fetching swift-log, swift-async-algorithms, swift-system
[6479/29803] Fetching swift-log, swift-async-algorithms, swift-system, swift-collections
[8520/31513] Fetching swift-log, swift-async-algorithms, swift-system, swift-collections, swift-atomics
[18076/107624] Fetching swift-log, swift-async-algorithms, swift-system, swift-collections, swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.44s)
Fetched https://github.com/apple/swift-system from cache (1.44s)
[70318/101523] Fetching swift-log, swift-async-algorithms, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (1.47s)
[54488/84932] Fetching swift-log, swift-async-algorithms, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (5.59s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (5.60s)
Fetched https://github.com/apple/swift-nio.git from cache (5.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (6.29s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.02s)
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.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.54s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.86s)
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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Building for debugging...
[0/28] Write sources
[13/28] Compiling CNIOWindows WSAStartup.c
[14/28] Compiling CNIOWindows shim.c
[15/28] Compiling CSystem shims.c
[16/28] Compiling CNIOWASI CNIOWASI.c
[17/28] Compiling CNIOLinux shim.c
[18/28] Write sources
[21/28] Compiling CNIOLinux liburing_shims.c
[22/28] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:16:
/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, \
| ^
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-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, \
| ^
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.
[23/28] Compiling CProcessSpawnSync spawner.c
[23/28] Compiling c-nioatomics.c
[23/28] Compiling c-atomics.c
[23/28] Compiling _AtomicsShims.c
[23/28] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:16:
/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, \
| ^
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-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, \
| ^
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.
[1/5] Compiling CProcessSpawnSync spawner.c
[1/5] Write swift-version-24593BA9C3E375BF.txt
[1/5] Compiling c-atomics.c
[1/5] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm