Build Information
Failed to build JWT, reference master (327a62), with Swift 6.3 for Wasm on 12 Apr 2026 02:34:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwmi/jwt.git
Reference: master
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/schwmi/jwt
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 327a62f Merge branch 'master' of github.com:schwmi/JWT
Cloned https://github.com/schwmi/jwt.git
Revision (git rev-parse @):
327a62f20ef2750fe82964d2c8ad3984b0d7039a
SUCCESS checkout https://github.com/schwmi/jwt.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/schwmi/jwt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-crypto.git
[1/17331] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (3.35s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Building for debugging...
[0/408] Write sources
[2/408] Compiling rc4.c
[3/408] Compiling bio_mem.c
[4/408] Compiling a_bool.c
[5/408] Write swift-version-24593BA9C3E375BF.txt
[6/408] Compiling a_bitstr.c
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:223:15: error: call to undeclared function 'setsockopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
223 | ret = setsockopt(bio->num, SOL_SOCKET, SO_KEEPALIVE, (char *)&i,
| ^
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:223:15: note: did you mean 'getsockopt'?
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/socket.h:436:5: note: 'getsockopt' declared here
436 | int getsockopt (int, int, int, void *__restrict, socklen_t *__restrict);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:223:48: error: use of undeclared identifier 'SO_KEEPALIVE'
223 | ret = setsockopt(bio->num, SOL_SOCKET, SO_KEEPALIVE, (char *)&i,
| ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/crypto/bio/connect.c:233:15: error: call to undeclared function 'connect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
233 | ret = connect(bio->num, (struct sockaddr*) &c->them, c->them_length);
| ^
3 errors generated.
[7/408] Compiling connect.c
[7/408] Compiling v3_skey.c
[7/408] Compiling v3_pmaps.c
[7/408] Compiling v3_purp.c
[7/408] Compiling v3_pcons.c
[7/408] Compiling CCryptoBoringSSLShims shims.c
[7/408] Compiling v3_utl.c
[7/408] Compiling v3_prn.c
BUILD FAILURE 6.3 wasm