The Swift Package Index logo.Swift Package Index

Build Information

Failed to build jose-swift, reference 6.0.4 (b7d3ef), with Swift 6.1 for Wasm on 15 Apr 2026 16:14:12 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/beatt83/jose-swift.git
Reference: 6.0.4
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.4      -> FETCH_HEAD
HEAD is now at b7d3ef5 fix: ios build issue with zlib
Cloned https://github.com/beatt83/jose-swift.git
Revision (git rev-parse @):
b7d3ef55660fefd045641293bc95d4cdc07a15d8
SUCCESS checkout https://github.com/beatt83/jose-swift.git at 6.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/beatt83/jose-swift.git
https://github.com/beatt83/jose-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/beatt83/swift-zlib.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-certificates.git
[1/58] Fetching swift-zlib
[59/1854] Fetching swift-zlib, swift-asn1
[473/8999] Fetching swift-zlib, swift-asn1, swift-certificates
[3284/22340] Fetching swift-zlib, swift-asn1, swift-certificates, cryptoswift
[10868/39680] Fetching swift-zlib, swift-asn1, swift-certificates, cryptoswift, swift-crypto
Fetched https://github.com/apple/swift-certificates.git from cache (0.81s)
[4763/32535] Fetching swift-zlib, swift-asn1, cryptoswift, swift-crypto
[4764/42853] Fetching swift-zlib, swift-asn1, cryptoswift, swift-crypto, secp256k1.swift
Fetched https://github.com/beatt83/swift-zlib.git from cache (3.85s)
Fetched https://github.com/apple/swift-asn1.git from cache (3.85s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (3.88s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.89s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.89s)
Computing version for https://github.com/beatt83/swift-zlib.git
Computed https://github.com/beatt83/swift-zlib.git at 1.0.2 (6.54s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.86s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.15.0 (0.60s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.99s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.72s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.98s)
Creating working copy for https://github.com/beatt83/swift-zlib.git
Working copy of https://github.com/beatt83/swift-zlib.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.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
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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
Building for debugging...
[0/390] Write sources
[5/390] Copying PrivacyInfo.xcprivacy
[5/390] Write sources
/host/spi-builder-workspace/.build/checkouts/swift-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 Utility.c
[17/390] Compiling CCryptoBoringSSLShims shims.c
[17/390] Compiling secp256k1.c
[17/390] Compiling fiat_p256_adx_sqr.S
[17/390] Compiling precomputed_ecmult.c
[17/390] Compiling precomputed_ecmult_gen.c
[17/390] Write swift-version-24593BA9C3E375BF.txt
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/373] Compiling fiat_p256_adx_sqr.S
[1/373] Compiling fiat_p256_adx_mul.S
[2/373] Compiling Utility.c
[3/373] Compiling precomputed_ecmult_gen.c
[4/373] Compiling fiat_curve25519_adx_square.S
[5/373] Compiling fiat_curve25519_adx_mul.S
[6/373] Compiling md5-x86_64-linux.S
[7/373] Compiling md5-x86_64-apple.S
[8/373] Compiling md5-586-linux.S
[9/373] Compiling chacha20_poly1305_x86_64-linux.S
[10/373] Compiling md5-586-apple.S
/host/spi-builder-workspace/.build/checkouts/swift-zlib/Sources/ZlibShims/ZlibShim.c:12:10: fatal error: 'zlib.h' file not found
   12 | #include <zlib.h>
      |          ^~~~~~~~
1 error generated.
[11/373] Compiling ZlibShims ZlibShim.c
[11/373] Compiling chacha20_poly1305_armv8-win.S
[11/373] Write swift-version-24593BA9C3E375BF.txt
[11/373] Compiling CCryptoBoringSSLShims shims.c
[11/373] Compiling secp256k1.c
[11/373] Compiling precomputed_ecmult.c
[11/373] Compiling err_data.cc
[11/373] Compiling chacha20_poly1305_x86_64-apple.S
BUILD FAILURE 6.1 wasm