Build Information
Failed to build jose-swift, reference 6.0.1 (f25da1), with Swift 6.2 for Wasm on 15 Nov 2025 17:46:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/beatt83/jose-swift.git
Reference: 6.0.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/beatt83/jose-swift
* tag 6.0.1 -> FETCH_HEAD
HEAD is now at f25da1b chore: update minimum versions
Cloned https://github.com/beatt83/jose-swift.git
Revision (git rev-parse @):
f25da1bf75b9a2b803bb7c40bdd6ace85f4df3ce
SUCCESS checkout https://github.com/beatt83/jose-swift.git at 6.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/beatt83/jose-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/DLTAStudio/zlib.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-certificates.git
[1/56] Fetching zlib
[57/1709] Fetching zlib, swift-asn1
[818/7211] Fetching zlib, swift-asn1, secp256k1.swift
[5452/14145] Fetching zlib, swift-asn1, secp256k1.swift, swift-certificates
[5687/27250] Fetching zlib, swift-asn1, secp256k1.swift, swift-certificates, cryptoswift
[14109/44692] Fetching zlib, swift-asn1, secp256k1.swift, swift-certificates, cryptoswift, swift-crypto
Fetched https://github.com/DLTAStudio/zlib.git from cache (2.02s)
Fetched https://github.com/apple/swift-asn1.git from cache (2.02s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.02s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (2.02s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.19s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.41s)
Computing version for https://github.com/DLTAStudio/zlib.git
Computed https://github.com/DLTAStudio/zlib.git at 1.0.1 (5.00s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.60s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.15.0 (0.63s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (3.50s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.15.1 (0.86s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.30s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/DLTAStudio/zlib.git
Working copy of https://github.com/DLTAStudio/zlib.git resolved at 1.0.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.5.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.15.1
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.15.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Building for debugging...
[0/390] Write sources
[14/390] Copying PrivacyInfo.xcprivacy
[16/390] Write sources
/host/spi-builder-workspace/.build/checkouts/zlib/Sources/ZlibShims/ZlibShim.c:12:10: fatal error: 'zlib.h' file not found
12 | #include <zlib.h>
| ^~~~~~~~
1 error generated.
[17/390] Compiling ZlibShims ZlibShim.c
[17/390] Compiling precomputed_ecmult_gen.c
[17/390] Compiling Utility.c
[17/390] Compiling precomputed_ecmult.c
[17/390] Compiling CCryptoBoringSSLShims shims.c
[17/390] Compiling fiat_p256_adx_sqr.S
[17/390] Compiling secp256k1.c
[17/390] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm