Build Information
Failed to build SpeziSensorKit, reference main (8addfd), with Swift 6.2 for Android on 6 Apr 2026 22:57:08 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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziSensorKit.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/SpeziSensorKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8addfd5 try to fix deadlock (#17)
Cloned https://github.com/StanfordSpezi/SpeziSensorKit.git
Revision (git rev-parse @):
8addfd5f8ca54d85409ad9c70391859d44df227b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziSensorKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziSensorKit.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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ddd4edb33d5d885e17caac0b97dcd74ed916c6d1fa6d49f38e53038953d2cc51
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/2954] Fetching spezifoundation
[238/4669] Fetching spezifoundation, spezistorage
[4670/15002] Fetching spezifoundation, spezistorage, spezi
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.30s)
[5951/13287] Fetching spezifoundation, spezi
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.31s)
[3927/10333] Fetching spezi
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.48s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (0.99s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.27s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.76s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.65s)
Fetching https://github.com/apple/swift-collections.git
[1/23426] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.4 (2.06s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/63157] Fetching zstd
[2/63328] Fetching zstd, threadlocal
[173/65148] Fetching zstd, threadlocal, swift-atomics
[2037/71206] Fetching zstd, threadlocal, swift-atomics, swift-algorithms
[9224/77555] Fetching zstd, threadlocal, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.63s)
Fetched https://github.com/apple/swift-log from cache (0.63s)
[18861/69386] Fetching zstd, threadlocal, swift-algorithms
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (4.48s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.48s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (4.55s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (8.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.96s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.00s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.2 (0.51s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74932] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.44s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (7.01s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.75s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.56s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.43s)
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.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.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.4
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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.1
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.36s)
Building for debugging...
[0/55] Write sources
[6/55] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[7/55] Compiling debug.c
[8/55] Write swift-version--11D90AFD9DD3AB2.txt
[9/55] Compiling huf_decompress_amd64.S
[10/55] Compiling divsufsort.c
[11/67] Compiling zstd_ddict.c
[12/67] Compiling fastcover.c
[13/67] Compiling zdict.c
[14/67] Compiling cover.c
[15/67] Compiling zstd_decompress.c
[16/67] Compiling zstd_decompress_block.c
[17/67] Compiling zstd_preSplit.c
[18/67] Compiling zstd_ldm.c
[19/67] Compiling zstdmt_compress.c
[20/67] Compiling huf_decompress.c
[21/67] Compiling zstd_opt.c
[22/67] Compiling zstd_compress_superblock.c
[23/67] Compiling zstd_fast.c
[24/67] Compiling zstd_compress_literals.c
[25/67] Compiling zstd_compress_sequences.c
[26/67] Compiling zstd_double_fast.c
[27/67] Compiling hist.c
[28/67] Compiling xxhash.c
[29/67] Compiling huf_compress.c
[30/67] Compiling threading.c
[31/67] Compiling fse_compress.c
[32/67] Compiling zstd_common.c
[33/67] Compiling error_private.c
[34/67] Compiling _NumericsShims _NumericsShims.c
[35/67] Compiling _AtomicsShims.c
[36/67] Write sources
[38/67] Copying Localizable.xcstrings.license
[39/67] Copying Localizable.xcstrings
[40/67] Copying Info.plist
[41/67] Write sources
[42/67] Compiling zstd_compress.c
[43/67] Write sources
[45/68] Compiling fse_decompress.c
[46/68] Write sources
[47/70] Compiling entropy_common.c
[47/70] Write sources
[50/76] Compiling pool.c
[52/120] Emitting module RuntimeAssertions
[52/121] Compiling zstd_lazy.c
[54/121] Compiling RuntimeAssertions Assert.swift
[55/121] Emitting module RealModule
[56/121] Compiling RealModule RealFunctions.swift
[57/121] Compiling Atomics PointerConformances.swift
[58/121] Compiling Atomics Primitives.native.swift
[59/124] Compiling Atomics RawRepresentable.swift
[60/124] Compiling Atomics AtomicBool.swift
[61/124] Compiling Atomics IntegerConformances.swift
[62/124] Compiling RealModule Float16+Real.swift
[63/124] Compiling RealModule Float80+Real.swift
[64/124] Compiling RealModule Real.swift
[65/124] Compiling Atomics AtomicOptionalWrappable.swift
[66/124] Compiling Atomics AtomicReference.swift
[67/124] Compiling Atomics OptionalRawRepresentable.swift
[68/124] Emitting module InternalCollectionsUtilities
[69/124] Compiling Atomics AtomicStorage.swift
[70/124] Compiling Atomics AtomicValue.swift
[71/124] Compiling Atomics AtomicInteger.swift
[72/124] Compiling Atomics ManagedAtomic.swift
[73/124] Compiling Atomics ManagedAtomicLazyReference.swift
[74/124] Compiling Atomics UnsafeAtomic.swift
[75/124] Compiling Atomics UnsafeAtomicLazyReference.swift
[76/124] Compiling Atomics AtomicMemoryOrderings.swift
[77/124] Compiling Atomics DoubleWord.swift
[78/124] Compiling Logging LogEvent.swift
[79/124] Compiling Logging LogHandler.swift
[86/126] Compiling RealModule RelaxedArithmetic.swift
[87/126] Compiling Atomics IntegerOperations.swift
[88/126] Compiling Atomics Unmanaged extensions.swift
[100/127] Emitting module Atomics
[109/208] Compiling Algorithms Product.swift
[110/208] Compiling Algorithms RandomSample.swift
[112/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[113/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[114/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[115/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[116/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[117/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[118/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[119/216] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[120/216] Emitting module ThreadLocalMacros
[121/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[122/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[123/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[124/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[125/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[126/216] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[127/216] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[128/216] Compiling OrderedCollections OrderedDictionary.swift
[129/216] Compiling OrderedCollections OrderedSet+Codable.swift
[130/216] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[131/216] Compiling OrderedCollections OrderedSet+Descriptions.swift
[132/216] Compiling OrderedCollections OrderedSet+Diffing.swift
[133/216] Compiling OrderedCollections OrderedSet+Equatable.swift
[134/216] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[135/216] Compiling OrderedCollections OrderedSet+Hashable.swift
[136/216] Compiling OrderedCollections OrderedSet+Initializers.swift
[137/216] Compiling OrderedCollections OrderedSet+Insertions.swift
[138/216] Compiling OrderedCollections OrderedSet+Invariants.swift
[139/216] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[140/216] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[141/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[142/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[143/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[144/216] Compiling Algorithms FlattenCollection.swift
[145/216] Compiling Algorithms Grouped.swift
[146/216] Compiling Algorithms Indexed.swift
[147/216] Compiling Algorithms Intersperse.swift
[148/216] Compiling Algorithms Joined.swift
[149/216] Compiling Algorithms Keyed.swift
[150/216] Compiling Algorithms MinMax.swift
[151/216] Compiling Algorithms Partition.swift
[152/216] Compiling Algorithms Permutations.swift
[155/216] Compiling Algorithms Reductions.swift
[156/216] Compiling Algorithms Rotate.swift
[157/216] Compiling Algorithms Split.swift
[158/216] Compiling Algorithms Stride.swift
[159/216] Compiling Algorithms Suffix.swift
[172/219] Compiling OrderedCollections OrderedSet+Sendable.swift
[173/219] Compiling OrderedCollections OrderedSet+SubSequence.swift
[174/219] Compiling OrderedCollections OrderedSet+Testing.swift
[175/219] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[176/219] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[177/219] Compiling OrderedCollections OrderedSet.swift
[178/219] Compiling OrderedCollections _UnsafeBitset.swift
[179/219] Compiling Algorithms Compacted.swift
[180/219] Compiling Algorithms Cycle.swift
[181/219] Compiling Algorithms EitherSequence.swift
[182/219] Compiling Algorithms FirstNonNil.swift
[187/219] Compiling Algorithms AdjacentPairs.swift
[188/219] Compiling Algorithms Chain.swift
[189/219] Compiling Algorithms Chunked.swift
[190/219] Compiling Algorithms Combinations.swift
[195/219] Emitting module OrderedCollections
[197/220] Compiling Algorithms Trim.swift
[198/220] Compiling Algorithms Unique.swift
[199/220] Compiling Algorithms Windows.swift
[204/220] Emitting module Algorithms
[206/221] Compiling ThreadLocalMacros ThreadLocalMacro.swift
[207/221] Compiling ThreadLocalMacros Diagnostic.swift
[208/222] Wrapping AST for ThreadLocalMacros for debugging
[209/222] Write Objects.LinkFileList
[211/222] Compiling Logging MetadataProvider.swift
[212/222] Emitting module Logging
[213/222] Compiling Logging Locks.swift
[214/222] Compiling Logging Logging.swift
[215/223] Linking ThreadLocalMacros-tool
[217/226] Compiling RuntimeAssertions NeverReturn.swift
[218/226] Compiling RuntimeAssertions Precondition.swift
[219/226] 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 | }
[220/226] Compiling RuntimeAssertions DebugOnly.swift
[221/226] Compiling RuntimeAssertions Counter.swift
[222/226] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[223/226] Compiling RuntimeAssertions RuntimeAssertion.swift
BUILD FAILURE 6.2 android