The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenID4VCI, reference main (1f9c70), with Swift 6.2 for Wasm on 24 Nov 2026 03:57:31 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.2-latest swift build --swift-sdk swift-6.2-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-openid4vci-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-openid4vci-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f9c70e fix: refuse a plaintext credential response after the wallet asked for encryption
Cloned https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vci-swift.git
Revision (git rev-parse @):
1f9c70e5402380839c79b44d43c1d6485f40da4c
SUCCESS checkout https://github.com/eu-digital-identity-wallet/eudi-lib-ios-openid4vci-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-ios-openid4vci-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/airsidemobile/JOSESwift.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[1/7276] Fetching swiftsoup
[1384/19908] Fetching swiftsoup, joseswift
[9980/26228] Fetching swiftsoup, joseswift, swiftyjson
Fetched https://github.com/airsidemobile/JOSESwift.git from cache (0.63s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.63s)
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.63s)
Computing version for https://github.com/airsidemobile/JOSESwift.git
Computed https://github.com/airsidemobile/JOSESwift.git at 3.0.0 (0.79s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (0.84s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.4 (0.13s)
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.14.4
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.2
warning: 'joseswift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Support/Info.plist
Building for debugging...
[0/50] Write sources
[0/50] Copying credential_issuer_metadata_with_signed_invalid.txt
[0/50] Copying well_known_response.json
[0/50] Copying credential_offer_with_auth_server_hint.json
[0/50] Copying credential_issuer_metadata_with_signed_partial.txt
[0/50] Copying credential_issuer_metadata_with_signed_full.txt
[0/50] Copying credential_issuer_metadata_valid.json
[0/50] Copying PrivacyInfo.xcprivacy
[1/50] Copying web_signature.jws
[1/50] Copying test.json
[2/50] Copying single_issuance_success_response_deffered.json
[8/50] Copying pushed_authorization_request_response.json
[11/50] Copying sample_credential_offer.json
[12/50] Copying single_issuance_success_response_credential.json
[13/50] Copying openid-credential-issuer_no_encryption_batch.json
[14/50] Copying openid-credential-issuer_no_encryption.json
[16/50] Copying openid-credential-issuer_key_attestation_required.json
[17/50] Copying openid-credential-issuer_encrypted_responses.json
[17/50] Copying oidc_authorization_server_metadata_auth_server_example.json
[17/50] Copying oidc_authorization_server_metadata.json
[17/50] Copying no_proof_generic_error_response.json
[18/50] Copying mock_cnonce_endpoint_response.json
[21/50] Copying generic_error_response.json
[22/50] Copying empty_response.json
[24/50] Copying credential_offer_with_unknown_format.json
[25/50] Copying credential_offer_with_second_auth_server_hint.json
[26/50] Copying credential_offer_with_pre_auth_server_hint.json
[26/50] Copying credential_offer_with_invalid_auth_server_hint.json
[26/50] Copying credential_offer_with_different_auth_servers.json
[26/50] Copying credential_offer_with_blank_pre_authorized_code.json
[26/50] Copying credential_offer_with_blank_issuer_state.json
[26/50] Copying credential_issuer_metadata_no_request_encryption_optional_response.json
[32/50] Copying openid-configuration.json
[33/50] Copying openid-credential-issuer_attestation_only.json
[34/50] Copying credential_issuer_metadata_no_asymmetric_algs.json
[35/50] Copying oauth_authorization_server_metadata.json
[36/50] Copying invalid_credential_issuer_metadata.json
[37/50] Copying credential_issuer_metadata.json
[37/50] Copying credential_issuer_metadata_multiple_auth_servers.json
[39/50] Copying oauth_authorization_server_metadata_two.json
[40/50] Copying batch_credential_issuance_success_response_credentials.json
[40/50] Copying attestation_challenge.json
[41/50] Copying access_token_request_response_no_proof_auth_details.json
[43/50] Write sources
[44/50] Copying batch_issuance_success_response_credential.json
[44/50] Write sources
[45/50] Copying credential_issuer_metadata_no_request_encryption.json
[47/50] Copying access_token_request_response_no_proof.json
[48/50] Copying access_token_request_response.json
[49/50] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/110] Emitting module JOSESwift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[52/118] Compiling JOSESwift PBES2KeyEncryptionMode.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[53/118] Compiling JOSESwift RSAKeyEncryptionMode.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[54/118] Compiling JOSESwift KeyManagementMode.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[55/118] Compiling JOSESwift DataECPrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[56/118] Compiling JOSESwift DataECPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[57/118] Compiling JOSESwift ECKeyCodable.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[58/118] Compiling JOSESwift ECKeyPair.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[59/118] Compiling JOSESwift ECKeys.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[60/118] Compiling JOSESwift SecKeyECPrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[61/118] Compiling JOSESwift SecKeyECPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[62/118] Compiling JOSESwift JWK.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[63/118] Compiling JOSESwift JWKExtensions.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[64/118] Compiling JOSESwift JWKParameters.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[65/118] Compiling JOSESwift JWKSet.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[66/118] Compiling JOSESwift JWKSetCodable.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[67/118] Compiling JOSESwift DataRSAPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[68/118] Compiling JOSESwift RSAKeyCodable.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[69/118] Compiling JOSESwift RSAKeys.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[70/118] Compiling JOSESwift SecKeyRSAPublicKey.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[71/118] Compiling JOSESwift DataSymmetricKey.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[72/118] Compiling JOSESwift SymmetricKeyCodable.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[73/118] Compiling JOSESwift SymmetricKeys.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[74/118] Compiling JOSESwift ECSigner.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[75/118] Compiling JOSESwift ECVerifier.swift
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
[76/118] Emitting module SwiftyJSON
[77/118] Compiling SwiftyJSON resource_bundle_accessor.swift
[78/118] Compiling SwiftyJSON 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 |
/host/spi-builder-workspace/.build/checkouts/JOSESwift/JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift:25:8: error: no such module 'CommonCrypto'
 23 |
 24 | import Foundation
 25 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
 26 |
 27 | internal enum AESError: Error {
BUILD FAILURE 6.2 wasm