Build Information
Failed to build eudi-lib-sdjwt-swift, reference main (6c63f4), with Swift 6.2 for Wasm on 7 Apr 2026 18:39:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
Reference: main
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/eu-digital-identity-wallet/eudi-lib-sdjwt-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6c63f41 Enforce unique disclosure digests across nested SD-JWT structures
Cloned https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
Revision (git rev-parse @):
6c63f4157c490fd1abc70317ab6f4329f9692a68
SUCCESS checkout https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/beatt83/jose-swift.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/2176] Fetching jose-swift
[1242/15517] Fetching jose-swift, cryptoswift
[2443/21784] Fetching jose-swift, cryptoswift, swiftyjson
[2444/28929] Fetching jose-swift, cryptoswift, swiftyjson, swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.81s)
[11245/21784] Fetching jose-swift, cryptoswift, swiftyjson
Fetched https://github.com/beatt83/jose-swift.git from cache (0.81s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.81s)
[2936/13341] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.04s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (4.33s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.41s)
Computing version for https://github.com/beatt83/jose-swift.git
Computed https://github.com/beatt83/jose-swift.git at 6.0.3 (0.40s)
Fetching https://github.com/DLTAStudio/zlib.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1796] Fetching swift-asn1
[235/1856] Fetching swift-asn1, zlib
Fetched https://github.com/apple/swift-asn1.git from cache (0.29s)
[1/17329] Fetching swift-crypto
[1561/27606] Fetching swift-crypto, secp256k1.swift
Fetched https://github.com/DLTAStudio/zlib.git from cache (2.65s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (2.69s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.87s)
Computing version for https://github.com/DLTAStudio/zlib.git
Computed https://github.com/DLTAStudio/zlib.git at 1.0.1 (3.29s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.15.0 (0.40s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.18s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.01s)
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
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
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/beatt83/jose-swift.git
Working copy of https://github.com/beatt83/jose-swift.git resolved at 6.0.3
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Building for debugging...
[0/392] Write sources
[1/392] Copying PrivacyInfo.xcprivacy
[1/392] Write sources
[1/392] Copying PrivacyInfo.xcprivacy
[1/392] 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.
[19/392] Compiling ZlibShims ZlibShim.c
[19/392] Compiling CCryptoBoringSSLShims shims.c
[19/392] Compiling precomputed_ecmult_gen.c
[19/392] Compiling fiat_p256_adx_sqr.S
[19/392] Compiling Utility.c
[19/392] Compiling precomputed_ecmult.c
[19/392] Compiling secp256k1.c
[19/392] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm