The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Spezi, reference main (609e2b), with Swift 6.2 for Wasm on 23 Nov 2026 13:41:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 609e2b0 Synchronize access to Spezi storage (#152)
Cloned https://github.com/StanfordSpezi/Spezi.git
Revision (git rev-parse @):
609e2b0e3f58b89396c9a08077901ce201db9e86
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-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/dfed/swift-testing-expectation
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-collections.git
[1/3196] Fetching spezifoundation
[1184/3546] Fetching spezifoundation, swift-testing-expectation
Fetched https://github.com/dfed/swift-testing-expectation from cache (0.45s)
[1/735] Fetching xctruntimeassertions
[736/31228] Fetching xctruntimeassertions, swift-collections
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (1.31s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (1.31s)
Fetched https://github.com/apple/swift-collections.git from cache (1.32s)
Computing version for https://github.com/dfed/swift-testing-expectation
Computed https://github.com/dfed/swift-testing-expectation at 0.1.4 (1.46s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.21s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.7 (0.25s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-atomics.git
[1/183] Fetching threadlocal
[184/63340] Fetching threadlocal, zstd
[185/71884] Fetching threadlocal, zstd, swift-log
[356/73820] Fetching threadlocal, zstd, swift-log, swift-atomics
[10693/80008] Fetching threadlocal, zstd, swift-log, swift-atomics, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
[27547/78072] Fetching threadlocal, zstd, swift-log, swift-algorithms
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (2.39s)
Fetched https://github.com/apple/swift-log from cache (2.39s)
Fetched https://github.com/apple/swift-algorithms.git from cache (2.39s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (2.41s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.34s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.69s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.83s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.15s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/82279] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.27s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (3.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.26s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.2 (0.15s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.16s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.2
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/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/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.7
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/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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.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.7.6
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Building for debugging...
[0/91] Compiling threading.c
[1/91] Compiling error_private.c
[2/91] Write sources
[21/91] Compiling xxhash.c
[22/91] Compiling entropy_common.c
[23/91] Compiling fse_decompress.c
[24/91] Compiling _SwiftSyntaxCShims PlatformMutex.c
[25/91] Write swift-version-24593BA9C3E375BF.txt
[26/91] Compiling pool.c
[27/93] Compiling fastcover.c
[28/93] Compiling zdict.c
[29/93] Compiling divsufsort.c
[30/93] Compiling cover.c
[31/95] Compiling zstd_decompress.c
[32/97] Compiling zstd_double_fast.c
[33/103] Compiling zstd_decompress_block.c
[34/103] Compiling zstd_ddict.c
[35/103] Compiling huf_decompress_amd64.S
[36/103] Compiling zstdmt_compress.c
[37/103] Compiling zstd_preSplit.c
[38/103] Compiling huf_decompress.c
[39/103] Compiling zstd_ldm.c
[40/103] Compiling zstd_opt.c
[41/103] Compiling zstd_fast.c
[42/103] Compiling zstd_compress_superblock.c
[43/103] Compiling zstd_compress_sequences.c
[44/103] Compiling zstd_compress_literals.c
[45/103] Compiling zstd_compress.c
[46/103] Compiling huf_compress.c
[47/103] Compiling hist.c
[48/103] Compiling fse_compress.c
[49/103] Compiling zstd_common.c
[50/103] Compiling debug.c
[51/103] Compiling _NumericsShims _NumericsShims.c
[52/103] Compiling _AtomicsShims.c
[52/103] Write sources
[52/103] Copying Localizable.xcstrings.license
[52/103] Copying Localizable.xcstrings
[52/103] Copying Info.plist
[59/103] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[60/103] Write sources
[64/111] Compiling SwiftSyntax600 Empty.swift
[65/111] Emitting module SwiftSyntax600
[66/112] Wrapping AST for SwiftSyntax600 for debugging
[67/112] Write sources
[69/123] Emitting module SwiftSyntax510
[70/123] Compiling SwiftSyntax510 Empty.swift
[72/124] Emitting module SwiftSyntax509
[73/124] Compiling SwiftSyntax509 Empty.swift
[73/125] Write sources
[80/125] Emitting module SwiftSyntax601
[81/125] Compiling SwiftSyntax601 Empty.swift
[82/126] Compiling SwiftSyntax603 Empty.swift
[83/126] Emitting module SwiftSyntax602
[84/126] Emitting module SwiftSyntax603
[85/127] Compiling SwiftSyntax602 Empty.swift
[88/168] Wrapping AST for SwiftSyntax601 for debugging
[89/168] Wrapping AST for SwiftSyntax602 for debugging
[90/186] Wrapping AST for SwiftSyntax603 for debugging
[91/222] Compiling zstd_lazy.c
[92/234] Wrapping AST for SwiftSyntax510 for debugging
[93/249] Wrapping AST for SwiftSyntax509 for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[95/249] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[96/250] Compiling SwiftSyntax SourceLength.swift
[97/250] Compiling SwiftSyntax SourceLocation.swift
[98/250] Compiling SwiftSyntax SourcePresence.swift
[99/250] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[100/250] Compiling SwiftSyntax Syntax.swift
[101/250] Compiling SwiftSyntax SyntaxChildren.swift
[102/250] Compiling SwiftSyntax SyntaxCollection.swift
[103/250] Compiling SwiftSyntax SyntaxHashable.swift
[104/250] Compiling SwiftSyntax SyntaxIdentifier.swift
[105/258] Compiling Logging Logger+Attributes.swift
[106/258] Compiling SwiftSyntax Identifier.swift
[107/258] Compiling SwiftSyntax MemoryLayout.swift
[108/258] Compiling SwiftSyntax MissingNodeInitializers.swift
[109/258] Compiling SwiftSyntax RawSyntax.swift
[112/262] Compiling SwiftSyntax RawSyntaxArena.swift
[113/262] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[114/262] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[115/262] Compiling SwiftSyntax RawSyntaxTokenView.swift
[116/262] Emitting module Atomics
[117/262] Emitting module InternalCollectionsUtilities
[118/262] Compiling SwiftSyntax SourceEdit.swift
[119/262] Compiling SwiftSyntax SyntaxRewriter.swift
[120/262] Compiling SwiftSyntax SyntaxTraits.swift
[121/262] Compiling SwiftSyntax SyntaxVisitor.swift
[122/264] Compiling RealModule Real.swift
[123/264] Compiling RealModule RealFunctions.swift
[124/264] Compiling RealModule Float80+Real.swift
[125/264] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[126/264] Compiling InternalCollectionsUtilities _SortedCollection.swift
[127/264] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[128/264] Compiling RealModule RelaxedArithmetic.swift
[134/264] Compiling SwiftSyntax RawSyntaxNodesC.swift
[135/264] Compiling Atomics IntegerOperations.swift
[136/264] Compiling Atomics Unmanaged extensions.swift
[137/264] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[147/264] Compiling SwiftSyntax TokenKind.swift
[149/264] Compiling SwiftSyntax Tokens.swift
[150/264] Compiling SwiftSyntax TriviaPieces.swift
[151/264] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[152/264] Compiling SwiftSyntax RawSyntaxValidation.swift
[153/264] Compiling SwiftSyntax SyntaxNodesAB.swift
[154/264] Compiling SwiftSyntax AbsolutePosition.swift
[155/264] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[156/264] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[157/264] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[158/264] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[159/264] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[166/266] Compiling RealModule Float16+Real.swift
[171/266] Emitting module RealModule
[172/266] Compiling Logging LoggingSystem.swift
[174/267] Compiling SwiftSyntax SyntaxNodeStructure.swift
[175/267] Compiling SwiftSyntax SyntaxProtocol.swift
[176/267] Compiling SwiftSyntax SyntaxText.swift
[177/267] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[178/267] Compiling SwiftSyntax TokenDiagnostic.swift
[179/267] Compiling SwiftSyntax TokenSequence.swift
[180/267] Compiling SwiftSyntax TokenSyntax.swift
[181/267] Compiling SwiftSyntax Trivia.swift
[182/267] Compiling SwiftSyntax Utils.swift
[187/267] Compiling Logging MetadataProvider.swift
[188/309] Compiling Algorithms AdjacentPairs.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[189/318] Compiling Algorithms Chain.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Handlers/StreamLogHandler.swift:291:6: error: unknown attribute 'nonexhaustive'
289 | extension StreamLogHandler {
290 |     /// The precision of the timestamp that a ``StreamLogHandler`` writes at the start of each log line.
291 |     @nonexhaustive
    |      `- error: unknown attribute 'nonexhaustive'
292 |     public enum TimestampPrecision: Sendable, Hashable {
293 |         /// Whole seconds, for example `2025-06-01T14:03:07+0000`.
[190/349] Compiling Logging Logger+With.swift
[191/349] Compiling Logging Logger.swift
[192/349] 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 | }
[193/349] Compiling RuntimeAssertions RuntimeAssertion.swift
BUILD FAILURE 6.2 wasm