Build Information
Failed to build swift-websocket, reference 1.6.2 (3252bb), with Swift 6.1 for Wasm on 12 Oct 2026 12:00:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hummingbird-project/swift-websocket.git
Reference: 1.6.2
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/hummingbird-project/swift-websocket
* tag 1.6.2 -> FETCH_HEAD
HEAD is now at 3252bb0 Require swift-nio v2.101.0 (#69)
Cloned https://github.com/hummingbird-project/swift-websocket.git
Revision (git rev-parse @):
3252bb076ead38f733d0cc72940872780964d048
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/hummingbird-project/swift-websocket.git at 1.6.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hummingbird-project/swift-websocket.git
https://github.com/hummingbird-project/swift-websocket.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[174/5734] Fetching swift-nio-transport-services, swift-service-lifecycle
[375/6434] Fetching swift-nio-transport-services, swift-service-lifecycle, compress-nio
[790/23314] Fetching swift-nio-transport-services, swift-service-lifecycle, compress-nio, swift-nio-ssl
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.50s)
Fetching https://github.com/apple/swift-log.git
[4580/20447] Fetching swift-nio-transport-services, compress-nio, swift-nio-ssl
[4750/27151] Fetching swift-nio-transport-services, compress-nio, swift-nio-ssl, swift-nio-extras
[26984/35420] Fetching swift-nio-transport-services, compress-nio, swift-nio-ssl, swift-nio-extras, swift-log
[29054/121816] Fetching swift-nio-transport-services, compress-nio, swift-nio-ssl, swift-nio-extras, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
[33199/113547] Fetching swift-nio-transport-services, compress-nio, swift-nio-ssl, swift-nio-extras, swift-nio
Fetching https://github.com/apple/swift-http-types.git
[83310/115486] Fetching swift-nio-transport-services, compress-nio, swift-nio-ssl, swift-nio-extras, swift-nio, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.44s)
[85901/113547] Fetching swift-nio-transport-services, compress-nio, swift-nio-ssl, swift-nio-extras, swift-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (3.27s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.27s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.27s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.29s)
Fetched https://github.com/apple/swift-nio.git from cache (3.31s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.5.0 (3.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.45s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1889] Fetching swift-atomics
[1890/9130] Fetching swift-atomics, swift-system
[8914/37833] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.21s)
Fetched https://github.com/apple/swift-system.git from cache (1.21s)
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.47s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (1.02s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1253] Fetching swift-http-structured-headers
[1204/3262] Fetching swift-http-structured-headers, swift-asn1
[1737/10875] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.40s)
[604/9622] Fetching swift-asn1, swift-certificates
[983/16442] Fetching swift-asn1, swift-certificates, swift-async-algorithms
[2176/22606] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-algorithms
[22607/34900] Fetching swift-asn1, swift-certificates, swift-async-algorithms, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git from cache (0.58s)
[15116/27287] Fetching swift-asn1, swift-async-algorithms, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.59s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.59s)
[2255/14303] Fetching swift-asn1, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (1.01s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.02s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.95s)
Fetching https://github.com/apple/swift-numerics.git
[1/6743] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.76s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.1 (0.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.24s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.28s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.26s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.24s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.29s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.31s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.25s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.30s)
Fetching https://github.com/apple/swift-crypto.git
[1/18629] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.74s)
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-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.28s)
Computing version for https://github.com/apple/swift-crypto.git
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.25s)
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.79s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git 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.6.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
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-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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Building for debugging...
[0/448] Write sources
[28/448] Compiling CNIOWindows shim.c
[28/448] Compiling CNIOWASI CNIOWASI.c
[30/448] Compiling CNIOPosix event_loop_id.c
[31/448] Compiling _AtomicsShims.c
[32/448] Compiling CNIOWindows WSAStartup.c
[32/448] Compiling CNIOOpenBSD shim.c
[33/448] Compiling CNIOLinux liburing_shims.c
[35/448] Compiling CNIOLinux shim.c
[36/448] Compiling CNIOSHA1 c_nio_sha1.c
[37/448] Compiling CNIOFreeBSD shim.c
[38/448] Compiling CNIODarwin shim.c
[39/448] Compiling CNIOLLHTTP c_nio_http.c
[40/448] Compiling fiat_p256_adx_sqr.S
[41/448] Compiling CNIOLLHTTP c_nio_api.c
[42/448] Compiling fiat_p256_adx_mul.S
[43/448] Compiling fiat_curve25519_adx_square.S
[44/448] Compiling fiat_curve25519_adx_mul.S
[45/448] Write swift-version-24593BA9C3E375BF.txt
[46/448] Compiling CNIOBoringSSLShims shims.c
[47/452] Compiling CNIOLLHTTP c_nio_llhttp.c
[49/454] Emitting module _NIOBase64
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[49/454] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[49/454] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/454] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[49/454] Compiling tls_record.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/454] Compiling tls13_client.cc
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[49/454] Compiling tls13_server.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/401] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/401] Compiling tls_method.cc
[0/401] Compiling tls13_enc.cc
[0/401] Compiling tls13_client.cc
[0/401] Compiling c-atomics.c
[0/401] Compiling tls13_server.cc
[0/401] Compiling c-nioatomics.c
[0/401] Compiling tls_record.cc
BUILD FAILURE 6.1 wasm