The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziSensorKit, reference 0.6.3 (8addfd), with Swift 6.2 for Android on 6 Apr 2026 22:55:35 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziSensorKit.git
Reference: 0.6.3
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
 * tag               0.6.3      -> FETCH_HEAD
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 0.6.3
========================================
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/SpeziFoundation.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
[1/1715] Fetching spezistorage
[396/4669] Fetching spezistorage, spezifoundation
[4375/15002] Fetching spezistorage, spezifoundation, spezi
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.33s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.33s)
[3514/10333] Fetching spezi
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.51s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (1.03s)
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.86s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.60s)
Fetching https://github.com/apple/swift-collections.git
[1/23426] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.4 (2.30s)
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/63157] Fetching zstd
[2/64977] Fetching zstd, swift-atomics
[93/71035] Fetching zstd, swift-atomics, swift-algorithms
[457/77384] Fetching zstd, swift-atomics, swift-algorithms, swift-log
[11418/77555] Fetching zstd, swift-atomics, swift-algorithms, swift-log, threadlocal
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.66s)
[18648/77384] Fetching zstd, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/apple/swift-algorithms.git from cache (0.88s)
[15117/71326] Fetching zstd, swift-atomics, swift-log
Fetched https://github.com/apple/swift-log from cache (0.93s)
[10662/64977] Fetching zstd, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (4.92s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (4.99s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (7.95s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.92s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.2 (0.36s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74932] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.05s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (6.28s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.55s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.36s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.39s)
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/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-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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/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/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-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/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.4
Creating working copy for https://github.com/StanfordBDHG/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.2
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.56s)
Building for debugging...
[0/55] Write sources
[2/55] Compiling divsufsort.c
[3/55] Compiling cover.c
[4/55] Compiling zstd_compress_literals.c
[5/55] Compiling zstd_compress_sequences.c
[6/55] Write swift-version--11D90AFD9DD3AB2.txt
[7/55] Compiling zdict.c
[8/55] Compiling huf_decompress_amd64.S
[9/55] Compiling fastcover.c
[10/55] Compiling zstd_decompress_block.c
[11/59] Compiling zstd_decompress.c
[12/59] Compiling zstd_ddict.c
[13/59] Compiling zstd_ldm.c
[14/59] Compiling zstdmt_compress.c
[15/59] Compiling zstd_preSplit.c
[16/59] Compiling huf_decompress.c
[17/59] Compiling zstd_opt.c
[18/59] Compiling zstd_fast.c
[19/59] Compiling zstd_compress_superblock.c
[20/59] Compiling zstd_double_fast.c
[20/59] Compiling hist.c
[22/59] Compiling threading.c
[23/59] Compiling fse_compress.c
[24/59] Compiling xxhash.c
[25/59] Compiling huf_compress.c
[26/59] Compiling zstd_common.c
[27/59] Compiling debug.c
[28/59] Compiling _NumericsShims _NumericsShims.c
[29/59] Compiling zstd_compress.c
[30/59] Write sources
[33/59] Copying Localizable.xcstrings.license
[34/59] Copying Localizable.xcstrings
[35/59] Copying Info.plist
[36/59] Compiling pool.c
[37/59] Compiling _AtomicsShims.c
[38/59] Write sources
[42/59] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[43/59] Write sources
[46/70] Compiling fse_decompress.c
[47/88] Compiling error_private.c
[48/88] Write sources
[49/102] Compiling entropy_common.c
[49/102] Write sources
[52/120] Emitting module RealModule
[53/121] Emitting module InternalCollectionsUtilities
[54/123] Emitting module ThreadLocalMacros
[55/123] Emitting module Atomics
[55/125] Compiling zstd_lazy.c
[57/125] Compiling Atomics OptionalRawRepresentable.swift
[58/125] Compiling Atomics RawRepresentable.swift
[59/125] Compiling Atomics AtomicBool.swift
[60/125] Compiling Atomics IntegerOperations.swift
[61/125] Compiling Atomics Unmanaged extensions.swift
[62/125] Compiling Atomics AtomicInteger.swift
[63/125] Compiling Atomics AtomicOptionalWrappable.swift
[64/125] Compiling Atomics AtomicReference.swift
[65/125] Compiling Atomics IntegerConformances.swift
[66/125] Compiling Atomics PointerConformances.swift
[67/125] Compiling Atomics Primitives.native.swift
[68/125] Compiling RealModule RelaxedArithmetic.swift
[69/125] Compiling RealModule RealFunctions.swift
[70/125] Compiling Atomics ManagedAtomic.swift
[71/125] Compiling Atomics ManagedAtomicLazyReference.swift
[72/125] Compiling Atomics UnsafeAtomic.swift
[73/125] Compiling Atomics UnsafeAtomicLazyReference.swift
[74/125] Compiling Atomics AtomicStorage.swift
[75/125] Compiling Atomics AtomicValue.swift
[76/125] Compiling Atomics AtomicMemoryOrderings.swift
[77/125] Compiling Atomics DoubleWord.swift
[82/126] Compiling RealModule Real.swift
[83/126] Compiling RealModule Float80+Real.swift
[92/126] Compiling Logging LogHandler.swift
[95/126] Emitting module RuntimeAssertions
[96/126] Compiling RuntimeAssertions Assert.swift
[106/127] Compiling RealModule Float16+Real.swift
[112/209] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[113/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[114/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[115/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[116/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[117/209] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[118/209] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[119/209] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[120/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[121/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[122/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[123/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[124/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[125/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[126/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[127/216] Compiling Algorithms AdjacentPairs.swift
[128/216] Compiling Algorithms Chain.swift
[129/216] Compiling Algorithms Chunked.swift
[130/216] Compiling Algorithms Combinations.swift
[131/216] Compiling Algorithms FlattenCollection.swift
[132/216] Compiling Algorithms Grouped.swift
[133/216] Compiling Algorithms Indexed.swift
[134/216] Compiling Algorithms Intersperse.swift
[135/216] Compiling Algorithms Compacted.swift
[136/216] Compiling Algorithms Cycle.swift
[137/216] Compiling Algorithms EitherSequence.swift
[138/216] Compiling Algorithms FirstNonNil.swift
[139/216] Compiling Algorithms Joined.swift
[140/216] Compiling Algorithms Keyed.swift
[141/216] Compiling Algorithms MinMax.swift
[142/216] Compiling Algorithms Partition.swift
[143/216] Compiling Algorithms Permutations.swift
[144/216] Compiling Algorithms Product.swift
[145/216] Compiling Algorithms RandomSample.swift
[146/216] Compiling Algorithms Reductions.swift
[147/216] Compiling Algorithms Rotate.swift
[148/216] Compiling Algorithms Split.swift
[149/216] Compiling Algorithms Stride.swift
[150/216] Compiling Algorithms Suffix.swift
[151/216] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[152/216] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[153/216] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[154/216] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[155/216] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[156/216] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[157/216] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[158/216] Compiling OrderedCollections OrderedDictionary+Values.swift
[159/216] Compiling OrderedCollections OrderedSet+Initializers.swift
[160/216] Compiling OrderedCollections OrderedSet+Insertions.swift
[161/216] Compiling OrderedCollections OrderedSet+Invariants.swift
[162/216] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[163/216] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[164/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[165/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[166/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[183/219] Compiling Algorithms Trim.swift
[184/219] Compiling Algorithms Unique.swift
[185/219] Compiling Algorithms Windows.swift
[194/219] Emitting module OrderedCollections
[195/219] Compiling OrderedCollections OrderedSet+Sendable.swift
[196/219] Compiling OrderedCollections OrderedSet+SubSequence.swift
[197/219] Compiling OrderedCollections OrderedSet+Testing.swift
[198/219] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[199/219] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[200/219] Compiling OrderedCollections OrderedSet.swift
[201/219] Compiling OrderedCollections _UnsafeBitset.swift
[202/220] Compiling Logging MetadataProvider.swift
[204/220] Emitting module Logging
[205/220] Compiling Logging Locks.swift
[206/220] Compiling ThreadLocalMacros ThreadLocalMacro.swift
[207/220] Compiling ThreadLocalMacros Diagnostic.swift
[209/221] Compiling Logging LogEvent.swift
[210/221] Compiling Logging Logging.swift
[210/222] Wrapping AST for ThreadLocalMacros for debugging
[211/222] Write Objects.LinkFileList
[214/222] Emitting module Algorithms
[216/223] 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 | }
[217/223] Compiling RuntimeAssertions NeverReturn.swift
[218/223] Compiling RuntimeAssertions Precondition.swift
[219/223] Compiling RuntimeAssertions DebugOnly.swift
[220/223] Compiling RuntimeAssertions Counter.swift
[221/223] Compiling RuntimeAssertions RuntimeAssertion.swift
[222/223] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[222/223] Linking ThreadLocalMacros-tool
BUILD FAILURE 6.2 android