Build Information
Failed to build SpeziFoundation, reference 2.7.6 (14b71e), with Swift 6.3 for Android on 20 Apr 2026 03:26:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/SpeziFoundation.git
Reference: 2.7.6
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/SpeziFoundation
* tag 2.7.6 -> FETCH_HEAD
HEAD is now at 14b71ec LocalizationsDictionary literal init (#65)
Cloned https://github.com/StanfordSpezi/SpeziFoundation.git
Revision (git rev-parse @):
14b71ec24d42463c273203556c3cbfc03ce04023
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.6
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziFoundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
[1/735] Fetching xctruntimeassertions
[9/918] Fetching xctruntimeassertions, threadlocal
[919/64075] Fetching xctruntimeassertions, threadlocal, zstd
[920/65895] Fetching xctruntimeassertions, threadlocal, zstd, swift-atomics
[1248/71953] Fetching xctruntimeassertions, threadlocal, zstd, swift-atomics, swift-algorithms
[7081/78588] Fetching xctruntimeassertions, threadlocal, zstd, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.38s)
[10032/77853] Fetching threadlocal, zstd, swift-atomics, swift-algorithms, swift-log
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (0.70s)
Fetched https://github.com/apple/swift-log from cache (0.70s)
[19878/71035] Fetching zstd, swift-atomics, swift-algorithms
Fetched https://github.com/apple/swift-atomics.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.58s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (5.12s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.23s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.01s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.46s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74981] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.97s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0 (6.16s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.43s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.80s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.46s)
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/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-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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.0
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.59s)
Building for debugging...
[0/50] Write sources
[1/50] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[2/50] Compiling debug.c
[3/50] Write swift-version--4F562202D5529B1.txt
[4/50] Compiling fse_decompress.c
[5/50] Compiling divsufsort.c
[6/50] Compiling zdict.c
[7/50] Compiling entropy_common.c
[8/50] Compiling error_private.c
[9/54] Compiling huf_decompress_amd64.S
[10/54] Compiling fastcover.c
[11/54] Compiling cover.c
[12/54] Compiling zstd_decompress_block.c
[13/54] Compiling zstd_preSplit.c
[14/54] Compiling zstd_ddict.c
[15/54] Compiling zstd_decompress.c
[16/54] Compiling zstd_ldm.c
[17/54] Compiling zstdmt_compress.c
[18/54] Compiling huf_decompress.c
[19/54] Compiling zstd_opt.c
[20/54] Compiling zstd_fast.c
[21/54] Compiling zstd_compress_superblock.c
[22/54] Compiling zstd_compress_sequences.c
[23/54] Compiling zstd_double_fast.c
[24/54] Compiling zstd_compress_literals.c
[25/54] Compiling hist.c
[26/54] Compiling threading.c
[27/54] Compiling xxhash.c
[28/54] Compiling _NumericsShims _NumericsShims.c
[29/54] Compiling _AtomicsShims.c
[30/54] Compiling huf_compress.c
[31/54] Compiling zstd_common.c
[32/54] Copying Localizable.xcstrings.license
[33/54] Copying Localizable.xcstrings
[34/54] Copying Info.plist
[35/54] Compiling pool.c
[36/54] Compiling fse_compress.c
[37/54] Write sources
[39/54] Compiling zstd_compress.c
[40/54] Write sources
[47/80] Emitting module ThreadLocalMacros
[48/97] Emitting module Atomics
[48/99] Compiling zstd_lazy.c
[50/99] Compiling Logging LogEvent.swift
[51/99] Compiling Logging LogHandler.swift
[52/99] Compiling RuntimeAssertions Assert.swift
[53/99] Emitting module RuntimeAssertions
[54/99] Compiling RealModule RealFunctions.swift
[55/101] Compiling RealModule Float16+Real.swift
[56/101] Compiling Atomics IntegerOperations.swift
[57/101] Compiling Atomics Unmanaged extensions.swift
[58/101] Compiling RealModule RelaxedArithmetic.swift
[59/101] Compiling RealModule Real.swift
[60/101] Compiling RuntimeAssertions RuntimeAssertion.swift
[61/101] Compiling Atomics AtomicBool.swift
[62/101] Compiling Atomics IntegerConformances.swift
[63/101] Compiling Atomics UnsafeAtomic.swift
[64/101] Compiling Atomics UnsafeAtomicLazyReference.swift
[65/101] Compiling Atomics OptionalRawRepresentable.swift
[66/101] Compiling Atomics RawRepresentable.swift
[68/101] Compiling Atomics ManagedAtomic.swift
[69/101] Compiling Atomics ManagedAtomicLazyReference.swift
[70/101] Compiling RealModule Float80+Real.swift
[71/101] Compiling Atomics PointerConformances.swift
[72/101] Compiling Atomics Primitives.native.swift
[75/101] Emitting module RealModule
[76/102] Compiling Atomics AtomicStorage.swift
[77/102] Compiling Atomics AtomicValue.swift
[78/102] Compiling Atomics AtomicInteger.swift
[79/102] Compiling Atomics AtomicOptionalWrappable.swift
[80/102] Compiling Atomics AtomicReference.swift
[81/102] Compiling Atomics AtomicMemoryOrderings.swift
[82/102] Compiling Atomics DoubleWord.swift
[88/103] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[89/128] Compiling Algorithms Partition.swift
[90/128] Compiling Algorithms Permutations.swift
[91/128] Compiling Algorithms Product.swift
[92/131] Compiling Algorithms Compacted.swift
[93/131] Compiling Algorithms Cycle.swift
[94/131] Compiling Algorithms EitherSequence.swift
[95/131] Compiling Algorithms FirstNonNil.swift
[96/131] Compiling Algorithms Split.swift
[97/131] Compiling Algorithms Stride.swift
[98/131] Compiling Algorithms Suffix.swift
[99/131] Emitting module Algorithms
[100/131] Compiling Logging Locks.swift
[101/131] Emitting module Logging
[102/131] Compiling Logging MetadataProvider.swift
[103/131] Compiling Algorithms AdjacentPairs.swift
[104/131] Compiling Algorithms Chain.swift
[105/131] Compiling Algorithms Chunked.swift
[106/131] Compiling Algorithms Combinations.swift
[107/131] Compiling ThreadLocalMacros Diagnostic.swift
[108/131] Compiling ThreadLocalMacros ThreadLocalMacro.swift
[110/132] Compiling Algorithms Joined.swift
[111/132] Compiling Algorithms Keyed.swift
[112/132] Compiling Algorithms MinMax.swift
[113/132] Compiling Logging Logging.swift
[114/133] Compiling Algorithms Trim.swift
[115/133] Compiling Algorithms Unique.swift
[116/133] Compiling Algorithms Windows.swift
[117/133] Compiling RuntimeAssertions Precondition.swift
[118/133] Wrapping AST for ThreadLocalMacros for debugging
[120/133] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[120/133] Write Objects.LinkFileList
[122/133] Compiling RuntimeAssertions NeverReturn.swift
[123/133] Compiling RuntimeAssertions DebugOnly.swift
[124/133] 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 | }
[125/133] Compiling Algorithms RandomSample.swift
[126/133] Compiling Algorithms Reductions.swift
[127/133] Compiling Algorithms Rotate.swift
[128/133] Compiling Algorithms FlattenCollection.swift
[129/133] Compiling Algorithms Grouped.swift
[130/133] Compiling Algorithms Indexed.swift
[131/133] Compiling Algorithms Intersperse.swift
[132/133] Compiling RuntimeAssertions Counter.swift
error: cancelled
[132/134] Linking ThreadLocalMacros-tool
BUILD FAILURE 6.3 android