The Swift Package Index logo.Swift Package Index

Build Information

Failed to build eudi-lib-sdjwt-swift, reference v0.14.2 (6c63f4), with Swift 6.1 for Wasm on 7 Apr 2026 22:56:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eu-digital-identity-wallet/eudi-lib-sdjwt-swift.git
Reference: v0.14.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.14.2    -> FETCH_HEAD
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 v0.14.2
========================================
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
{
  "dependencies" : [
    {
      "identity" : "swiftyjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyJSON/SwiftyJSON.git"
    },
    {
      "identity" : "jose-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/beatt83/jose-swift.git"
    },
    {
      "identity" : "swift-certificates",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-certificates.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "eudi-lib-sdjwt-swift",
  "name" : "eudi-lib-sdjwt-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "eudi-lib-sdjwt-swift",
      "targets" : [
        "eudi-lib-sdjwt-swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "eudi_lib_sdjwt_swiftTests",
      "module_type" : "SwiftTarget",
      "name" : "eudi-lib-sdjwt-swiftTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/base_type_metadata.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/certs/pidissuerca02_cz.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/certs/pidissuerca02_ee.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/certs/pidissuerca02_eu.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/certs/pidissuerca02_lu.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/certs/pidissuerca02_nl.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/certs/pidissuerca02_pt.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/certs/pidissuerca02_ut.der",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/issuer_meta_data.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/type_meta_data_pid.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/type_meta_data_with_integrity.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/type_metadata_double_extend.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/type_metadata_with_extend.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "EndToEnd/EndToEndTest.swift",
        "Helpers/Constants.swift",
        "Helpers/Utilities.swift",
        "Helpers/X509SDJWTVCCertificateChainVerifier.swift",
        "Issuance/BuilderTest.swift",
        "Issuance/ClaimsVerifierTests.swift",
        "Issuance/DecoyConfigurationTest.swift",
        "Issuance/DecoyTest.swift",
        "Issuance/DigestTest.swift",
        "Issuance/IssuerTests.swift",
        "Issuance/KeyBindingTest.swift",
        "Issuance/SignedJwtTest.swift",
        "JSONSerialization/CompactParserJwsJsonTests.swift",
        "JSONSerialization/JSONSerializationTest.swift",
        "Matcher/MatcherTests.swift",
        "Mocks/NetworkingBundleMock.swift",
        "Presentation/ClaimPathTests.swift",
        "Presentation/PresentationTest.swift",
        "Presentation/SelectPathTests.swift",
        "Presentation/TestP256AsyncSigner.swift",
        "SpecExamples.swift",
        "Stubs/Stubbable.swift",
        "Stubs/URL+Stub.swift",
        "TypeMetadata/DisclosedValidatorTests.swift",
        "TypeMetadata/DocumentIntegrityTests.swift",
        "TypeMetadata/SRIValidatorTests.swift",
        "TypeMetadata/SdJwtVcTypeMetadataTests.swift",
        "TypeMetadata/TypeMetadataClaimsValidatorTests.swift",
        "TypeMetadata/TypeMetadataLookupTest.swift",
        "TypeMetadata/TypeMetadataMergerTests.swift",
        "TypeMetadata/TypeMetadataVerifierTests.swift",
        "Utilities/DigestCollectorTest.swift",
        "Utilities/SecureRandomTest.swift",
        "Verification/SerializerTest.swift",
        "Verification/VcVerifierTest.swift",
        "Verification/VerifierTest.swift"
      ],
      "target_dependencies" : [
        "eudi-lib-sdjwt-swift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "eudi_lib_sdjwt_swift",
      "module_type" : "SwiftTarget",
      "name" : "eudi-lib-sdjwt-swift",
      "path" : "Sources",
      "product_dependencies" : [
        "jose-swift",
        "CryptoSwift",
        "SwiftyJSON",
        "X509"
      ],
      "product_memberships" : [
        "eudi-lib-sdjwt-swift"
      ],
      "sources" : [
        "Builders/ArrayBuilder.swift",
        "Builders/JSONBuilder.swift",
        "Builders/SDJWTBuilder.swift",
        "Claim/ArrayClaim.swift",
        "Claim/ClaimRepresentable.swift",
        "Claim/ClaimsExtractor.swift",
        "Claim/FlatDisclosedClaim.swift",
        "Claim/ObjectClaim.swift",
        "Claim/PlainClaim.swift",
        "Claim/SdElement.swift",
        "Digest/DigestCreator.swift",
        "Digest/HashingAlgorithm/HashingAlgorithm.swift",
        "Digest/HashingAlgorithm/SHA256.swift",
        "Digest/HashingAlgorithm/SHA3-256.swift",
        "Digest/HashingAlgorithm/SHA384.swift",
        "Digest/HashingAlgorithm/SHA512.swift",
        "Digest/SaltProvider.swift",
        "Factory/SDJWTFactory.swift",
        "Fetchers/SdJwtVcIssuerMetaDataFetcher.swift",
        "Fetchers/TypeMetadataFetcher.swift",
        "Issuer/AsyncSignerProtocol.swift",
        "Issuer/JWT.swift",
        "Issuer/JWTRepresentable.swift",
        "Issuer/SDJWT.swift",
        "Issuer/SDJWTIssuer.swift",
        "Issuer/SignedSDJWT.swift",
        "Matcher/Matcher.swift",
        "Model/ResolvedTypeMetadata.swift",
        "Model/SdJwtVcIssuerMetaData.swift",
        "Model/SdJwtVcTypeMetadata.swift",
        "Networking/Networking.swift",
        "Parser/CompactParser.swift",
        "Parser/ParserProtocol.swift",
        "Serializer/CompactSerialiser.swift",
        "Serializer/SerialiserProtocol.swift",
        "TypeMetadata/DisclosureValidator.swift",
        "TypeMetadata/SubResourceIntegrity.swift",
        "TypeMetadata/TypeMetadataClaimsValidator.swift",
        "TypeMetadata/TypeMetadataLookupDefault.swift",
        "TypeMetadata/TypeMetadataMerger.swift",
        "TypeMetadata/TypeMetadataPolicy.swift",
        "TypeMetadata/Vct.swift",
        "Types/DecoyConfiguration.swift",
        "Types/Spec.swift",
        "Types/Types.swift",
        "Utilities/ClaimPath.swift",
        "Utilities/ClaimVisitorType.swift",
        "Utilities/DigestCollector.swift",
        "Utilities/ECPublicKeyConverter.swift",
        "Utilities/Extensions/Array+Extension.swift",
        "Utilities/Extensions/Certificate+Extensions.swift",
        "Utilities/Extensions/ClaimPath+Extensions.swift",
        "Utilities/Extensions/Data+Extension.swift",
        "Utilities/Extensions/Disclosure+Extension.swift",
        "Utilities/Extensions/Encodable+Extension.swift",
        "Utilities/Extensions/JSON+Extension.swift",
        "Utilities/Extensions/JWS+Extension.swift",
        "Utilities/Extensions/Networking+Extension.swift",
        "Utilities/Extensions/SignatureAlgorithm+Extension.swift",
        "Utilities/Extensions/String+Extension.swift",
        "Utilities/JwsJsonSupportOption.swift",
        "Utilities/RawCodingKey.swift",
        "Utilities/SdJwtVcIssuerPublicKeySource.swift",
        "Utilities/SecureRandom.swift",
        "Utilities/SelectPath.swift",
        "Utilities/TimeRange.swift",
        "Utilities/TrustFunctions.swift",
        "Verifier/ClaimsVerifier.swift",
        "Verifier/DisclosuresVerifier.swift",
        "Verifier/KeyBindingVerifier.swift",
        "Verifier/SDJWTVCVerifier.swift",
        "Verifier/SDJWTVerifier.swift",
        "Verifier/SignatureVerifier.swift",
        "Verifier/TypeMetadataVerifier.swift",
        "Verifier/X509CertificateTrust.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/beatt83/jose-swift.git
Fetching https://github.com/apple/swift-certificates.git
[1/2176] Fetching jose-swift
[1242/8443] Fetching jose-swift, swiftyjson
[2308/21784] Fetching jose-swift, swiftyjson, cryptoswift
[2755/28929] Fetching jose-swift, swiftyjson, cryptoswift, swift-certificates
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.44s)
Fetched https://github.com/beatt83/jose-swift.git from cache (0.46s)
[9147/20486] Fetching cryptoswift, swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (1.36s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.39s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (3.47s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.52s)
Computing version for https://github.com/beatt83/jose-swift.git
Computed https://github.com/beatt83/jose-swift.git at 6.0.3 (0.53s)
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/DLTAStudio/zlib.git
Fetching https://github.com/apple/swift-asn1.git
[1/60] Fetching zlib
[61/1856] Fetching zlib, swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.26s)
[1/17329] Fetching swift-crypto
[1561/27606] Fetching swift-crypto, secp256k1.swift
Fetched https://github.com/DLTAStudio/zlib.git from cache (2.15s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (2.19s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.19s)
Computing version for https://github.com/DLTAStudio/zlib.git
Computed https://github.com/DLTAStudio/zlib.git at 1.0.1 (2.73s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.15.0 (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.08s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.71s)
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.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/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.9.0
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/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/beatt83/jose-swift.git
Working copy of https://github.com/beatt83/jose-swift.git resolved at 6.0.3
Building for debugging...
[0/392] Write sources
[8/392] Copying PrivacyInfo.xcprivacy
[9/392] Write sources
[14/392] Copying PrivacyInfo.xcprivacy
[16/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 fiat_p256_adx_sqr.S
[19/392] Compiling precomputed_ecmult.c
[19/392] Compiling CCryptoBoringSSLShims shims.c
[19/392] Compiling secp256k1.c
[19/392] Compiling Utility.c
[19/392] Compiling precomputed_ecmult_gen.c
[19/392] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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...
/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.
[0/373] Compiling ZlibShims ZlibShim.c
[0/373] Compiling md5-x86_64-linux.S
[0/373] Compiling fiat_p256_adx_mul.S
[0/373] Compiling fiat_curve25519_adx_mul.S
[0/373] Compiling CCryptoBoringSSLShims shims.c
[0/373] Compiling fiat_p256_adx_sqr.S
[0/373] Compiling md5-x86_64-apple.S
[0/373] Compiling fiat_curve25519_adx_square.S
BUILD FAILURE 6.1 wasm