Build Information
Failed to build SpeziStudy, reference 0.2.2 (bc13d5), with Swift 6.3 for Wasm on 19 Apr 2026 10:28:52 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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziStudy.git
Reference: 0.2.2
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/SpeziStudy
* tag 0.2.2 -> FETCH_HEAD
HEAD is now at bc13d5a limit FHIRModels dependency (#27)
Cloned https://github.com/StanfordSpezi/SpeziStudy.git
Revision (git rev-parse @):
bc13d5ab4e3148c06a0bede44b9a21cb07282d92
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziStudy.git at 0.2.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziStudy.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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordSpezi/SpeziHealthKit.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/3026] Fetching spezifoundation
[2604/26595] Fetching spezifoundation, swift-collections
[3263/32471] Fetching spezifoundation, swift-collections, spezihealthkit
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.58s)
[5059/29445] Fetching swift-collections, spezihealthkit
[5118/39226] Fetching swift-collections, spezihealthkit, fhirmodels
Fetched https://github.com/StanfordSpezi/SpeziHealthKit.git from cache (2.21s)
[29579/33350] Fetching swift-collections, fhirmodels
Fetching https://github.com/StanfordSpezi/SpeziScheduler.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/FHIRModels.git from cache (3.17s)
Fetched https://github.com/apple/swift-collections.git from cache (3.25s)
[1/3558] Fetching spezischeduler
[571/10193] Fetching spezischeduler, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.31s)
Fetched https://github.com/StanfordSpezi/SpeziScheduler.git from cache (1.32s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (8.89s)
Computing version for https://github.com/StanfordSpezi/SpeziScheduler.git
Computed https://github.com/StanfordSpezi/SpeziScheduler.git at 1.2.20 (1.13s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordSpezi/Spezi.git
[1/735] Fetching xctruntimeassertions
[391/11081] Fetching xctruntimeassertions, spezi
[840/17139] Fetching xctruntimeassertions, spezi, swift-algorithms
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.94s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.94s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.95s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (2.28s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.2 (0.82s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.68s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.97s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
Computed https://github.com/StanfordSpezi/SpeziHealthKit.git at 1.4.2 (1.91s)
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1715] Fetching spezistorage
[1716/7962] Fetching spezistorage, swift-async-algorithms
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.50s)
[4124/6247] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.76s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.46s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (0.80s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.6 (0.76s)
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
[602/64977] Fetching swift-atomics, zstd
[8137/65160] Fetching swift-atomics, zstd, threadlocal
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
[12183/63340] Fetching zstd, threadlocal
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (6.55s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (7.27s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (8.20s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (2.20s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0 (5.83s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.33s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.77s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.47s)
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.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/StanfordSpezi/SpeziHealthKit.git
Working copy of https://github.com/StanfordSpezi/SpeziHealthKit.git resolved at 1.4.2
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.0
Creating working copy for https://github.com/StanfordSpezi/SpeziScheduler.git
Working copy of https://github.com/StanfordSpezi/SpeziScheduler.git resolved at 1.2.20
Creating working copy for https://github.com/StanfordBDHG/zstd.git
Working copy of https://github.com/StanfordBDHG/zstd.git resolved at 1.5.8-beta.1
Creating working copy for https://github.com/StanfordBDHG/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.3
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.8.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.6
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-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.2
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.53s)
Building for debugging...
[0/72] Write sources
[6/72] Compiling zstd_common.c
[7/72] Compiling cover.c
[8/72] Compiling zdict.c
[9/72] Compiling divsufsort.c
[10/72] Compiling fastcover.c
[11/72] Compiling zstd_ddict.c
[12/72] Compiling huf_decompress_amd64.S
[13/72] Compiling zstd_decompress.c
[14/72] Compiling zstd_decompress_block.c
[15/72] Compiling zstd_preSplit.c
[16/72] Compiling zstdmt_compress.c
[17/72] Compiling zstd_ldm.c
[18/72] Compiling huf_decompress.c
[19/72] Compiling zstd_compress_superblock.c
[20/72] Compiling zstd_fast.c
[21/72] Compiling zstd_opt.c
[22/72] Compiling zstd_compress_sequences.c
[22/72] Compiling zstd_compress_literals.c
[24/72] Compiling zstd_double_fast.c
[25/72] Compiling hist.c
[26/72] Compiling threading.c
[27/72] Compiling zstd_compress.c
[28/72] Compiling xxhash.c
[28/72] Compiling fse_compress.c
[30/72] Compiling pool.c
[30/72] Compiling error_private.c
[32/72] Compiling debug.c
[33/72] Compiling _NumericsShims _NumericsShims.c
[34/72] Copying Localizable.xcstrings.license
[35/72] Copying Localizable.xcstrings
[36/72] Copying Info.plist
[37/72] Compiling fse_decompress.c
[37/72] Compiling _AtomicsShims.c
[39/72] Copying Localizable-HKTypes.strings
[45/72] Copying Info.plist
[46/72] Compiling huf_compress.c
[46/72] Copying Localizable.xcstrings.license
[46/72] Copying Localizable.xcstrings
[46/72] Copying Info.plist
[50/72] Compiling entropy_common.c
[51/72] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[52/72] Write sources
[67/72] Compiling zstd_lazy.c
[68/72] Write swift-version-24593BA9C3E375BF.txt
[70/146] Emitting module InternalCollectionsUtilities
[71/148] Emitting module Atomics
[72/150] Compiling RealModule ElementaryFunctions.swift
[73/150] Compiling RealModule Float+Real.swift
[74/151] Compiling RealModule Float16+Real.swift
[75/151] Compiling RealModule RealFunctions.swift
[76/151] Compiling RealModule RelaxedArithmetic.swift
[77/151] Compiling Atomics IntegerOperations.swift
[78/151] Compiling Atomics Unmanaged extensions.swift
[79/151] Compiling RealModule AlgebraicField.swift
[80/151] Compiling RealModule ApproximateEquality.swift
[82/151] Emitting module RealModule
[83/151] Compiling RealModule Real.swift
[86/151] Compiling Atomics AtomicInteger.swift
[87/151] Compiling Atomics AtomicOptionalWrappable.swift
[88/151] Compiling FMCore FHIRType.swift
[89/151] Compiling FMCore FHIRIntegerRepresentable.swift
[90/151] Compiling RealModule Float80+Real.swift
[91/152] Compiling InternalCollectionsUtilities String+Padding.swift
[92/152] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[95/152] Compiling Atomics AtomicStorage.swift
[96/152] Compiling Atomics AtomicValue.swift
[98/152] Compiling Atomics UnsafeAtomic.swift
[100/152] Compiling Atomics UnsafeAtomicLazyReference.swift
[103/152] Compiling Atomics AtomicReference.swift
[104/152] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[105/152] Compiling Atomics ManagedAtomic.swift
[106/152] Compiling InternalCollectionsUtilities Integer rank.swift
[113/152] Compiling RealModule AugmentedArithmetic.swift
[114/152] Compiling RealModule Double+Real.swift
[121/152] Compiling FMCore Scanner+FHIR.swift
/host/spi-builder-workspace/.build/checkouts/FHIRModels/Sources/FMCore/Scanner+FHIR.swift:32:47: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
30 | }
31 | var string: NSString?
32 | if scanCharacters(from: characterSet, into: &string), let string = string {
| |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
| `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
33 | return String(string)
34 | }
[126/152] Emitting module ThreadLocalMacros
[127/155] Compiling Logging MetadataProvider.swift
[131/155] Compiling RuntimeAssertions DebugOnly.swift
[132/156] Compiling RuntimeAssertions Assert.swift
[133/156] Compiling RuntimeAssertions Counter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[134/156] 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 | }
[135/156] Compiling FMCore ExpressibleAsNSDate.swift
[136/160] Compiling Algorithms AdjacentPairs.swift
[137/160] Compiling Algorithms Chain.swift
[138/160] Emitting module FMCore
[139/161] 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 | }
[140/165] Compiling FMCore FHIRDateComponents.swift
[141/165] Compiling FMCore FHIRDateParserError.swift
[142/165] Compiling FMCore TimeZone+FHIR.swift
error: cancelled
[143/182] Emitting module Logging
[144/182] Compiling Logging LogHandler.swift
[145/182] Compiling Logging LogEvent.swift
[146/182] Compiling Logging Locks.swift
error: cancelled
[147/182] Compiling RuntimeAssertions Precondition.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 {
[148/182] Compiling ThreadLocalMacros Diagnostic.swift
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm