Build Information
Failed to build eudi-lib-sdjwt-swift, reference main (97b3ad), with Swift 6.1 for Wasm on 25 Nov 2026 00:10:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4
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 97b3ad8 Fix valid date in unit tests
Cloned https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
Revision (git rev-parse @):
97b3ad8c636875a48173936dd8b82fd85aaefb48
SUCCESS checkout https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/beatt83/jose-swift.git
[1/13446] Fetching cryptoswift
[136/15687] Fetching cryptoswift, jose-swift
[2489/22007] Fetching cryptoswift, jose-swift, swiftyjson
[2979/29698] Fetching cryptoswift, jose-swift, swiftyjson, swift-certificates
Fetched https://github.com/beatt83/jose-swift.git from cache (0.57s)
[13280/27457] Fetching cryptoswift, swiftyjson, swift-certificates
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.68s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.68s)
[3631/13446] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.13s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (2.05s)
Computing version for https://github.com/beatt83/jose-swift.git
Computed https://github.com/beatt83/jose-swift.git at 6.0.5 (0.23s)
Fetching https://github.com/DLTAStudio/zlib.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-asn1.git
[1/65] Fetching zlib
[51/19088] Fetching zlib, swift-crypto
[52/21176] Fetching zlib, swift-crypto, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
[1207/19088] Fetching zlib, swift-crypto
[19089/31963] Fetching zlib, swift-crypto, secp256k1.swift
Fetched https://github.com/DLTAStudio/zlib.git from cache (1.80s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (1.81s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.82s)
Computing version for https://github.com/DLTAStudio/zlib.git
Computed https://github.com/DLTAStudio/zlib.git at 1.0.2 (2.07s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.24s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.92s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.25.1 (0.26s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.27s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.77s)
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.5
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.5
Creating working copy for https://github.com/DLTAStudio/zlib.git
Working copy of https://github.com/DLTAStudio/zlib.git resolved at 1.0.2
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.10.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/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.25.1
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.2
Building for debugging...
[0/397] Write sources
[6/397] Copying PrivacyInfo.xcprivacy
[8/397] Write sources
[19/397] Compiling SimpleFIPS202.c
[20/397] Compiling CXKCPShims shims.c
/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.
[21/397] Compiling ZlibShims ZlibShim.c
[21/397] Compiling KeccakP-1600-opt64.c
[21/397] Compiling KeccakSponge.c
[21/397] Compiling secp256k1.c
[21/397] Compiling Utility.c
[21/397] Compiling precomputed_ecmult_gen.c
[21/397] Compiling precomputed_ecmult.c
[21/397] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/376] Compiling KeccakHash.c
/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.
[1/376] Compiling ZlibShims ZlibShim.c
[1/376] Compiling CCryptoBoringSSLShims shims.c
[1/376] Compiling fiat_p256_adx_sqr.S
[1/376] Compiling KeccakSponge.c
[1/376] Compiling KeccakP-1600-opt64.c
[1/376] Compiling fiat_p256_adx_mul.S
[1/376] Compiling fiat_curve25519_adx_square.S
[1/376] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm