Build Information
Failed to build SpeziFoundation, reference 2.7.7 (09b0a9), with Swift 6.3 for Android on 26 Jun 2026 05:39:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziFoundation.git
Reference: 2.7.7
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.7 -> FETCH_HEAD
HEAD is now at 09b0a95 improve test detection (#67)
Cloned https://github.com/StanfordSpezi/SpeziFoundation.git
Revision (git rev-parse @):
09b0a95cef41e42e494f74f395d83a4dc9c6d159
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.7
========================================
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-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:451958f7df55f9af673f8b0851dc526f2aee3222db374ae53b89fa21ad564bc8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/735] Fetching xctruntimeassertions
[266/918] Fetching xctruntimeassertions, threadlocal
[919/8516] Fetching xctruntimeassertions, threadlocal, swift-log
[1147/10384] Fetching xctruntimeassertions, threadlocal, swift-log, swift-atomics
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.38s)
[506/9649] Fetching threadlocal, swift-log, swift-atomics
[4104/72806] Fetching threadlocal, swift-log, swift-atomics, zstd
[5169/78869] Fetching threadlocal, swift-log, swift-atomics, zstd, swift-algorithms
Fetched https://github.com/apple/swift-log from cache (0.53s)
[17588/71271] Fetching threadlocal, swift-atomics, zstd, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.53s)
[12157/65208] Fetching threadlocal, swift-atomics, zstd
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (2.03s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.04s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (2.06s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (2.26s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.86s)
Fetching https://github.com/apple/swift-numerics.git
[1/6429] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.67s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.14s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75744] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.01s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (3.16s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.24s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.14.0 (0.14s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.15s)
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.1
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/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-log
Working copy of https://github.com/apple/swift-log resolved at 1.14.0
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.2
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.19s)
Building for debugging...
[0/50] Write sources
[1/50] Compiling debug.c
[2/50] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[3/50] Write swift-version-272D24FF697CF451.txt
[4/50] Compiling divsufsort.c
[5/50] Compiling error_private.c
[6/50] Compiling pool.c
[7/52] Compiling entropy_common.c
[8/54] Compiling fse_decompress.c
[9/54] Compiling huf_decompress_amd64.S
[10/54] Compiling cover.c
[10/54] Compiling zdict.c
[12/54] Compiling fastcover.c
[13/54] Compiling zstd_ddict.c
[14/54] Compiling zstd_preSplit.c
[15/54] Compiling zstd_decompress.c
[16/54] Compiling zstd_decompress_block.c
[17/54] Compiling zstdmt_compress.c
[18/54] Compiling huf_decompress.c
[19/54] Compiling zstd_opt.c
[20/54] Compiling zstd_ldm.c
[21/54] Compiling zstd_compress_sequences.c
[22/54] Compiling zstd_compress_superblock.c
[23/54] Compiling zstd_compress_literals.c
[24/54] Compiling zstd_fast.c
[25/54] Compiling zstd_double_fast.c
[26/54] Compiling xxhash.c
[27/54] Compiling threading.c
[28/54] Compiling _NumericsShims _NumericsShims.c
[29/54] Compiling hist.c
[30/54] Compiling huf_compress.c
[31/54] Write sources
[32/54] Copying Localizable.xcstrings.license
[33/54] Copying Localizable.xcstrings
[34/54] Copying Info.plist
[35/54] Write sources
[39/54] Compiling _AtomicsShims.c
[40/54] Write sources
[42/54] Compiling fse_compress.c
[43/61] Compiling zstd_common.c
[44/70] Write sources
[45/102] Compiling zstd_compress.c
[46/102] Compiling zstd_lazy.c
[48/102] Emitting module RuntimeAssertions
[49/103] Compiling RuntimeAssertions RuntimeAssertion.swift
[50/103] Compiling Atomics UnsafeAtomic.swift
[51/103] Compiling Atomics UnsafeAtomicLazyReference.swift
[52/105] Compiling Atomics AtomicBool.swift
[53/105] Compiling Atomics AtomicStorage.swift
[54/106] Compiling Atomics OptionalRawRepresentable.swift
[55/106] Compiling Atomics RawRepresentable.swift
[57/106] Emitting module Atomics
[58/106] Compiling Atomics AtomicInteger.swift
[59/106] Compiling Atomics AtomicOptionalWrappable.swift
[60/106] Compiling Atomics AtomicReference.swift
[62/106] Compiling Atomics AtomicValue.swift
[63/106] Compiling Atomics ManagedAtomic.swift
[64/106] Compiling Atomics ManagedAtomicLazyReference.swift
[69/107] Compiling Logging Logger+With.swift
[70/107] Emitting module ThreadLocalMacros
[71/107] Compiling Atomics IntegerConformances.swift
[72/107] Compiling Atomics PointerConformances.swift
[73/107] Compiling Atomics Primitives.native.swift
[74/107] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[75/107] Compiling Atomics AtomicMemoryOrderings.swift
[76/107] Compiling Atomics DoubleWord.swift
[77/107] Compiling RealModule RelaxedArithmetic.swift
[78/107] Compiling Atomics IntegerOperations.swift
[79/107] Compiling Atomics Unmanaged extensions.swift
[80/108] Compiling RealModule Float80+Real.swift
[84/108] Emitting module RealModule
[85/108] Compiling RealModule Float16+Real.swift
[86/108] Compiling Logging LoggingSystem.swift
[87/108] Compiling Logging Logger.swift
[88/108] Compiling Logging Logger+Attributes.swift
[89/108] Compiling RealModule RealFunctions.swift
[90/108] Compiling RealModule Real.swift
[92/134] Compiling Algorithms Split.swift
[93/134] Compiling Algorithms Stride.swift
[94/134] Compiling Algorithms Suffix.swift
[95/137] Compiling Algorithms Partition.swift
[96/137] Compiling Algorithms Permutations.swift
[97/137] Compiling Algorithms Product.swift
[98/137] Compiling Algorithms Joined.swift
[99/137] Compiling Algorithms Keyed.swift
[100/137] Compiling Algorithms MinMax.swift
[101/137] Compiling Algorithms FlattenCollection.swift
[102/137] Compiling Algorithms Grouped.swift
[103/137] Compiling Algorithms Indexed.swift
[104/137] Compiling Algorithms Intersperse.swift
[105/137] Compiling Algorithms Trim.swift
[106/137] Compiling Algorithms Unique.swift
[107/137] Compiling Algorithms Windows.swift
[108/137] Compiling ThreadLocalMacros ThreadLocalMacro.swift
[109/137] Compiling ThreadLocalMacros Diagnostic.swift
[110/138] Wrapping AST for ThreadLocalMacros for debugging
[111/138] Write Objects.LinkFileList
[113/138] Compiling Algorithms AdjacentPairs.swift
[114/138] Compiling Algorithms Chain.swift
[115/138] Compiling Algorithms Chunked.swift
[116/138] Compiling Algorithms Combinations.swift
[117/138] Compiling Algorithms Compacted.swift
[118/138] Compiling Algorithms Cycle.swift
[119/138] Compiling Algorithms EitherSequence.swift
[120/138] Compiling Algorithms FirstNonNil.swift
[121/138] Compiling Algorithms RandomSample.swift
[122/138] Compiling Algorithms Reductions.swift
[123/138] Compiling Algorithms Rotate.swift
[124/138] Emitting module Logging
[129/138] Emitting module Algorithms
[130/139] Linking ThreadLocalMacros-tool
[132/139] Compiling Logging MetadataProvider.swift
[134/143] 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 | }
[135/143] Compiling RuntimeAssertions Precondition.swift
[136/143] Compiling RuntimeAssertions DebugOnly.swift
[137/143] Compiling RuntimeAssertions Counter.swift
[138/143] Compiling RuntimeAssertions NeverReturn.swift
[139/143] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[140/143] Compiling RuntimeAssertions Assert.swift
BUILD FAILURE 6.3 android