Build Information
Failed to build swift-event, reference 0.2.1 (969210), with Swift 6.1 for Wasm on 26 Jun 2026 18:00:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/21-DOT-DEV/swift-event.git
Reference: 0.2.1
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/21-DOT-DEV/swift-event
* tag 0.2.1 -> FETCH_HEAD
HEAD is now at 9692104 fix(libevent): shim-header modulemap to unbreak Swift C++ interop consumers (#14)
Cloned https://github.com/21-DOT-DEV/swift-event.git
Revision (git rev-parse @):
9692104e590852d8237e510fc8f69206cbd992b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-event.git at 0.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/21-DOT-DEV/swift-event.git
https://github.com/21-DOT-DEV/swift-event.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/64] Fetching swift-plugin-subtree
[65/2363] Fetching swift-plugin-subtree, swift-docc-plugin
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (0.56s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.56s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Computed https://github.com/21-DOT-DEV/swift-plugin-subtree.git at 0.0.13 (0.77s)
Fetching https://github.com/21-DOT-DEV/swift-artifact-parser
[1/28] Fetching swift-artifact-parser
Fetched https://github.com/21-DOT-DEV/swift-artifact-parser from cache (0.39s)
Computing version for https://github.com/21-DOT-DEV/swift-artifact-parser
Computed https://github.com/21-DOT-DEV/swift-artifact-parser at 0.0.1 (1.32s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
Creating working copy for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-subtree.git resolved at 0.0.13
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/21-DOT-DEV/swift-artifact-parser
Working copy of https://github.com/21-DOT-DEV/swift-artifact-parser resolved at 0.0.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip
[16375/44642150] Downloading https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip
Downloaded https://github.com/21-DOT-DEV/subtree/releases/download/0.0.13/subtree.artifactbundle.zip (2.72s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
[3/67] Compiling epoll.c
[4/67] Compiling strlcpy.c
In file included from /host/spi-builder-workspace/Sources/libevent/src/evutil_rand.c:40:
In file included from /host/spi-builder-workspace/Sources/libevent/src/util-internal.h:35:
In file included from /host/spi-builder-workspace/Sources/libevent/src/log-internal.h:30:
/host/spi-builder-workspace/Sources/libevent/include/event2/util.h:61:10: fatal error: 'netdb.h' file not found
61 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
/host/spi-builder-workspace/Sources/libevent/src/evthread_pthread.c:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[5/67] Compiling evthread_pthread.c
[5/67] Compiling signal.c
[5/67] Compiling evutil_rand.c
In file included from /host/spi-builder-workspace/Sources/libevent/src/evutil_time.c:61:
/host/spi-builder-workspace/Sources/libevent/include/event2/util.h:61:10: fatal error: 'netdb.h' file not found
61 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
[5/67] Compiling evutil_time.c
In file included from /host/spi-builder-workspace/Sources/libevent/src/bufferevent_sock.c:64:
/host/spi-builder-workspace/Sources/libevent/include/event2/util.h:61:10: fatal error: 'netdb.h' file not found
61 | #include <netdb.h>
| ^~~~~~~~~
[5/67] Compiling bufferevent_sock.c
/host/spi-builder-workspace/Sources/libevent/src/evutil.c:79:10: fatal error: 'net/if.h' file not found
79 | #include <net/if.h>
| ^~~~~~~~~~
[5/67] Compiling evutil.c
In file included from /host/spi-builder-workspace/Sources/libevent/src/bufferevent_ratelim.c:35:
In file included from /host/spi-builder-workspace/Sources/libevent/include/event2/event.h:202:
/host/spi-builder-workspace/Sources/libevent/include/event2/util.h:61:10: fatal error: 'netdb.h' file not found
61 | #include <netdb.h>
| ^~~~~~~~~
[5/67] Compiling bufferevent_ratelim.c
[5/67] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SubtreePlugin
Building for debugging...
[3/66] Write sources
In file included from /host/spi-builder-workspace/Sources/libevent/src/log.c:55:
In file included from /host/spi-builder-workspace/Sources/libevent/include/event2/event.h:202:
/host/spi-builder-workspace/Sources/libevent/include/event2/util.h:61:10: fatal error: 'netdb.h' file not found
61 | #include <netdb.h>
| ^~~~~~~~~
1 error generated.
[7/65] Compiling log.c
In file included from /host/spi-builder-workspace/Sources/libevent/src/http.c:42:
/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/sys/resource.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
2 | #error WASI lacks process-associated clocks; to enable emulation of the `getrusage` function using \
| ^
/host/spi-builder-workspace/Sources/libevent/src/http.c:48:10: fatal error: 'sys/wait.h' file not found
48 | #include <sys/wait.h>
| ^~~~~~~~~~~~
[7/65] Compiling http.c
/host/spi-builder-workspace/Sources/libevent/src/kqueue.c:38:10: fatal error: 'sys/queue.h' file not found
38 | #include <sys/queue.h>
| ^~~~~~~~~~~~~
[7/65] Compiling kqueue.c
/host/spi-builder-workspace/Sources/libevent/src/poll.c:38:10: fatal error: 'sys/queue.h' file not found
38 | #include <sys/queue.h>
| ^~~~~~~~~~~~~
[7/65] Compiling poll.c
/host/spi-builder-workspace/Sources/libevent/src/select.c:47:10: fatal error: 'sys/queue.h' file not found
47 | #include <sys/queue.h>
| ^~~~~~~~~~~~~
[7/65] Compiling select.c
[7/65] Compiling listener.c
/host/spi-builder-workspace/Sources/libevent/src/signal.c:42:10: fatal error: 'sys/queue.h' file not found
42 | #include <sys/queue.h>
| ^~~~~~~~~~~~~
1 error generated.
[7/65] Compiling signal.c
[7/65] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm