Build Information
Failed to build Spezi, reference main (cb5570), with Swift 6.2 for Wasm on 28 Apr 2026 10:57:02 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/Spezi.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/Spezi
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cb5570f Update Citation Files
Cloned https://github.com/StanfordSpezi/Spezi.git
Revision (git rev-parse @):
cb5570f9e6da43c30cbf5a4add1a8c436bbff140
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/Spezi.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/StanfordSpezi/Spezi.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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/dfed/swift-testing-expectation
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/3027] Fetching spezifoundation
[153/3365] Fetching spezifoundation, swift-testing-expectation
[1019/27165] Fetching spezifoundation, swift-testing-expectation, swift-collections
[1225/27900] Fetching spezifoundation, swift-testing-expectation, swift-collections, xctruntimeassertions
Fetched https://github.com/dfed/swift-testing-expectation from cache (0.56s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.57s)
[4693/26827] Fetching spezifoundation, swift-collections
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.65s)
[1904/23800] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.94s)
Computing version for https://github.com/dfed/swift-testing-expectation
Computed https://github.com/dfed/swift-testing-expectation at 0.1.4 (3.77s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (1.07s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.6 (1.23s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/63157] Fetching zstd
[2/69215] Fetching zstd, swift-algorithms
[997/75886] Fetching zstd, swift-algorithms, swift-log
[11779/76069] Fetching zstd, swift-algorithms, swift-log, threadlocal
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.79s)
[16750/75886] Fetching zstd, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-algorithms.git from cache (1.05s)
[15513/69828] Fetching zstd, swift-log
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-log from cache (1.25s)
[12000/63157] Fetching zstd
[13264/64977] Fetching zstd, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.82s)
[19579/63157] Fetching zstd
Fetched https://github.com/StanfordBDHG/zstd.git from cache (8.71s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (13.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.96s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.51s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75039] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.89s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.1 (9.92s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.11s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.55s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.40s)
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.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/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/dfed/swift-testing-expectation
Working copy of https://github.com/dfed/swift-testing-expectation resolved at 0.1.4
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-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-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/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/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.3
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
Building for debugging...
[0/91] Write sources
[25/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[26/91] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[27/91] Write swift-version-24593BA9C3E375BF.txt
[28/91] Compiling fastcover.c
[29/91] Compiling cover.c
[30/91] Compiling huf_decompress_amd64.S
[31/91] Compiling zstd_ddict.c
[32/91] Compiling zdict.c
[33/91] Compiling divsufsort.c
[34/102] Compiling zstd_decompress.c
[36/103] Emitting module SwiftSyntax603
[37/103] Emitting module SwiftSyntax602
[38/103] Emitting module SwiftSyntax510
[38/106] Compiling zstd_decompress_block.c
[39/111] Compiling huf_decompress.c
[40/111] Compiling zstdmt_compress.c
[41/111] Compiling zstd_preSplit.c
[42/111] Compiling zstd_opt.c
[43/111] Compiling zstd_ldm.c
[45/111] Compiling SwiftSyntax603 Empty.swift
[46/112] Emitting module SwiftSyntax509
[47/112] Compiling SwiftSyntax509 Empty.swift
[48/113] Emitting module SwiftSyntax601
[49/113] Compiling SwiftSyntax601 Empty.swift
[50/113] Compiling SwiftSyntax510 Empty.swift
[55/115] Emitting module SwiftSyntax600
[56/115] Compiling SwiftSyntax600 Empty.swift
[57/115] Compiling SwiftSyntax602 Empty.swift
[57/117] Wrapping AST for SwiftSyntax603 for debugging
[59/117] Wrapping AST for SwiftSyntax601 for debugging
[61/117] Wrapping AST for SwiftSyntax510 for debugging
[62/117] Wrapping AST for SwiftSyntax509 for debugging
[63/117] Wrapping AST for SwiftSyntax600 for debugging
[64/117] Wrapping AST for SwiftSyntax602 for debugging
[65/122] Compiling zstd_compress_sequences.c
[66/136] Compiling zstd_compress_superblock.c
[67/180] Compiling zstd_fast.c
[68/180] Compiling zstd_compress_literals.c
[69/180] Compiling hist.c
[70/180] Compiling zstd_double_fast.c
[71/180] Compiling fse_compress.c
[72/180] Compiling xxhash.c
[73/180] Compiling threading.c
[74/180] Compiling zstd_common.c
[75/180] Compiling pool.c
[76/180] Compiling error_private.c
[77/180] Compiling debug.c
[78/180] Compiling fse_decompress.c
[79/180] Compiling huf_compress.c
[80/180] Write sources
[81/180] Copying Localizable.xcstrings.license
[82/180] Copying Localizable.xcstrings
[83/180] Copying Info.plist
[84/180] Write sources
[86/180] Compiling zstd_lazy.c
[87/180] Write sources
[88/180] Compiling entropy_common.c
[89/180] Write sources
[91/180] Compiling _NumericsShims _NumericsShims.c
[92/180] Compiling _AtomicsShims.c
[93/233] Compiling zstd_compress.c
[95/233] Compiling RealModule Real.swift
[96/234] Compiling Atomics UnsafeAtomic.swift
[97/234] Compiling Atomics UnsafeAtomicLazyReference.swift
[98/236] Compiling RuntimeAssertions RuntimeAssertion.swift
[99/236] Compiling Atomics AtomicMemoryOrderings.swift
[100/236] Compiling Atomics DoubleWord.swift
[101/237] Compiling InternalCollectionsUtilities _SortedCollection.swift
[102/237] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[103/237] Compiling RealModule RelaxedArithmetic.swift
[104/237] Compiling RealModule Float16+Real.swift
[105/237] Compiling RealModule Float80+Real.swift
[106/237] Compiling RealModule RealFunctions.swift
[107/237] Compiling Atomics AtomicInteger.swift
[108/237] Compiling Atomics AtomicOptionalWrappable.swift
[109/237] Compiling Atomics AtomicReference.swift
[110/237] Compiling Atomics PointerConformances.swift
[111/237] Compiling Atomics Primitives.native.swift
[112/237] Compiling Atomics OptionalRawRepresentable.swift
[113/237] Compiling Atomics RawRepresentable.swift
[114/237] Compiling Atomics AtomicBool.swift
[115/237] Compiling Atomics AtomicStorage.swift
[116/237] Compiling Atomics AtomicValue.swift
[120/239] Compiling Atomics IntegerConformances.swift
[127/239] Compiling Atomics ManagedAtomic.swift
[128/239] Compiling Atomics ManagedAtomicLazyReference.swift
[131/239] Emitting module RealModule
[138/240] Compiling Logging LogEvent.swift
[139/240] Compiling Logging LogHandler.swift
[141/240] Compiling Logging Locks.swift
[142/240] Emitting module Logging
[143/240] Compiling Logging MetadataProvider.swift
[144/240] 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 | }
[145/240] Compiling Atomics IntegerOperations.swift
[146/240] Compiling Atomics Unmanaged extensions.swift
[147/240] Emitting module InternalCollectionsUtilities
[149/241] Compiling RuntimeAssertions Counter.swift
[150/241] Compiling RuntimeAssertions Assert.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[151/241] 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 | }
[152/241] Compiling RuntimeAssertions DebugOnly.swift
[153/241] Compiling RuntimeAssertions Precondition.swift
[154/241] 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 | }
[164/249] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[165/249] Compiling Logging Logging.swift
[166/250] Emitting module Atomics
BUILD FAILURE 6.2 wasm