Build Information
Failed to build SpeziStorage, reference main (79ce6a), with Swift 6.1 for Wasm on 1 Apr 2026 18:39:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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/StanfordSpezi/SpeziStorage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-2":/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/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
[736/3627] Fetching xctruntimeassertions, spezifoundation
[3166/13887] Fetching xctruntimeassertions, spezifoundation, spezi
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.30s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.31s)
[2463/10260] Fetching spezi
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.48s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (1.12s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.71s)
Fetching https://github.com/apple/swift-collections.git
[1/23339] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.18s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.4 (1.95s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/1820] Fetching swift-atomics
[1203/64977] Fetching swift-atomics, zstd
[2453/71035] Fetching swift-atomics, zstd, swift-algorithms
[3267/77367] Fetching swift-atomics, zstd, swift-algorithms, swift-log
[23053/77538] Fetching swift-atomics, zstd, swift-algorithms, swift-log, threadlocal
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.50s)
Fetched https://github.com/apple/swift-log from cache (0.50s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[12000/63157] Fetching zstd
Fetched https://github.com/StanfordBDHG/zstd.git from cache (3.44s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.69s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.94s)
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 (0.78s)
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.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.77s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.52s)
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/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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
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
Building for debugging...
[0/18] Write sources
[0/18] Copying Localizable.xcstrings
[0/18] Copying Info.plist
[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
[19/79] Emitting module InternalCollectionsUtilities
[20/79] Compiling InternalCollectionsUtilities Debugging.swift
[21/79] Compiling InternalCollectionsUtilities Descriptions.swift
[22/79] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/81] Compiling RealModule Float16+Real.swift
[24/81] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[25/81] Compiling InternalCollectionsUtilities UInt+reversed.swift
[26/82] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[27/82] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[28/82] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[29/82] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/82] Compiling InternalCollectionsUtilities _SortedCollection.swift
[31/82] Compiling InternalCollectionsUtilities _UniqueCollection.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/82] 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 | }
[36/83] Compiling InternalCollectionsUtilities Integer rank.swift
[37/83] Emitting module RealModule
[38/83] Compiling RealModule Float80+Real.swift
[39/83] Compiling RealModule Real.swift
[40/83] Compiling RealModule RealFunctions.swift
[41/83] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[42/83] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[43/83] Compiling InternalCollectionsUtilities String+Padding.swift
[44/83] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[50/85] Emitting module Atomics
[54/85] Compiling RealModule RelaxedArithmetic.swift
[59/85] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[60/85] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[61/85] Compiling InternalCollectionsUtilities Span+Extras.swift
[64/86] Compiling Logging LogEvent.swift
[73/87] Emitting module Logging
[74/87] Compiling Logging Locks.swift
[75/87] Compiling Atomics IntegerOperations.swift
[76/87] Compiling Atomics Unmanaged extensions.swift
[77/87] Compiling Logging MetadataProvider.swift
[78/161] Compiling Logging LogHandler.swift
[79/161] Compiling Logging Logging.swift
[81/169] Compiling RuntimeAssertions Precondition.swift
[82/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 | }
[83/169] Compiling RuntimeAssertions RuntimeAssertion.swift
[84/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 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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/62] Compiling Logging LogEvent.swift
[3/62] Compiling Logging LogHandler.swift
[4/62] Compiling RealModule RealFunctions.swift
[5/63] Compiling Atomics AtomicStorage.swift
[6/63] Compiling Atomics AtomicValue.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/65] 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 | }
[8/65] Compiling RuntimeAssertions Assert.swift
[9/65] Compiling Atomics UnsafeAtomic.swift
[10/65] Compiling Atomics UnsafeAtomicLazyReference.swift
[11/65] Compiling RuntimeAssertions Counter.swift
[12/65] Compiling Logging MetadataProvider.swift
[13/68] Compiling Logging Locks.swift
[14/68] Emitting module Logging
[15/68] Compiling RuntimeAssertions DebugOnly.swift
[16/68] Compiling RealModule Float80+Real.swift
[17/68] Compiling RealModule Real.swift
[18/68] 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 | }
[19/68] Compiling RuntimeAssertions Precondition.swift
[20/68] Compiling RealModule RelaxedArithmetic.swift
[21/68] Compiling RuntimeAssertions RuntimeAssertion.swift
[22/68] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[23/68] Compiling Atomics AtomicMemoryOrderings.swift
[24/68] Compiling Atomics DoubleWord.swift
[25/68] Compiling Atomics ManagedAtomic.swift
[26/68] Compiling Atomics ManagedAtomicLazyReference.swift
[29/68] Compiling RealModule Float16+Real.swift
[30/68] Compiling InternalCollectionsUtilities _SortedCollection.swift
[31/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[32/68] Emitting module RealModule
[33/68] Compiling Atomics PointerConformances.swift
[34/68] Compiling Atomics Primitives.native.swift
[35/68] 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 | }
[36/68] Compiling Atomics OptionalRawRepresentable.swift
[37/68] Compiling Atomics RawRepresentable.swift
[38/68] Compiling Atomics AtomicBool.swift
[39/68] Compiling Atomics IntegerConformances.swift
BUILD FAILURE 6.1 wasm