Build Information
Failed to build SpeziMedication, reference 0.4.2 (8c160a), with Swift 6.3 for Wasm on 15 Apr 2026 06:54:55 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.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/SpeziMedication.git
Reference: 0.4.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/SpeziMedication
* tag 0.4.2 -> FETCH_HEAD
HEAD is now at 8c160af Enable Swift 6 Language Mode (#14)
Cloned https://github.com/StanfordSpezi/SpeziMedication.git
Revision (git rev-parse @):
8c160afbeb20fea296947cbf9255fe1dfefaf33c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziMedication.git at 0.4.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziMedication.git
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.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/StanfordSpezi/SpeziViews.git
[1/4870] Fetching speziviews
Fetched https://github.com/StanfordSpezi/SpeziViews.git from cache (0.74s)
Computing version for https://github.com/StanfordSpezi/SpeziViews.git
Computed https://github.com/StanfordSpezi/SpeziViews.git at 1.12.14 (1.39s)
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/apple/swift-collections.git
[1/2975] Fetching spezifoundation
[180/11352] Fetching spezifoundation, swift-markdown-ui
[449/21698] Fetching spezifoundation, swift-markdown-ui, spezi
[4677/45235] Fetching spezifoundation, swift-markdown-ui, spezi, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.33s)
[19032/21698] Fetching spezifoundation, swift-markdown-ui, spezi
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (5.24s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (5.25s)
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git from cache (5.35s)
Computing version for https://github.com/gonzalezreal/swift-markdown-ui.git
Computed https://github.com/gonzalezreal/swift-markdown-ui.git at 2.4.1 (8.30s)
Fetching https://github.com/swiftlang/swift-cmark
Fetching https://github.com/gonzalezreal/NetworkImage
[1/1064] Fetching networkimage
[1065/19438] Fetching networkimage, swift-cmark
Fetched https://github.com/gonzalezreal/NetworkImage from cache (0.50s)
[2757/18374] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark from cache (1.64s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (2.19s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.7.1 (0.56s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.2 (0.59s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.31s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.92s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.5 (0.66s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-atomics.git
[1/63157] Fetching zstd
[2/63340] Fetching zstd, threadlocal
[185/65160] Fetching zstd, threadlocal, swift-atomics
[2049/71218] Fetching zstd, threadlocal, swift-atomics, swift-algorithms
[5919/77787] Fetching zstd, threadlocal, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.88s)
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.89s)
[19378/75784] Fetching zstd, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-algorithms.git from cache (0.91s)
[14780/69726] Fetching zstd, swift-log
Fetched https://github.com/apple/swift-log from cache (1.25s)
[12628/63157] Fetching zstd
Fetched https://github.com/StanfordBDHG/zstd.git from cache (8.88s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (9.85s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.09s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.53s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74972] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.55s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0 (11.72s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (3.64s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.54s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.71s)
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.12.0
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/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-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-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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.7.1
Creating working copy for https://github.com/StanfordSpezi/SpeziViews.git
Working copy of https://github.com/StanfordSpezi/SpeziViews.git resolved at 1.12.14
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.5
Creating working copy for https://github.com/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.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/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/gonzalezreal/swift-markdown-ui.git
Working copy of https://github.com/gonzalezreal/swift-markdown-ui.git resolved at 2.4.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.59s)
Building for debugging...
[0/97] Copying Localizable.xcstrings.license
[0/97] Copying Localizable.xcstrings
[2/97] Copying Info.plist
[2/97] Write sources
[10/97] Write swift-version-24593BA9C3E375BF.txt
[11/97] Compiling huf_decompress_amd64.S
[12/97] Compiling zstd_ddict.c
[13/97] Compiling fastcover.c
[14/101] Compiling cover.c
[15/101] Compiling divsufsort.c
[16/101] Compiling zdict.c
[17/101] Compiling zstd_decompress.c
[18/101] Compiling zstd_preSplit.c
[19/101] Compiling zstdmt_compress.c
[20/101] Compiling zstd_ldm.c
[21/101] Compiling zstd_decompress_block.c
[22/101] Compiling huf_decompress.c
[23/101] Compiling zstd_compress_superblock.c
[24/101] Compiling zstd_compress_sequences.c
[25/101] Compiling zstd_compress_literals.c
[26/101] Compiling zstd_opt.c
[27/101] Compiling hist.c
[28/101] Compiling zstd_fast.c
[29/101] Compiling fse_compress.c
[30/101] Compiling threading.c
[31/101] Compiling zstd_common.c
[32/101] Compiling xxhash.c
[33/101] Compiling pool.c
[34/101] Compiling zstd_double_fast.c
[35/101] Compiling debug.c
[36/101] Compiling error_private.c
[37/101] Compiling huf_compress.c
[38/101] Compiling fse_decompress.c
[39/101] Compiling entropy_common.c
[40/101] Compiling cmark-gfm-extensions tagfilter.c
[41/101] Compiling cmark-gfm-extensions tasklist.c
[42/101] Compiling cmark-gfm-extensions strikethrough.c
[43/101] Compiling cmark-gfm-extensions core-extensions.c
[44/101] Compiling cmark-gfm-extensions table.c
[45/101] Compiling cmark-gfm-extensions ext_scanners.c
[46/101] Compiling cmark-gfm-extensions autolink.c
[47/101] Compiling cmark-gfm xml.c
[48/101] Compiling cmark-gfm syntax_extension.c
[49/101] Compiling cmark-gfm registry.c
[50/101] Compiling cmark-gfm render.c
[51/101] Compiling cmark-gfm references.c
[52/101] Compiling cmark-gfm plugin.c
[53/101] Compiling cmark-gfm plaintext.c
[54/101] Compiling cmark-gfm map.c
[55/101] Compiling cmark-gfm node.c
[56/101] Compiling cmark-gfm man.c
[57/101] Compiling cmark-gfm linked_list.c
[58/101] Compiling cmark-gfm iterator.c
[59/101] Compiling cmark-gfm latex.c
[60/101] Compiling zstd_compress.c
[61/101] Compiling cmark-gfm html.c
[62/101] Compiling cmark-gfm houdini_html_e.c
[63/101] Compiling cmark-gfm houdini_href_e.c
[64/101] Compiling cmark-gfm inlines.c
[65/101] Compiling cmark-gfm footnotes.c
[66/101] Compiling cmark-gfm houdini_html_u.c
[67/101] Compiling cmark-gfm cmark_ctype.c
[68/101] Compiling cmark-gfm commonmark.c
[69/101] Compiling cmark-gfm cmark.c
[70/101] Compiling cmark-gfm buffer.c
[71/101] Compiling _NumericsShims _NumericsShims.c
[72/101] Write sources
[73/101] Copying Localizable.xcstrings.license
[74/101] Copying Localizable.xcstrings
[75/101] Copying Info.plist
[76/101] Copying Localizable.xcstrings.license
[77/101] Copying Localizable.xcstrings
[78/101] Copying Info.plist
[79/101] Compiling _AtomicsShims.c
[80/101] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[81/101] Write sources
[83/101] Compiling cmark-gfm arena.c
[84/101] Write sources
[87/101] Compiling cmark-gfm blocks.c
[88/136] Compiling cmark-gfm scanners.c
[89/136] Compiling cmark-gfm utf8.c
[90/136] Write sources
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/172] 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 | }
[94/173] Compiling zstd_lazy.c
[96/173] Emitting module Atomics
[97/175] Compiling NetworkImage NetworkImageState.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[98/175] Compiling NetworkImage NetworkImageModel.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[99/176] Compiling Atomics UnsafeAtomic.swift
[100/176] Compiling Atomics UnsafeAtomicLazyReference.swift
[101/178] Compiling InternalCollectionsUtilities String+Padding.swift
[102/178] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[105/178] Compiling NetworkImage View+NetworkImageLoader.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[106/178] Emitting module InternalCollectionsUtilities
[107/178] Compiling InternalCollectionsUtilities Debugging.swift
[108/178] Compiling InternalCollectionsUtilities Descriptions.swift
[109/178] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[110/178] Compiling Atomics AtomicMemoryOrderings.swift
[111/178] Compiling Atomics DoubleWord.swift
[114/178] Compiling Atomics AtomicStorage.swift
[115/178] Compiling Atomics AtomicValue.swift
[116/178] Compiling Atomics AtomicInteger.swift
[117/178] Compiling Atomics AtomicOptionalWrappable.swift
[118/178] Compiling Atomics AtomicReference.swift
[121/178] Compiling RealModule RealFunctions.swift
[122/178] Emitting module RealModule
[128/179] Compiling Atomics IntegerConformances.swift
[129/179] Compiling Atomics PointerConformances.swift
[130/179] Compiling Atomics Primitives.native.swift
[134/179] Compiling RealModule Float80+Real.swift
[135/179] Compiling RealModule Real.swift
[136/179] Compiling Logging LogHandler.swift
[141/179] Compiling RealModule Float16+Real.swift
[144/179] Compiling InternalCollectionsUtilities _SortedCollection.swift
[145/179] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[148/180] Compiling Logging LogEvent.swift
[150/180] Compiling RealModule RelaxedArithmetic.swift
[156/262] Emitting module Logging
[157/262] Compiling Logging Locks.swift
[158/262] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[159/262] Emitting module NetworkImage
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[160/262] Compiling OrderedCollections _HashTable+Bucket.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[161/262] Compiling OrderedCollections _HashTable+BucketIterator.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[162/262] Compiling NetworkImage TaskModifier.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[163/262] Compiling NetworkImage URLSession+NetworkImage.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[164/262] Compiling OrderedCollections _HashTable+Constants.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[165/262] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[166/262] Compiling NetworkImage NetworkImageLoader.swift
/host/spi-builder-workspace/.build/checkouts/NetworkImage/Sources/NetworkImage/Deprecations.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | // MARK: - Deprecated after 5.0.0:
[167/262] Compiling RuntimeAssertions Counter.swift
[168/262] Compiling RuntimeAssertions Assert.swift
[169/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[170/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[171/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[172/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[173/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[174/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[175/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[176/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[177/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[178/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[179/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[180/262] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[181/262] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[182/262] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[183/269] 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 | }
[184/269] Compiling RuntimeAssertions DebugOnly.swift
BUILD FAILURE 6.3 wasm