The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziSensorKit, reference main (8addfd), with Swift 6.1 for Wasm on 6 Apr 2026 22:58:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziSensorKit.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/SpeziSensorKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-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/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordSpezi/Spezi.git
[1/1715] Fetching spezistorage
[1716/4669] Fetching spezistorage, spezifoundation
[2366/15002] Fetching spezistorage, spezifoundation, spezi
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.31s)
[6159/12048] Fetching spezistorage, spezi
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.46s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.47s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (1.23s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.28s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (1.20s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.83s)
Fetching https://github.com/apple/swift-collections.git
[1/23426] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.11s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.4 (4.31s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
[1/63157] Fetching zstd
[633/69215] Fetching zstd, swift-algorithms
[18691/71035] Fetching zstd, swift-algorithms, swift-atomics
[20646/71206] Fetching zstd, swift-algorithms, swift-atomics, threadlocal
[21470/77555] Fetching zstd, swift-algorithms, swift-atomics, threadlocal, swift-log
Fetched https://github.com/apple/swift-algorithms.git from cache (1.16s)
[29794/71497] Fetching zstd, swift-atomics, threadlocal, swift-log
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (1.22s)
[32801/71326] Fetching zstd, swift-atomics, swift-log
Fetched https://github.com/apple/swift-log from cache (1.23s)
[27083/64977] Fetching zstd, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (4.61s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (4.67s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (7.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.16s)
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 (2.19s)
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.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.13s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.59s)
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
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/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/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/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.4
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/19] Write sources
[0/19] Copying Localizable.xcstrings.license
[0/19] Write sources
[0/19] Copying Localizable.xcstrings
[0/19] Copying Info.plist
[0/19] Write sources
[15/19] Compiling _NumericsShims _NumericsShims.c
[16/19] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[17/19] Compiling _AtomicsShims.c
[18/19] Write swift-version-24593BA9C3E375BF.txt
[20/80] Emitting module InternalCollectionsUtilities
[21/82] Emitting module Atomics
[22/84] Compiling Atomics IntegerOperations.swift
[23/84] Compiling Atomics Unmanaged extensions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/84] 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 | }
[25/85] Compiling Atomics ManagedAtomic.swift
[26/85] Compiling Atomics ManagedAtomicLazyReference.swift
[27/85] Compiling Atomics AtomicInteger.swift
[28/85] Compiling Atomics AtomicOptionalWrappable.swift
[29/85] Compiling Atomics AtomicReference.swift
[30/85] Compiling Atomics UnsafeAtomic.swift
[31/85] Compiling Atomics UnsafeAtomicLazyReference.swift
[32/85] Compiling Logging LogHandler.swift
[33/85] Compiling RealModule Float80+Real.swift
[34/86] Compiling Logging LogEvent.swift
[39/86] Compiling Atomics AtomicStorage.swift
[40/86] Compiling Atomics AtomicValue.swift
[41/86] Compiling Atomics AtomicMemoryOrderings.swift
[42/86] Compiling Atomics DoubleWord.swift
[43/86] Emitting module RealModule
[44/86] Compiling Atomics OptionalRawRepresentable.swift
[45/86] Compiling Atomics RawRepresentable.swift
[46/86] Compiling RealModule RealFunctions.swift
[51/86] Compiling RealModule Real.swift
[55/86] Compiling Atomics AtomicBool.swift
[56/86] Compiling Atomics IntegerConformances.swift
[57/86] Compiling Atomics PointerConformances.swift
[58/86] Compiling Atomics Primitives.native.swift
[65/87] Compiling RealModule Float16+Real.swift
[69/87] Compiling RealModule RelaxedArithmetic.swift
[78/169] Compiling Logging MetadataProvider.swift
[79/169] Emitting module Logging
[80/169] Compiling Logging Locks.swift
[81/169] Compiling Logging Logging.swift
[83/170] Compiling RuntimeAssertions Counter.swift
[84/170] Compiling RuntimeAssertions Assert.swift
[85/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[86/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[87/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[88/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[89/170] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[90/170] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[91/170] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[92/177] Compiling RuntimeAssertions RuntimeAssertion.swift
[93/177] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[94/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[95/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[96/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[97/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[98/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[99/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[100/177] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[101/177] 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 |     }
[102/177] 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 | }
[103/177] Compiling RuntimeAssertions DebugOnly.swift
[104/177] Compiling RuntimeAssertions Precondition.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/62] Compiling RealModule Float80+Real.swift
[3/63] Compiling RealModule RealFunctions.swift
[4/63] Compiling Logging Locks.swift
[5/63] Compiling RuntimeAssertions Assert.swift
[6/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 | }
[7/63] Compiling Logging MetadataProvider.swift
[8/63] Compiling Atomics AtomicStorage.swift
[9/63] Compiling Atomics AtomicValue.swift
[10/63] Compiling Atomics OptionalRawRepresentable.swift
[11/63] Compiling RuntimeAssertions DebugOnly.swift
[12/66] Compiling Logging LogHandler.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 Counter.swift
[15/66] Compiling Logging LogEvent.swift
[16/66] Compiling RealModule RelaxedArithmetic.swift
[17/66] Compiling Atomics ManagedAtomic.swift
[18/66] Compiling Atomics ManagedAtomicLazyReference.swift
[19/66] Compiling RealModule Real.swift
[20/66] Compiling RuntimeAssertions Precondition.swift
[21/66] Compiling RuntimeAssertions RuntimeAssertion.swift
[22/66] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[23/66] Compiling Atomics UnsafeAtomic.swift
[24/66] Compiling Atomics UnsafeAtomicLazyReference.swift
[25/66] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/66] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[29/68] Compiling RealModule Float16+Real.swift
[30/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 |     }
[31/68] Emitting module Logging
[34/68] Compiling Atomics AtomicMemoryOrderings.swift
[35/68] Compiling Atomics DoubleWord.swift
[36/68] Compiling Atomics AtomicInteger.swift
[37/68] Compiling Atomics AtomicOptionalWrappable.swift
[38/68] Compiling Atomics AtomicReference.swift
BUILD FAILURE 6.1 wasm