Build Information
Failed to build Spezi, reference main (da5f35), with Swift 6.2 for Android on 13 Nov 2025 14:40:07 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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 da5f352 Migrate to Swift Test (#139)
Cloned https://github.com/StanfordSpezi/Spezi.git
Revision (git rev-parse @):
da5f3522e4d4e033d6956bab144699e062b1858d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/Spezi.git at main
========================================
Build
========================================
Selected platform: android
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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/dfed/swift-testing-expectation
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/310] Fetching swift-testing-expectation
[311/1045] Fetching swift-testing-expectation, xctruntimeassertions
[1046/3172] Fetching swift-testing-expectation, xctruntimeassertions, spezifoundation
Fetched https://github.com/dfed/swift-testing-expectation from cache (0.27s)
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.30s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.30s)
[1/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/dfed/swift-testing-expectation
Computed https://github.com/dfed/swift-testing-expectation at 0.1.4 (1.88s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.60s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.5.0 (0.64s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1821/7849] Fetching swift-atomics, swift-algorithms
[1822/12247] Fetching swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-log from cache (0.53s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.55s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.28s)
Fetching https://github.com/apple/swift-numerics.git
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.83s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.39s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.39s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.5.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.3.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/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-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
Building for debugging...
[0/18] Write sources
[5/18] Copying Localizable.xcstrings
[6/18] Copying Info.plist
[7/18] Copying Localizable.xcstrings.license
[7/18] Write sources
[14/18] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[15/18] Compiling _AtomicsShims.c
[16/18] Compiling _NumericsShims _NumericsShims.c
[17/18] Write swift-version--11D90AFD9DD3AB2.txt
[19/76] Emitting module InternalCollectionsUtilities
[20/78] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[21/78] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[22/78] Compiling Atomics ManagedAtomic.swift
[23/78] Compiling Atomics ManagedAtomicLazyReference.swift
[24/80] Emitting module RuntimeAssertions
[25/81] Compiling Atomics AtomicMemoryOrderings.swift
[26/81] Compiling Atomics DoubleWord.swift
[29/81] Compiling RealModule Real.swift
[30/81] Compiling RealModule Float80+Real.swift
[31/82] Compiling RealModule RealFunctions.swift
[32/82] Compiling Atomics AtomicStorage.swift
[33/82] Compiling Atomics AtomicValue.swift
[34/82] Compiling Logging LogHandler.swift
[35/82] Compiling Atomics AtomicInteger.swift
[36/82] Compiling Atomics AtomicOptionalWrappable.swift
[37/82] Compiling Atomics AtomicReference.swift
[42/82] Compiling Atomics OptionalRawRepresentable.swift
[43/82] Compiling Atomics RawRepresentable.swift
[44/82] Compiling Atomics AtomicBool.swift
[45/82] Compiling Atomics Primitives.native.swift
[47/82] Emitting module RealModule
[57/82] Compiling Atomics IntegerConformances.swift
[58/82] Compiling Atomics PointerConformances.swift
[61/83] Compiling RealModule Float16+Real.swift
[62/83] Emitting module Atomics
[66/83] Compiling RealModule RelaxedArithmetic.swift
[71/84] Compiling Atomics IntegerOperations.swift
[72/84] Compiling Atomics Unmanaged extensions.swift
[74/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[75/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[76/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[77/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[78/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[79/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[80/165] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[81/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[82/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[83/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[84/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[85/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[86/172] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[87/172] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[88/172] Compiling OrderedCollections OrderedSet+Initializers.swift
[89/172] Compiling OrderedCollections OrderedSet+Insertions.swift
[90/172] Compiling OrderedCollections OrderedSet+Invariants.swift
[91/172] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[92/172] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[93/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[94/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[95/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[96/172] Compiling OrderedCollections OrderedDictionary.swift
[97/172] Compiling OrderedCollections OrderedSet+Codable.swift
[98/172] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[99/172] Compiling OrderedCollections OrderedSet+Descriptions.swift
[100/172] Compiling OrderedCollections OrderedSet+Diffing.swift
[101/172] Compiling OrderedCollections OrderedSet+Equatable.swift
[102/172] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[103/172] Compiling OrderedCollections OrderedSet+Hashable.swift
[104/172] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[105/172] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[106/172] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[107/172] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[108/172] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[109/172] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[110/172] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[111/172] Compiling OrderedCollections OrderedDictionary+Values.swift
[112/172] Compiling OrderedCollections OrderedDictionary+Codable.swift
[113/172] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[114/172] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[115/172] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[116/172] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[117/172] Compiling OrderedCollections OrderedDictionary+Elements.swift
[118/172] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[119/172] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[136/175] Compiling OrderedCollections _HashTable+Testing.swift
[137/175] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[138/175] Compiling OrderedCollections _HashTable.swift
[139/175] Compiling OrderedCollections _Hashtable+Header.swift
[140/175] Compiling Logging MetadataProvider.swift
[141/175] Emitting module Logging
[142/175] Compiling Logging Locks.swift
[143/175] Compiling OrderedCollections _HashTable+Bucket.swift
[144/175] Compiling OrderedCollections _HashTable+BucketIterator.swift
[145/175] Compiling OrderedCollections _HashTable+Constants.swift
[146/175] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[151/175] Compiling Algorithms Trim.swift
[152/175] Compiling Algorithms Unique.swift
[153/175] Compiling Algorithms Windows.swift
[154/175] Compiling OrderedCollections OrderedSet+Sendable.swift
[155/175] Compiling OrderedCollections OrderedSet+SubSequence.swift
[156/175] Compiling OrderedCollections OrderedSet+Testing.swift
[157/175] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[158/175] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[159/175] Compiling OrderedCollections OrderedSet.swift
[160/175] Compiling OrderedCollections _UnsafeBitset.swift
[161/175] Compiling Logging Logging.swift
[167/176] 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 | }
[168/176] Emitting module OrderedCollections
[169/177] Compiling RuntimeAssertions NeverReturn.swift
[170/177] Compiling RuntimeAssertions DebugOnly.swift
[171/177] Compiling RuntimeAssertions Counter.swift
[172/177] Compiling RuntimeAssertions Precondition.swift
[173/177] Compiling RuntimeAssertions Assert.swift
[175/177] Compiling RuntimeAssertions RuntimeAssertion.swift
[176/177] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
BUILD FAILURE 6.2 android