Build Information
Failed to build SpeziHealthKit, reference main (5341a7), with Swift 6.3 for Android on 12 Apr 2026 23:24:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/SpeziHealthKit.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/SpeziHealthKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5341a7a Update CI badge in README.md (#85)
Cloned https://github.com/StanfordSpezi/SpeziHealthKit.git
Revision (git rev-parse @):
5341a7a521fb4d14c88304e0f0622a94a095eef8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziHealthKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziHealthKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/SpeziStorage.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/1715] Fetching spezistorage
[1151/4680] Fetching spezistorage, spezifoundation
[4681/10904] Fetching spezistorage, spezifoundation, swift-async-algorithms
[6798/28427] Fetching spezistorage, spezifoundation, swift-async-algorithms, swift-argument-parser
[9739/34485] Fetching spezistorage, spezifoundation, swift-async-algorithms, swift-argument-parser, swift-algorithms
[32559/50531] Fetching spezistorage, spezifoundation, swift-async-algorithms, swift-argument-parser, swift-algorithms, swift-snapshot-testing
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.26s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (1.27s)
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.29s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.30s)
[2518/17761] Fetching spezistorage, swift-snapshot-testing
[3963/28107] Fetching spezistorage, swift-snapshot-testing, spezi
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.26s)
[15194/17761] Fetching spezistorage, swift-snapshot-testing
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (3.41s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.51s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (4.91s)
Fetching https://github.com/apple/swift-collections.git
[1/23525] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.27s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.82s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.4 (1.11s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/735] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.21s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.5 (0.95s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
[1/183] Fetching threadlocal
[184/63340] Fetching threadlocal, zstd
[185/65160] Fetching threadlocal, zstd, swift-atomics
[2140/71681] Fetching threadlocal, zstd, swift-atomics, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.56s)
[16178/69861] Fetching threadlocal, zstd, swift-log
Fetched https://github.com/apple/swift-log from cache (0.85s)
[14078/63340] Fetching threadlocal, zstd
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (9.98s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (10.06s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (11.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.75s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.2 (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.46s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (1.09s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74967] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.54s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0 (8.66s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.68s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.53s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.19.2 (0.47s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5464] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.73s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.5.0 (1.12s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.82s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (1.30s)
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.5.0
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.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/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.2
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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.5
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.19.2
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
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/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.62s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/67] Write sources
[3/67] Compiling divsufsort.c
[4/67] Compiling huf_decompress_amd64.S
[5/67] Compiling fastcover.c
[6/67] Compiling zdict.c
[7/67] Write swift-version--4F562202D5529B1.txt
[8/67] Compiling zstd_ddict.c
[9/67] Compiling cover.c
[10/71] Compiling zstd_decompress_block.c
[11/71] Compiling zstd_decompress.c
[12/71] Compiling huf_decompress.c
[13/71] Compiling zstd_preSplit.c
[14/71] Compiling zstdmt_compress.c
[15/71] Compiling zstd_compress_sequences.c
[16/71] Compiling zstd_ldm.c
[17/71] Compiling zstd_fast.c
[18/71] Compiling zstd_opt.c
[19/71] Compiling zstd_double_fast.c
[20/71] Compiling zstd_compress_superblock.c
[21/71] Compiling zstd_compress_literals.c
[22/71] Compiling xxhash.c
[23/71] Compiling threading.c
[24/71] Compiling hist.c
[25/71] Compiling huf_compress.c
[26/71] Compiling fse_compress.c
[27/71] Compiling zstd_common.c
[28/71] Compiling debug.c
[29/71] Compiling _NumericsShims _NumericsShims.c
[30/71] Compiling _AtomicsShims.c
[31/71] Write sources
[32/71] Copying Localizable-HKTypes.strings
[38/71] Copying Info.plist
[39/71] Write sources
[41/71] Copying Localizable.xcstrings.license
[41/71] Copying Localizable.xcstrings
[41/71] Copying Info.plist
[45/71] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[46/71] Write sources
[50/71] Compiling pool.c
[51/90] Compiling error_private.c
[52/90] Write sources
[53/90] Compiling fse_decompress.c
[54/90] Write sources
[57/90] Compiling zstd_compress.c
[58/90] Write sources
[61/115] Compiling entropy_common.c
[62/115] Write sources
[64/132] Emitting module Atomics
[64/134] Compiling zstd_lazy.c
[66/134] Compiling RuntimeAssertions RuntimeAssertion.swift
[67/134] Compiling RealModule RealFunctions.swift
[68/136] Emitting module RealModule
[69/136] Compiling Atomics OptionalRawRepresentable.swift
[70/136] Compiling Atomics RawRepresentable.swift
[73/136] Compiling Atomics AtomicBool.swift
[74/136] Emitting module InternalCollectionsUtilities
[75/138] Compiling Atomics AtomicInteger.swift
[76/138] Compiling Atomics AtomicOptionalWrappable.swift
[77/138] Compiling Atomics AtomicReference.swift
[78/138] Compiling InternalCollectionsUtilities _SortedCollection.swift
[79/138] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[80/138] Compiling Logging LogEvent.swift
[81/138] Compiling Atomics ManagedAtomic.swift
[82/138] Compiling Atomics ManagedAtomicLazyReference.swift
[83/138] Compiling Atomics UnsafeAtomic.swift
[84/138] Compiling Atomics UnsafeAtomicLazyReference.swift
[92/138] Compiling RealModule Float16+Real.swift
[93/138] Compiling Atomics IntegerConformances.swift
[94/138] Compiling Atomics PointerConformances.swift
[95/138] Compiling Atomics Primitives.native.swift
[96/138] Compiling Atomics AtomicStorage.swift
[97/138] Compiling Atomics AtomicValue.swift
[98/138] Compiling Atomics AtomicMemoryOrderings.swift
[99/138] Compiling Atomics DoubleWord.swift
[107/138] Compiling RealModule Float80+Real.swift
[108/138] Compiling RealModule Real.swift
[115/139] Compiling RealModule RelaxedArithmetic.swift
[122/254] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[123/254] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[124/254] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[125/254] Compiling OrderedCollections OrderedDictionary+Elements.swift
[126/254] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[127/254] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[128/254] Compiling OrderedCollections _HashTable.swift
[129/254] Compiling OrderedCollections _Hashtable+Header.swift
[130/254] Compiling OrderedCollections OrderedDictionary+Codable.swift
[131/254] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[132/258] Compiling OrderedCollections OrderedSet+Equatable.swift
[133/258] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[134/258] Compiling OrderedCollections OrderedSet+Hashable.swift
[135/258] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[136/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[137/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[138/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[139/258] Compiling OrderedCollections OrderedDictionary.swift
[140/258] Compiling OrderedCollections OrderedSet+Codable.swift
[141/258] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[142/258] Compiling OrderedCollections OrderedSet+Descriptions.swift
[143/258] Compiling OrderedCollections OrderedSet+Diffing.swift
[144/258] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[145/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[146/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[147/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[148/258] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[149/258] Compiling ContainersPreview Box.swift
[150/258] Compiling ContainersPreview Inout.swift
[151/258] Compiling ContainersPreview InputSpan.swift
[152/258] Compiling ContainersPreview Shared.swift
[153/258] Emitting module ContainersPreview
[154/258] Compiling OrderedCollections _HashTable+Bucket.swift
[155/258] Compiling OrderedCollections _HashTable+BucketIterator.swift
[156/258] Compiling OrderedCollections _HashTable+Constants.swift
[157/258] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[158/258] Compiling OrderedCollections _HashTable+Testing.swift
[160/299] Compiling DequeModule UniqueDeque+Consumption.swift
[161/299] Compiling DequeModule UniqueDeque+Container.swift
[162/299] Compiling DequeModule UniqueDeque+Descriptions.swift
[163/299] Compiling DequeModule UniqueDeque+Equatable.swift
[164/299] Compiling DequeModule UniqueDeque+Experimental.swift
[165/304] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[166/304] Compiling DequeModule RigidDeque+Descriptions.swift
[167/304] Compiling DequeModule RigidDeque+Removals.swift
[168/304] Compiling DequeModule RigidDeque+Replacements.swift
[169/304] Compiling DequeModule RigidDeque+Testing.swift
[170/304] Compiling DequeModule RigidDeque.swift
[171/304] Compiling DequeModule UniqueDeque+Append.swift
[174/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[175/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[176/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[177/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[178/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[179/311] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[180/311] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[181/311] Compiling DequeModule UniqueDeque+Replacements.swift
[182/311] Compiling DequeModule UniqueDeque.swift
[183/311] Compiling DequeModule _DequeSlot.swift
[184/311] Compiling DequeModule _UnsafeDequeHandle.swift
[185/311] Compiling DequeModule _UnsafeDequeSegments.swift
[186/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[187/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[188/311] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[189/311] Compiling DequeModule UniqueDeque+Hashable.swift
[190/311] Compiling DequeModule UniqueDeque+Initializers.swift
[191/311] Compiling DequeModule UniqueDeque+Insertions.swift
[192/311] Compiling DequeModule UniqueDeque+Prepend.swift
[193/311] Compiling DequeModule UniqueDeque+Removals.swift
[194/311] Compiling DequeModule RigidDeque+Equatable.swift
[195/311] Compiling DequeModule RigidDeque+Experimental.swift
[196/311] Compiling DequeModule RigidDeque+Hashable.swift
[197/311] Compiling DequeModule RigidDeque+Initializers.swift
[198/311] Compiling DequeModule RigidDeque+Insertions.swift
[199/311] Compiling DequeModule RigidDeque+Prepend.swift
[200/311] Compiling DequeModule Deque+Testing.swift
[201/311] Compiling DequeModule Deque._Storage.swift
[202/311] Compiling DequeModule Deque._UnsafeHandle.swift
[203/311] Compiling DequeModule Deque.swift
[211/314] Compiling DequeModule Deque+Equatable.swift
[212/314] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[213/314] Compiling DequeModule Deque+Extras.swift
[214/314] Compiling DequeModule Deque+Hashable.swift
[215/314] Compiling DequeModule _DequeBuffer.swift
[216/314] Compiling DequeModule _DequeBufferHeader.swift
[217/314] Compiling DequeModule RigidDeque+Append.swift
[218/314] Compiling DequeModule RigidDeque+Consumption.swift
[219/314] Compiling DequeModule RigidDeque+Container.swift
[221/314] Compiling Algorithms Trim.swift
[222/314] Compiling Algorithms Unique.swift
[223/314] Compiling Algorithms Windows.swift
[254/314] Compiling DequeModule Deque+Codable.swift
[255/314] Compiling DequeModule Deque+Collection.swift
[256/314] Compiling DequeModule Deque+CustomReflectable.swift
[257/314] Compiling DequeModule Deque+Descriptions.swift
[277/314] Emitting module OrderedCollections
[282/314] Compiling Logging MetadataProvider.swift
[283/314] Emitting module Logging
[284/314] Compiling Logging Locks.swift
[285/314] Compiling OrderedCollections OrderedSet+Sendable.swift
[286/314] Compiling OrderedCollections OrderedSet+SubSequence.swift
[287/314] Compiling OrderedCollections OrderedSet+Testing.swift
[288/314] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[289/314] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[290/314] Compiling OrderedCollections OrderedSet.swift
[291/314] Compiling OrderedCollections _UnsafeBitset.swift
[293/315] Compiling RuntimeAssertions Precondition.swift
[294/315] Compiling Logging Logging.swift
[295/315] Compiling Logging LogHandler.swift
[296/316] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[297/316] Emitting module RuntimeAssertions
[298/316] Compiling RuntimeAssertions Counter.swift
[300/316] 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 | }
[301/316] Compiling ThreadLocalMacros Diagnostic.swift
[302/316] Emitting module ThreadLocalMacros
[303/316] Compiling ThreadLocalMacros ThreadLocalMacro.swift
[304/317] Compiling RuntimeAssertions DebugOnly.swift
[305/317] Compiling RuntimeAssertions Assert.swift
[306/317] Compiling RuntimeAssertions NeverReturn.swift
[308/317] Emitting module Algorithms
error: cancelled
BUILD FAILURE 6.3 android