Build Information
Failed to build SpeziSensorKit, reference 0.6.3 (8addfd), with Swift 6.1 for Wasm on 6 Apr 2026 22:54:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/SpeziSensorKit.git
Reference: 0.6.3
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/SpeziSensorKit
* tag 0.6.3 -> FETCH_HEAD
HEAD is now at 8addfd5 try to fix deadlock (#17)
Cloned https://github.com/StanfordSpezi/SpeziSensorKit.git
Revision (git rev-parse @):
8addfd5f8ca54d85409ad9c70391859d44df227b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziSensorKit.git at 0.6.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziSensorKit.git
https://github.com/StanfordSpezi/SpeziSensorKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "spezi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/Spezi.git"
},
{
"identity" : "spezifoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
},
{
"identity" : "spezistorage",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.3",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziStorage.git"
}
],
"manifest_display_name" : "SpeziSensorKit",
"name" : "SpeziSensorKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SpeziSensorKit",
"targets" : [
"SpeziSensorKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziSensorKitTests",
"module_type" : "SwiftTarget",
"name" : "SpeziSensorKitTests",
"path" : "Tests/SpeziSensorKitTests",
"sources" : [
"SensorKitTests.swift"
],
"target_dependencies" : [
"SpeziSensorKit"
],
"type" : "test"
},
{
"c99name" : "SpeziSensorKit",
"module_type" : "SwiftTarget",
"name" : "SpeziSensorKit",
"path" : "Sources/SpeziSensorKit",
"product_dependencies" : [
"Spezi",
"SpeziFoundation",
"SpeziLocalStorage"
],
"product_memberships" : [
"SpeziSensorKit"
],
"sources" : [
"QueryAnchor.swift",
"Sample Types/Acceleration.swift",
"Sample Types/AmbientLight.swift",
"Sample Types/AmbientPressure.swift",
"Sample Types/DeviceUsage.swift",
"Sample Types/ECG.swift",
"Sample Types/HeartRate.swift",
"Sample Types/OnWrist.swift",
"Sample Types/Other+Unsafe.swift",
"Sample Types/Other.swift",
"Sample Types/Pedometer.swift",
"Sample Types/RotationRate.swift",
"Sample Types/Visit.swift",
"Sensor Reader/AnchoredFetcher+NumSamplesFetching.swift",
"Sensor Reader/AnchoredFetcher+TimeIntervalFetching.swift",
"Sensor Reader/AnchoredFetcher.swift",
"Sensor Reader/FetchResult.swift",
"Sensor Reader/FetchResultsIterator.swift",
"Sensor/AnySensor+Operations.swift",
"Sensor/AnySensor.swift",
"Sensor/Sensor+WellKnown.swift",
"Sensor/Sensor.swift",
"Sensor/SensorSample.swift",
"SensorKit+Availability.swift",
"SensorKit+LocalStorage.swift",
"SensorKit.swift",
"Utils/AsyncSequence.swift",
"Utils/SensorKitUtils.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/2954] Fetching spezifoundation
[1626/4669] Fetching spezifoundation, spezistorage
[3091/15002] Fetching spezifoundation, spezistorage, spezi
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.51s)
[3679/12048] Fetching spezistorage, spezi
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.88s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.89s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (1.73s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.26s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (1.14s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (1.39s)
Fetching https://github.com/apple/swift-collections.git
[1/23426] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (6.17s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.4 (8.70s)
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1820] Fetching swift-atomics
[238/1991] Fetching swift-atomics, threadlocal
[637/65148] Fetching swift-atomics, threadlocal, zstd
[1542/71497] Fetching swift-atomics, threadlocal, zstd, swift-log
[1543/77555] Fetching swift-atomics, threadlocal, zstd, swift-log, swift-algorithms
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.76s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.76s)
[21881/75564] Fetching zstd, swift-log, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.83s)
[18349/69506] Fetching zstd, swift-log
Fetched https://github.com/apple/swift-log from cache (4.06s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (4.12s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.86s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.99s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (0.00s)
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.89s)
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.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.16s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.75s)
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/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.4
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-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
Working copy of https://github.com/apple/swift-log resolved at 1.11.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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.1
Building for debugging...
[0/19] Write sources
[0/19] Copying Localizable.xcstrings
[0/19] Copying Localizable.xcstrings.license
[0/19] Copying Info.plist
[0/19] Write sources
[15/19] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[16/19] Compiling _AtomicsShims.c
[17/19] Compiling _NumericsShims _NumericsShims.c
[18/19] Write swift-version-24593BA9C3E375BF.txt
[20/80] Emitting module InternalCollectionsUtilities
[21/82] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[22/82] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/82] Compiling InternalCollectionsUtilities Span+Extras.swift
[24/82] Emitting module RealModule
[25/83] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[26/83] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[27/85] Compiling RealModule Double+Real.swift
[28/85] Compiling RealModule ElementaryFunctions.swift
[29/85] Compiling RealModule Float+Real.swift
[30/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/85] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/85] Compiling Atomics IntegerOperations.swift
[35/85] Compiling Atomics Unmanaged extensions.swift
[36/85] Compiling RealModule RelaxedArithmetic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/85] 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 | }
[38/86] Compiling InternalCollectionsUtilities String+Padding.swift
[39/86] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[40/86] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[41/86] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[42/86] Compiling RealModule Real.swift
[43/86] Compiling RealModule RealFunctions.swift
[44/86] Compiling RealModule Float80+Real.swift
[45/86] Compiling RealModule AlgebraicField.swift
[46/86] Compiling RealModule ApproximateEquality.swift
[47/86] Compiling RealModule AugmentedArithmetic.swift
[48/86] Compiling Logging LogEvent.swift
[51/86] Compiling RealModule Float16+Real.swift
[71/88] Emitting module Atomics
[77/169] Emitting module Logging
[78/169] Compiling Logging Locks.swift
[79/169] Compiling Logging MetadataProvider.swift
[80/169] Compiling Logging LogHandler.swift
[81/169] Compiling Logging Logging.swift
[83/170] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[84/170] Compiling RuntimeAssertions RuntimeAssertion.swift
[85/170] Compiling RuntimeAssertions Assert.swift
[86/170] 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 | }
[87/170] Compiling RuntimeAssertions Counter.swift
[88/170] Compiling RuntimeAssertions Precondition.swift
[89/170] Compiling RuntimeAssertions DebugOnly.swift
[90/170] 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-4606859-1":/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 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 | }
[3/63] Compiling RealModule RealFunctions.swift
[4/64] Compiling RuntimeAssertions DebugOnly.swift
[5/64] Compiling RuntimeAssertions Counter.swift
[6/64] Compiling RuntimeAssertions Assert.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/64] 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/64] Compiling Logging MetadataProvider.swift
[9/64] Compiling RuntimeAssertions Precondition.swift
[10/64] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[11/64] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[12/64] Compiling Logging Locks.swift
[13/66] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/66] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/68] Compiling RealModule Float80+Real.swift
[16/68] Compiling RealModule Real.swift
[17/68] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[18/68] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[19/68] Compiling RealModule RelaxedArithmetic.swift
[20/68] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[21/68] Compiling InternalCollectionsUtilities Integer rank.swift
[22/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 | }
[23/68] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[24/68] Compiling InternalCollectionsUtilities UInt+reversed.swift
[26/68] Compiling InternalCollectionsUtilities String+Padding.swift
[27/68] Compiling Atomics IntegerOperations.swift
[28/68] Compiling Atomics Unmanaged extensions.swift
[29/68] Compiling RealModule Float16+Real.swift
[30/68] Compiling InternalCollectionsUtilities Span+Extras.swift
[31/68] Compiling InternalCollectionsUtilities Debugging.swift
[32/68] Compiling RuntimeAssertions RuntimeAssertion.swift
[33/68] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[34/68] Compiling Logging LogHandler.swift
[35/68] Compiling Logging LogEvent.swift
[36/68] Emitting module Logging
BUILD FAILURE 6.1 wasm