Build Information
Failed to build WalletStorage, reference main (dbb58f), with Swift 6.2 for Wasm on 10 Apr 2026 00:37:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eu-digital-identity-wallet/eudi-lib-ios-wallet-storage.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-wallet-storage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dbb58fe Merge pull request #53 from german-national-wallet/fix/keychain-this-device-only
Cloned https://github.com/eu-digital-identity-wallet/eudi-lib-ios-wallet-storage.git
Revision (git rev-parse @):
dbb58fed79b5560b99be78d52d3a176de48858a2
SUCCESS checkout https://github.com/eu-digital-identity-wallet/eudi-lib-ios-wallet-storage.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-wallet-storage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/eu-digital-identity-wallet/eudi-lib-ios-iso18013-data-model.git
[1/6463] Fetching swift-log
[6464/24900] Fetching swift-log, eudi-lib-ios-iso18013-data-model
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
[185/18437] Fetching eudi-lib-ios-iso18013-data-model
Fetched https://github.com/eu-digital-identity-wallet/eudi-lib-ios-iso18013-data-model.git from cache (1.35s)
Computing version for https://github.com/eu-digital-identity-wallet/eudi-lib-ios-iso18013-data-model.git
Computed https://github.com/eu-digital-identity-wallet/eudi-lib-ios-iso18013-data-model.git at 0.11.3 (1.67s)
Fetching https://github.com/niscy-eudiw/SwiftCBOR.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[1/1209] Fetching swiftcbor
[848/7476] Fetching swiftcbor, swiftyjson
Fetched https://github.com/niscy-eudiw/SwiftCBOR.git from cache (0.40s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.41s)
Computing version for https://github.com/niscy-eudiw/SwiftCBOR.git
Computed https://github.com/niscy-eudiw/SwiftCBOR.git at 0.6.4 (0.69s)
Fetching https://github.com/apple/swift-collections.git
[1/23523] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.40s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.2 (3.48s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.55s)
Creating working copy for https://github.com/eu-digital-identity-wallet/eudi-lib-ios-iso18013-data-model.git
Working copy of https://github.com/eu-digital-identity-wallet/eudi-lib-ios-iso18013-data-model.git resolved at 0.11.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.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
Creating working copy for https://github.com/niscy-eudiw/SwiftCBOR.git
Working copy of https://github.com/niscy-eudiw/SwiftCBOR.git resolved at 0.6.4
Building for debugging...
[0/16] Write sources
[7/16] Copying PrivacyInfo.xcprivacy
[7/16] Write sources
[15/16] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/22] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
46 | #endif
47 | #else
48 | #error("The concurrency lock module was unable to identify your C library.")
| `- error: The concurrency lock module was unable to identify your C library.
49 | #endif
50 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1510:16: error: Unsupported runtime
1508 | )
1509 | #else
1510 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1511 | #endif
1512 | }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 | )
1581 | #else
1582 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1583 | #endif
1584 | }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 | UnsafeMutablePointer.allocate(capacity: 1)
193 | #else
194 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
195 | UnsafeMutablePointer.allocate(capacity: 1)
196 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
988 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
989 | /// `.critical` being the most severe.
990 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
991 | /// Appropriate for messages that contain information normally of use only when
992 | /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 | }
1441 |
1442 | internal static let stderr: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 | #if canImport(Darwin)
1444 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 | }()
1513 |
1514 | internal static let stdout: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 | #if canImport(Darwin)
1516 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 | #else
1770 | var timestamp = time(nil)
1771 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1772 | return "<unknown>"
1773 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 | return "<unknown>"
1773 | }
1774 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1775 | #endif
1776 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 | switch self {
1894 | case .dictionary(let dict):
1895 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1896 | case .array(let list):
1897 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1897:48: error: 'description' is unavailable: unavailable in embedded Swift
1895 | return dict.mapValues { $0.description }.description
1896 | case .array(let list):
1897 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1898 | case .string(let str):
1899 | return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/22] Emitting module SwiftyJSON
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:23:8: error: no such module 'Foundation'
21 | // THE SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | // MARK: - Error
[19/22] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:48:8: error: The concurrency lock module was unable to identify your C library.
46 | #endif
47 | #else
48 | #error("The concurrency lock module was unable to identify your C library.")
| `- error: The concurrency lock module was unable to identify your C library.
49 | #endif
50 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1510:16: error: Unsupported runtime
1508 | )
1509 | #else
1510 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1511 | #endif
1512 | }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1582:16: error: Unsupported runtime
1580 | )
1581 | #else
1582 | #error("Unsupported runtime")
| `- error: Unsupported runtime
1583 | #endif
1584 | }()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/MetadataProvider.swift:28:8: error: Unsupported runtime
26 | import WASILibc
27 | #else
28 | #error("Unsupported runtime")
| `- error: Unsupported runtime
29 | #endif
30 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:194:50: error: cannot find type 'pthread_rwlock_t' in scope
192 | UnsafeMutablePointer.allocate(capacity: 1)
193 | #else
194 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
195 | UnsafeMutablePointer.allocate(capacity: 1)
196 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:990:32: error: 'Codable' is unavailable: unavailable in embedded Swift
988 | /// Log levels are ordered by their severity, with `.trace` being the least severe and
989 | /// `.critical` being the most severe.
990 | public enum Level: String, Codable, CaseIterable {
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
991 | /// Appropriate for messages that contain information normally of use only when
992 | /// tracing the execution of a program.
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1442:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1440 | }
1441 |
1442 | internal static let stderr: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1443 | #if canImport(Darwin)
1444 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1514:53: error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1512 | }()
1513 |
1514 | internal static let stdout: StdioOutputStream = {
| `- error: cannot convert value of type '()' to closure result type 'StdioOutputStream'
1515 | #if canImport(Darwin)
1516 | return StdioOutputStream(
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:25: error: cannot find 'time' in scope
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: cannot find 'time' in scope
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1770:30: error: 'nil' requires a contextual type
1768 | _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1769 | #else
1770 | var timestamp = time(nil)
| `- error: 'nil' requires a contextual type
1771 | guard let localTime = localtime(×tamp) else {
1772 | return "<unknown>"
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1771:31: error: cannot find 'localtime' in scope
1769 | #else
1770 | var timestamp = time(nil)
1771 | guard let localTime = localtime(×tamp) else {
| `- error: cannot find 'localtime' in scope
1772 | return "<unknown>"
1773 | }
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1774:9: error: cannot find 'strftime' in scope
1772 | return "<unknown>"
1773 | }
1774 | strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
| `- error: cannot find 'strftime' in scope
1775 | #endif
1776 | return buffer.withUnsafeBufferPointer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1895:54: error: 'description' is unavailable: unavailable in embedded Swift
1893 | switch self {
1894 | case .dictionary(let dict):
1895 | return dict.mapValues { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1896 | case .array(let list):
1897 | return list.map { $0.description }.description
Swift.Dictionary.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Dictionary {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1897:48: error: 'description' is unavailable: unavailable in embedded Swift
1895 | return dict.mapValues { $0.description }.description
1896 | case .array(let list):
1897 | return list.map { $0.description }.description
| `- error: 'description' is unavailable: unavailable in embedded Swift
1898 | case .string(let str):
1899 | return str
Swift.Array.description:2:12: note: 'description' has been explicitly marked unavailable here
1 | generic struct Array {
2 | public var description: String { get }}
| `- note: 'description' has been explicitly marked unavailable here
3 |
BUILD FAILURE 6.2 wasm