The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziStudy, reference main (bc13d5), with Swift 6.3 for Wasm on 19 Apr 2026 08:55:51 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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziStudy.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/SpeziStudy
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-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.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/swift-collections.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordSpezi/SpeziHealthKit.git
Fetching https://github.com/StanfordSpezi/SpeziScheduler.git
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/apple/swift-log.git
[1/3026] Fetching spezifoundation
[879/8902] Fetching spezifoundation, spezihealthkit
[1869/32471] Fetching spezifoundation, spezihealthkit, swift-collections
[3331/36029] Fetching spezifoundation, spezihealthkit, swift-collections, spezischeduler
[4056/42664] Fetching spezifoundation, spezihealthkit, swift-collections, spezischeduler, swift-log
[10201/52445] Fetching spezifoundation, spezihealthkit, swift-collections, spezischeduler, swift-log, fhirmodels
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
[18414/45810] Fetching spezifoundation, spezihealthkit, swift-collections, spezischeduler, fhirmodels
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (2.26s)
Fetched https://github.com/StanfordSpezi/SpeziHealthKit.git from cache (2.27s)
Fetched https://github.com/StanfordSpezi/SpeziScheduler.git from cache (2.27s)
Fetched https://github.com/apple/FHIRModels.git from cache (2.28s)
[18149/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (4.57s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (9.02s)
Computing version for https://github.com/StanfordSpezi/SpeziScheduler.git
Computed https://github.com/StanfordSpezi/SpeziScheduler.git at 1.2.20 (3.47s)
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-algorithms.git
[1/735] Fetching xctruntimeassertions
[531/11081] Fetching xctruntimeassertions, spezi
[840/17139] Fetching xctruntimeassertions, spezi, swift-algorithms
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.62s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.62s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.70s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (2.05s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.2 (0.88s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.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.49s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
Computed https://github.com/StanfordSpezi/SpeziHealthKit.git at 1.4.2 (1.19s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
[1/6247] Fetching swift-async-algorithms
[126/7962] Fetching swift-async-algorithms, spezistorage
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (1.39s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.40s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (2.62s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (0.91s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.6 (0.90s)
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/63157] Fetching zstd
[2/63340] Fetching zstd, threadlocal
[816/65160] Fetching zstd, threadlocal, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.82s)
[10920/63340] Fetching zstd, threadlocal
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (7.07s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (7.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (7.94s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.68s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.77s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0 (8.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.73s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.89s)
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.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/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/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.6
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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/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/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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
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/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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.40s)
Building for debugging...
[0/72] Write sources
[5/72] Compiling zstd_common.c
[6/72] Compiling fse_compress.c
[7/72] Compiling fse_decompress.c
[8/72] Write swift-version-24593BA9C3E375BF.txt
[9/72] Compiling fastcover.c
[10/72] Compiling divsufsort.c
[11/72] Compiling zdict.c
[11/72] Compiling cover.c
[13/72] Compiling huf_decompress_amd64.S
[14/72] Compiling zstd_ddict.c
[15/82] Compiling zstd_decompress.c
[16/82] Compiling zstd_preSplit.c
[17/82] Compiling zstd_decompress_block.c
[18/82] Compiling zstd_ldm.c
[19/82] Compiling huf_decompress.c
[20/82] Compiling zstdmt_compress.c
[21/82] Compiling zstd_compress_superblock.c
[22/82] Compiling zstd_opt.c
[23/82] Compiling zstd_compress_sequences.c
[24/82] Compiling zstd_compress_literals.c
[25/82] Compiling hist.c
[26/82] Compiling zstd_double_fast.c
[27/82] Compiling xxhash.c
[28/82] Compiling threading.c
[29/82] Compiling huf_compress.c
[29/82] Compiling zstd_fast.c
[31/82] Compiling pool.c
[32/82] Compiling debug.c
[33/82] Compiling error_private.c
[35/82] Emitting module Logging
[35/82] Compiling _AtomicsShims.c
[35/82] Compiling _NumericsShims _NumericsShims.c
[35/82] Copying Localizable.xcstrings.license
[35/82] Copying Localizable.xcstrings
[35/82] Copying Info.plist
[35/82] Copying Localizable-HKTypes.strings
[35/82] Copying Info.plist
[35/82] Write sources
[49/82] Copying Localizable.xcstrings.license
[50/82] Copying Localizable.xcstrings
[51/82] Copying Info.plist
[52/82] Write sources
[59/82] Compiling entropy_common.c
[60/82] Write sources
[60/82] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[62/82] Write sources
[65/128] Compiling zstd_compress.c
[66/128] Write sources
[69/146] Emitting module Atomics
[69/148] Compiling zstd_lazy.c
[71/148] Compiling Atomics UnsafeAtomic.swift
[72/148] Compiling Atomics UnsafeAtomicLazyReference.swift
[73/148] Compiling Atomics AtomicStorage.swift
[74/148] Compiling Atomics AtomicValue.swift
[75/150] Emitting module InternalCollectionsUtilities
[76/150] Compiling Atomics AtomicInteger.swift
[77/150] Compiling Atomics AtomicOptionalWrappable.swift
[78/150] Compiling Atomics AtomicReference.swift
[79/150] Compiling FMCore FHIRType.swift
[80/150] Compiling InternalCollectionsUtilities _SortedCollection.swift
[81/150] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[82/151] Compiling Atomics AtomicMemoryOrderings.swift
[83/151] Compiling Atomics DoubleWord.swift
[84/151] Compiling Atomics ManagedAtomic.swift
[85/151] Compiling Atomics ManagedAtomicLazyReference.swift
[86/151] Compiling Atomics IntegerConformances.swift
[87/151] Compiling Atomics PointerConformances.swift
[88/151] Compiling Atomics Primitives.native.swift
[89/151] Compiling Atomics OptionalRawRepresentable.swift
[90/151] Compiling Atomics RawRepresentable.swift
[91/151] Compiling Atomics AtomicBool.swift
[100/152] Compiling RealModule RealFunctions.swift
[101/153] Compiling RealModule Real.swift
[111/153] Compiling FMCore FHIRIntegerRepresentable.swift
[115/153] Compiling RealModule Float80+Real.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[116/154] Compiling RuntimeAssertions Assert.swift
[117/154] 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 | }
[118/155] Emitting module RealModule
[122/155] Compiling RealModule RelaxedArithmetic.swift
[123/155] Compiling Logging LogEvent.swift
[128/155] Compiling RealModule Float16+Real.swift
[129/156] Write sources
[131/215] Compiling Algorithms Chain.swift
[132/215] Compiling Algorithms Chunked.swift
[133/215] Compiling Algorithms Combinations.swift
[134/215] Compiling Algorithms Partition.swift
[135/215] Compiling Algorithms Permutations.swift
[136/215] Compiling Algorithms Product.swift
[137/215] Compiling Algorithms FlattenCollection.swift
[138/215] Compiling Algorithms Grouped.swift
[139/215] Compiling Algorithms Indexed.swift
[140/215] Compiling Algorithms Intersperse.swift
[141/215] Compiling ContainersPreview Producer+Map.swift
[142/215] Compiling ContainersPreview Producer+Reduce.swift
[143/215] Compiling ContainersPreview Producer.swift
[144/215] Compiling ContainersPreview Borrow.swift
[145/215] Compiling ContainersPreview RandomAccessContainer.swift
[146/215] Compiling ContainersPreview RangeExpression2.swift
[147/215] Compiling ContainersPreview RangeReplaceableContainer.swift
[148/215] Compiling ContainersPreview Drain+Map.swift
[149/215] Compiling Algorithms Suffix.swift
[150/215] Compiling Algorithms RandomSample.swift
[151/215] Compiling Algorithms Reductions.swift
[152/215] Compiling Algorithms Rotate.swift
[153/215] Compiling Algorithms Joined.swift
[154/215] Compiling Algorithms Keyed.swift
[155/215] Compiling Algorithms MinMax.swift
[156/215] Compiling Algorithms Split.swift
[157/215] Compiling Algorithms Stride.swift
[158/219] Emitting module ContainersPreview
[159/273] Compiling OrderedCollections _HashTable+Bucket.swift
[160/273] Compiling OrderedCollections _HashTable+BucketIterator.swift
[161/273] Compiling OrderedCollections _HashTable+Constants.swift
[162/273] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[163/273] Compiling OrderedCollections _HashTable+Testing.swift
[164/273] Compiling Logging MetadataProvider.swift
[165/273] Compiling Logging Locks.swift
[166/273] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[167/273] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[168/273] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[169/273] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[170/274] Compiling RuntimeAssertions DebugOnly.swift
[172/274] 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 | 		}
[173/274] 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 | }
[174/274] 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 |     }
[175/274] Compiling RuntimeAssertions Counter.swift
[176/274] Compiling FMCore FHIRDateParserError.swift
[177/274] Emitting module FMCore
[180/274] Compiling RuntimeAssertions RuntimeAssertion.swift
[181/274] Compiling RuntimeAssertions Precondition.swift
[182/274] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[183/274] Compiling FMCore ExpressibleAsNSDate.swift
[184/274] Emitting module ThreadLocalMacros
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm