The Swift Package Index logo.Swift Package Index

Build Information

Failed to build eudi-lib-sdjwt-swift, reference v0.15.2 (2d436b), with Swift 6.4 for Wasm on 19 Nov 2026 10:05:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build 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: v0.15.2
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
 * tag               v0.15.2    -> FETCH_HEAD
HEAD is now at 2d436b6 `aud`, `iat`,  `algo` tests updates
Cloned https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
Revision (git rev-parse @):
2d436b6fe31ca1d0d8931b75e1304737aab5053f
SUCCESS checkout https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git at v0.15.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
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-54344849-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.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/beatt83/jose-swift.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/apple/swift-certificates.git
[1/2241] Fetching jose-swift
[1256/15687] Fetching jose-swift, cryptoswift
[1257/22007] Fetching jose-swift, cryptoswift, swiftyjson
[2016/29671] Fetching jose-swift, cryptoswift, swiftyjson, swift-certificates
Fetched https://github.com/beatt83/jose-swift.git (0.45s)
[3262/27430] Fetching cryptoswift, swiftyjson, swift-certificates
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git (0.59s)
Fetched https://github.com/apple/swift-certificates.git (0.59s)
[3093/13446] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.08s)
Computing version for https://github.com/beatt83/jose-swift.git
Computed https://github.com/beatt83/jose-swift.git at 6.0.5 (1.26s)
Fetching https://github.com/DLTAStudio/zlib.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
[1/2077] Fetching swift-asn1
[438/21025] Fetching swift-asn1, swift-crypto
[6815/21090] Fetching swift-asn1, swift-crypto, zlib
[21091/33882] Fetching swift-asn1, swift-crypto, zlib, secp256k1.swift
Fetched https://github.com/DLTAStudio/zlib.git (1.20s)
[22433/33817] Fetching swift-asn1, swift-crypto, secp256k1.swift
Fetched https://github.com/apple/swift-asn1.git (1.76s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git (1.77s)
Fetched https://github.com/apple/swift-crypto.git (1.77s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (2.66s)
Computing version for https://github.com/DLTAStudio/zlib.git
Computed https://github.com/DLTAStudio/zlib.git at 1.0.2 (0.18s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.17s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.88s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.25.1 (0.18s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.24s)
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.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.7.4
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/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/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/beatt83/jose-swift.git
Working copy of https://github.com/beatt83/jose-swift.git resolved at 6.0.5
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 836]
[Planning deferred tasks]
[Starting]
[84 / 651] JSONWebSignature
/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.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zlib.build/Debug-webassembly-wasm32/ZlibShims-t.build/Objects-normal/wasm32/ZlibShim.o /host/spi-builder-workspace/.build/checkouts/zlib/Sources/ZlibShims/ZlibShim.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zlib.build/Debug-webassembly-wasm32/ZlibShims-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Zlib.build/Debug-webassembly-wasm32/ZlibShims-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zlib.build/Debug-webassembly-wasm32/ZlibShims-t.build/Objects-normal/wasm32/ZlibShim.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zlib.build/Debug-webassembly-wasm32/ZlibShims-t.build/Objects-normal/wasm32/ZlibShim.dia -c /host/spi-builder-workspace/.build/checkouts/zlib/Sources/ZlibShims/ZlibShim.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Zlib.build/Debug-webassembly-wasm32/ZlibShims-t.build/Objects-normal/wasm32/ZlibShim.o
error: Build failed
BUILD FAILURE 6.4 wasm