Build Information
Failed to build SpeziStorage, reference 2.1.4 (79ce6a), with Swift 6.1 for Wasm on 1 Apr 2026 18:38:23 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziStorage.git
Reference: 2.1.4
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/StanfordSpezi/SpeziStorage
* tag 2.1.4 -> FETCH_HEAD
HEAD is now at 79ce6a2 swift 6.3 support (#41)
Cloned https://github.com/StanfordSpezi/SpeziStorage.git
Revision (git rev-parse @):
79ce6a23f61d38b175b8ee681cc74d7fc93fb8cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziStorage.git
https://github.com/StanfordSpezi/SpeziStorage.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "spezi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/Spezi.git"
},
{
"identity" : "spezifoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.7",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
},
{
"identity" : "xctruntimeassertions",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordBDHG/XCTRuntimeAssertions.git"
}
],
"manifest_display_name" : "SpeziStorage",
"name" : "SpeziStorage",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SpeziLocalStorage",
"targets" : [
"SpeziLocalStorage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziKeychainStorage",
"targets" : [
"SpeziKeychainStorage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziStorageTests",
"module_type" : "SwiftTarget",
"name" : "SpeziStorageTests",
"path" : "Tests/SpeziStorageTests",
"product_dependencies" : [
"XCTSpezi"
],
"sources" : [
"LocalStorageTests.swift"
],
"target_dependencies" : [
"SpeziLocalStorage"
],
"type" : "test"
},
{
"c99name" : "SpeziLocalStorage",
"module_type" : "SwiftTarget",
"name" : "SpeziLocalStorage",
"path" : "Sources/SpeziLocalStorage",
"product_dependencies" : [
"Spezi",
"SpeziFoundation"
],
"product_memberships" : [
"SpeziLocalStorage"
],
"sources" : [
"LocalStorage.swift",
"LocalStorageEntry.swift",
"LocalStorageError.swift",
"LocalStorageKey.swift",
"LocalStorageSetting.swift"
],
"target_dependencies" : [
"SpeziKeychainStorage"
],
"type" : "library"
},
{
"c99name" : "SpeziKeychainStorage",
"module_type" : "SwiftTarget",
"name" : "SpeziKeychainStorage",
"path" : "Sources/SpeziKeychainStorage",
"product_dependencies" : [
"Spezi",
"RuntimeAssertions"
],
"product_memberships" : [
"SpeziLocalStorage",
"SpeziKeychainStorage"
],
"sources" : [
"Credentials/Credentials.swift",
"Credentials/CredentialsKind.swift",
"Credentials/CredentialsTag.swift",
"Credentials/KeychainStorage+Credentials.swift",
"CryptographicKeys/CryptographicKeyTag.swift",
"CryptographicKeys/KeychainStorage+CryptographicKeys.swift",
"CryptographicKeys/SecKey+Extensions.swift",
"KeychainItemAccessibility.swift",
"KeychainItemStorageOption.swift",
"KeychainStorage.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:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/735] Fetching xctruntimeassertions
[567/3627] Fetching xctruntimeassertions, spezifoundation
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.37s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.37s)
[1/10260] Fetching spezi
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.41s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (3.10s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (1.07s)
Fetching https://github.com/apple/swift-collections.git
[1/23339] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.4 (2.67s)
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
[1/63157] Fetching zstd
[2/64977] Fetching zstd, swift-atomics
[3/71035] Fetching zstd, swift-atomics, swift-algorithms
[1780/77367] Fetching zstd, swift-atomics, swift-algorithms, swift-log
[8023/77538] Fetching zstd, swift-atomics, swift-algorithms, swift-log, threadlocal
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.59s)
[17241/77367] Fetching zstd, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.93s)
[24390/75547] Fetching zstd, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-log from cache (4.87s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.87s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (4.94s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (8.63s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.28s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.00s)
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.00s)
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.6.0 (1.20s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.87s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.72s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
Building for debugging...
[0/18] Write sources
[1/18] Copying Info.plist
[1/18] Copying Localizable.xcstrings
[1/18] Copying Localizable.xcstrings.license
[7/18] Write sources
[14/18] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[15/18] Compiling _AtomicsShims.c
[16/18] Compiling _NumericsShims _NumericsShims.c
[17/18] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/79] Emitting module RuntimeAssertions
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
[20/80] Emitting module Atomics
[21/82] Compiling Logging LogEvent.swift
[22/82] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/82] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[24/84] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[25/84] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/84] Compiling InternalCollectionsUtilities String+Padding.swift
[27/84] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[28/84] Compiling RealModule Float80+Real.swift
[29/84] Compiling InternalCollectionsUtilities Integer rank.swift
[30/84] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/84] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/84] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[33/84] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[34/84] Compiling InternalCollectionsUtilities Span+Extras.swift
[35/85] Compiling RealModule Float16+Real.swift
[36/85] Compiling RealModule Real.swift
[37/85] Compiling RealModule RealFunctions.swift
[38/85] Emitting module InternalCollectionsUtilities
[39/85] Compiling InternalCollectionsUtilities Debugging.swift
[40/85] Compiling InternalCollectionsUtilities Descriptions.swift
[41/85] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[42/85] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[43/85] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[51/85] Compiling InternalCollectionsUtilities _SortedCollection.swift
[52/85] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[61/85] Emitting module RealModule
[72/87] Compiling RealModule RelaxedArithmetic.swift
[76/101] Compiling Logging MetadataProvider.swift
[77/101] Compiling Logging Locks.swift
[78/113] Emitting module Logging
[79/113] Compiling Logging LogHandler.swift
[80/113] Compiling Logging Logging.swift
[82/169] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 | // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
| `- error: cannot find 'DispatchQueue' in scope
32 |
33 | let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 | let expressionWorkItem = DispatchWorkItem {
| `- error: cannot find 'DispatchWorkItem' in scope
34 | injection.withInjection(expression)
35 | }
[83/169] Compiling RuntimeAssertions Precondition.swift
[84/169] Compiling RuntimeAssertions RuntimeAssertion.swift
[85/169] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[86/169] Compiling RuntimeAssertions Assert.swift
[87/169] Compiling RuntimeAssertions Counter.swift
[88/169] Compiling RuntimeAssertions DebugOnly.swift
[89/169] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
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:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling RealModule RealFunctions.swift
[3/63] Compiling Logging MetadataProvider.swift
[4/63] Compiling RealModule RelaxedArithmetic.swift
[5/63] Compiling RuntimeAssertions NeverReturn.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
[6/64] Compiling RealModule Float80+Real.swift
[7/64] Compiling RealModule Real.swift
[8/64] Compiling Atomics ManagedAtomic.swift
[9/64] Compiling Atomics ManagedAtomicLazyReference.swift
[10/66] Compiling RuntimeAssertions DebugOnly.swift
[11/66] Compiling RuntimeAssertions Assert.swift
[12/66] Compiling RuntimeAssertions Counter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/66] Emitting module RuntimeAssertions
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/NeverReturn.swift:16:25: error: value of type 'RunLoop' has no member 'run'
14 | // This is unfortunate but as far as I can see the only feasible way to return Never without calling a runtime crashing function, e.g. `fatalError()`.
15 | repeat {
16 | RunLoop.current.run()
| `- error: value of type 'RunLoop' has no member 'run'
17 | } while (true)
18 | }
[14/66] Compiling RuntimeAssertions Precondition.swift
[15/66] Compiling RuntimeAssertions RuntimeAssertion.swift
[16/66] Compiling Atomics AtomicBool.swift
[17/66] Compiling Atomics IntegerConformances.swift
[18/66] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:31:25: error: cannot find 'DispatchQueue' in scope
29 |
30 | // We have to run the operation on a `DispatchQueue` as we have to call `RunLoop.current.run()` in the `preconditionFailure` call.
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
| `- error: cannot find 'DispatchQueue' in scope
32 |
33 | let expressionWorkItem = DispatchWorkItem {
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:33:30: error: cannot find 'DispatchWorkItem' in scope
31 | let dispatchQueue = DispatchQueue(label: "RuntimePrecondition-\(injection.id)")
32 |
33 | let expressionWorkItem = DispatchWorkItem {
| `- error: cannot find 'DispatchWorkItem' in scope
34 | injection.withInjection(expression)
35 | }
[19/66] Compiling RealModule Float16+Real.swift
[20/66] Emitting module Logging
[21/66] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/66] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[25/68] Compiling Atomics UnsafeAtomic.swift
[26/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[27/68] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[28/68] Compiling Atomics OptionalRawRepresentable.swift
[29/68] Compiling Atomics RawRepresentable.swift
[30/68] Compiling Atomics PointerConformances.swift
[31/68] Compiling Atomics Primitives.native.swift
[32/68] Compiling Atomics AtomicMemoryOrderings.swift
[33/68] Compiling Atomics DoubleWord.swift
[34/68] Compiling Atomics AtomicStorage.swift
[35/68] Compiling Atomics AtomicValue.swift
[36/68] Compiling Logging LogEvent.swift
[37/68] Compiling Logging LogHandler.swift
[38/68] Compiling Logging Locks.swift
BUILD FAILURE 6.1 wasm