The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenID4VP, reference main (dc9c38), with Swift 6.4 for Wasm on 20 Nov 2026 20:37:46 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.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-ios-openid4vp-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-ios-openid4vp-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dc9c387 Security fixes: `WRPRC`, `JAR`,  `legal name`
Cloned https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vp-swift.git
Revision (git rev-parse @):
dc9c3871381a6731933f45a8095476e74421a9e5
SUCCESS checkout https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vp-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vp-swift.git
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.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/apple/swift-asn1.git
Fetching https://github.com/airsidemobile/JOSESwift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[1/2082] Fetching swift-asn1
[689/14714] Fetching swift-asn1, joseswift
[1564/21034] Fetching swift-asn1, joseswift, swiftyjson
[9286/28721] Fetching swift-asn1, joseswift, swiftyjson, swift-certificates
[9477/42167] Fetching swift-asn1, joseswift, swiftyjson, swift-certificates, cryptoswift
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git (0.66s)
Fetched https://github.com/apple/swift-asn1.git (0.68s)
[22471/33765] Fetching joseswift, swift-certificates, cryptoswift
Fetched https://github.com/airsidemobile/JOSESwift.git (0.68s)
[9973/21133] Fetching swift-certificates, cryptoswift
Fetched https://github.com/apple/swift-certificates.git (0.72s)
[3631/13446] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.23s)
Computing version for https://github.com/airsidemobile/JOSESwift.git
Computed https://github.com/airsidemobile/JOSESwift.git at 3.0.0 (1.40s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.87s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (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.89s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18987] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.29s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (1.53s)
Creating working copy for https://github.com/airsidemobile/JOSESwift.git
Working copy of https://github.com/airsidemobile/JOSESwift.git resolved at 3.0.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 5.1.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/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 24]
[Pre-planning 1 / 510]
[Planning deferred tasks]
[Constructing 661 / 1454]
[76 / 560]
[114 / 577] _CertificateInternals
[116 / 577] _CertificateInternals
[126 / 577] SwiftASN1
[132 / 577] SwiftyJSON-product
[136 / 578] _CertificateInternals
[148 / 579]
[150 / 581] CryptoBoringWrapper
[154 / 598] JOSESwift
[156 / 598] CryptoBoringWrapper
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate 
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber.<:2:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/DerivedSources/resource_bundle_accessor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/Objects-normal/wasm32/SwiftyJSON.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/Objects-normal/wasm32/SwiftyJSON.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/Objects-normal/wasm32/SwiftyJSON.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/Objects-normal/wasm32/SwiftyJSON.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyJSON -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/Objects-normal/wasm32/SwiftyJSON_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/Objects-normal/wasm32/SwiftyJSON.o -index-unit-output-path /SwiftyJSON.build/Debug-webassembly-wasm32/SwiftyJSON-t.build/Objects-normal/wasm32/SwiftyJSON.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm