Build Information
Failed to build Spezi, reference main (cb5570), with Swift 6.3 for Android on 28 Apr 2026 10:56:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/StanfordSpezi/Spezi.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/dfed/swift-testing-expectation
[1/735] Fetching xctruntimeassertions
[229/1073] Fetching xctruntimeassertions, swift-testing-expectation
[942/4100] Fetching xctruntimeassertions, swift-testing-expectation, spezifoundation
[2558/27900] Fetching xctruntimeassertions, swift-testing-expectation, spezifoundation, swift-collections
Fetched https://github.com/dfed/swift-testing-expectation from cache (0.56s)
[4022/27562] Fetching xctruntimeassertions, spezifoundation, swift-collections
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.73s)
[2639/24535] Fetching xctruntimeassertions, swift-collections
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (2.42s)
Fetched https://github.com/apple/swift-collections.git from cache (2.46s)
Computing version for https://github.com/dfed/swift-testing-expectation
Computed https://github.com/dfed/swift-testing-expectation at 0.1.4 (4.18s)
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.12s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
[1/1820] Fetching swift-atomics
[602/64977] Fetching swift-atomics, zstd
[621/71035] Fetching swift-atomics, zstd, swift-algorithms
[3589/77706] Fetching swift-atomics, zstd, swift-algorithms, swift-log
[19999/77889] Fetching swift-atomics, zstd, swift-algorithms, swift-log, threadlocal
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (1.22s)
Fetched https://github.com/apple/swift-log from cache (1.23s)
[34251/71035] Fetching swift-atomics, zstd, swift-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (3.84s)
Fetched https://github.com/apple/swift-algorithms.git from cache (3.84s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (3.90s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.64s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.85s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.27s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.45s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75039] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.59s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.1 (7.17s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.59s)
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
Computed https://github.com/apple/swift-log at 1.12.0 (1.16s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.63s)
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/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
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/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/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-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/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/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/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.1/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.1/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.51s)
Building for debugging...
[0/54] Write sources
[3/54] Compiling divsufsort.c
[4/54] Compiling huf_decompress_amd64.S
[5/54] Compiling fastcover.c
[6/54] Compiling zstd_ddict.c
[7/54] Compiling zstd_decompress.c
[8/54] Compiling cover.c
[9/54] Compiling zdict.c
[10/54] Write swift-version--4F562202D5529B1.txt
[11/54] Compiling zstd_decompress_block.c
[12/58] Compiling huf_decompress.c
[13/58] Compiling zstd_preSplit.c
[14/58] Compiling zstdmt_compress.c
[15/58] Compiling zstd_opt.c
[16/58] Compiling zstd_fast.c
[17/58] Compiling zstd_ldm.c
[18/58] Compiling zstd_compress_sequences.c
[19/58] Compiling zstd_compress_superblock.c
[20/58] Compiling zstd_compress_literals.c
[21/58] Compiling zstd_double_fast.c
[22/58] Compiling xxhash.c
[23/58] Compiling hist.c
[24/58] Compiling threading.c
[25/58] Compiling huf_compress.c
[26/58] Compiling fse_compress.c
[27/58] Compiling zstd_common.c
[28/58] Compiling debug.c
[29/58] Compiling _NumericsShims _NumericsShims.c
[30/58] Compiling _AtomicsShims.c
[31/58] Write sources
[33/58] Copying Localizable.xcstrings.license
[34/58] Copying Localizable.xcstrings
[35/58] Copying Info.plist
[36/58] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[37/58] Compiling error_private.c
[38/58] Write sources
[42/58] Compiling fse_decompress.c
[43/58] Compiling pool.c
[44/58] Write sources
[48/66] Compiling zstd_compress.c
[49/85] Compiling entropy_common.c
[51/119] Emitting module InternalCollectionsUtilities
[51/121] Compiling zstd_lazy.c
[53/121] Emitting module Atomics
[54/123] Compiling RuntimeAssertions RuntimeAssertion.swift
[55/124] Compiling Atomics IntegerOperations.swift
[56/124] Compiling Atomics Unmanaged extensions.swift
[57/124] Compiling Atomics AtomicInteger.swift
[58/124] Compiling Atomics AtomicOptionalWrappable.swift
[59/124] Compiling Atomics AtomicReference.swift
[60/124] Compiling Atomics UnsafeAtomic.swift
[61/124] Compiling Atomics UnsafeAtomicLazyReference.swift
[62/124] Compiling Atomics AtomicStorage.swift
[63/124] Compiling Atomics AtomicValue.swift
[64/124] Compiling Logging LogHandler.swift
[67/124] Compiling Atomics OptionalRawRepresentable.swift
[68/124] Compiling Atomics RawRepresentable.swift
[69/124] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[70/124] Compiling Atomics AtomicMemoryOrderings.swift
[71/124] Compiling Atomics DoubleWord.swift
[72/124] Compiling RealModule Float80+Real.swift
[73/125] Compiling InternalCollectionsUtilities String+Padding.swift
[74/125] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[75/125] Compiling InternalCollectionsUtilities Integer rank.swift
[76/125] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[77/125] Compiling Atomics Primitives.native.swift
[85/125] Emitting module RealModule
[86/126] Compiling Logging LogEvent.swift
[87/126] Compiling RealModule Real.swift
[88/126] Compiling RealModule RealFunctions.swift
[89/126] Compiling RealModule Float16+Real.swift
[99/126] Compiling RealModule RelaxedArithmetic.swift
[110/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[111/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[112/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[113/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[114/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[115/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[116/208] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[117/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[118/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[119/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[120/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[121/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[122/215] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[123/215] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[124/215] Compiling OrderedCollections OrderedDictionary.swift
[125/215] Compiling OrderedCollections OrderedSet+Codable.swift
[126/215] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[127/215] Compiling OrderedCollections OrderedSet+Descriptions.swift
[128/215] Compiling OrderedCollections OrderedSet+Diffing.swift
[129/215] Compiling OrderedCollections OrderedSet+Equatable.swift
[130/215] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[131/215] Compiling OrderedCollections OrderedSet+Hashable.swift
[132/215] Compiling OrderedCollections OrderedSet+Initializers.swift
[133/215] Compiling OrderedCollections OrderedSet+Insertions.swift
[134/215] Compiling OrderedCollections OrderedSet+Invariants.swift
[135/215] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[136/215] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[137/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[138/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[139/215] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[140/215] Compiling Algorithms Reductions.swift
[141/215] Compiling Algorithms Rotate.swift
[142/215] Compiling Algorithms Partition.swift
[143/215] Compiling Algorithms Permutations.swift
[144/215] Compiling Algorithms Product.swift
[145/215] Compiling Algorithms Split.swift
[146/215] Compiling Algorithms Stride.swift
[147/215] Compiling Algorithms Suffix.swift
[148/215] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[149/215] Compiling Algorithms AdjacentPairs.swift
[150/215] Compiling Algorithms Chain.swift
[151/215] Compiling Algorithms Chunked.swift
[152/215] Compiling Algorithms Combinations.swift
[153/215] Compiling Algorithms Compacted.swift
[154/215] Compiling Algorithms Cycle.swift
[155/215] Compiling Algorithms EitherSequence.swift
[156/215] Compiling Algorithms FirstNonNil.swift
[160/218] Compiling Algorithms RandomSample.swift
[170/218] Compiling Algorithms Joined.swift
[171/218] Compiling Algorithms Keyed.swift
[172/218] Compiling Algorithms MinMax.swift
[173/218] Compiling OrderedCollections OrderedSet+Sendable.swift
[174/218] Compiling OrderedCollections OrderedSet+SubSequence.swift
[175/218] Compiling OrderedCollections OrderedSet+Testing.swift
[176/218] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[177/218] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[178/218] Compiling OrderedCollections OrderedSet.swift
[179/218] Compiling OrderedCollections _UnsafeBitset.swift
[183/218] Compiling Algorithms FlattenCollection.swift
[184/218] Compiling Algorithms Grouped.swift
[185/218] Compiling Algorithms Indexed.swift
[186/218] Compiling Algorithms Intersperse.swift
[192/218] Compiling Algorithms Trim.swift
[193/218] Compiling Algorithms Unique.swift
[194/218] Compiling Algorithms Windows.swift
[195/218] Compiling Logging MetadataProvider.swift
[196/218] Emitting module Logging
[197/218] Compiling Logging Locks.swift
[202/218] Emitting module OrderedCollections
[204/219] Compiling Logging Logging.swift
[206/220] Compiling RuntimeAssertions RuntimePrecondition.swift
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:41:5: error: cannot find 'usleep' in scope
39 | // `wait(for: [expectation], timeout: timeout)`
40 | // here as we need to make the method independent of XCTestCase to also use it in our TestApp UITest target which fails if you import XCTest.
41 | usleep(useconds_t(1_000_000 * timeout))
| `- error: cannot find 'usleep' in scope
42 | expressionWorkItem.cancel()
43 | }
/host/spi-builder-workspace/.build/checkouts/XCTRuntimeAssertions/Sources/RuntimeAssertions/RuntimePrecondition.swift:67:5: error: cannot find 'usleep' in scope
65 | // `wait(for: [expectation], timeout: timeout)`
66 | // here as we need to make the method independent of XCTestCase to also use it in our TestApp UITest target which fails if you import XCTest.
67 | usleep(useconds_t(1_000_000 * timeout))
| `- error: cannot find 'usleep' in scope
68 | task.cancel()
69 | }
[207/220] Compiling RuntimeAssertions DebugOnly.swift
[208/220] Emitting module RuntimeAssertions
[209/220] Compiling RuntimeAssertions Assert.swift
[210/220] Compiling RuntimeAssertions Counter.swift
[211/220] Compiling RuntimeAssertions Precondition.swift
[212/220] Compiling RuntimeAssertions NeverReturn.swift
[213/220] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[214/220] Compiling ThreadLocalMacros Diagnostic.swift
[215/220] Emitting module ThreadLocalMacros
BUILD FAILURE 6.3 android