Build Information
Failed to build SpeziFoundation, reference main (14b71e), with Swift 6.2 for Android on 20 Apr 2026 03:45:40 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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziFoundation.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/SpeziFoundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziFoundation.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:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/StanfordBDHG/zstd.git
[1/735] Fetching xctruntimeassertions
[736/2555] Fetching xctruntimeassertions, swift-atomics
[755/65712] Fetching xctruntimeassertions, swift-atomics, zstd
[1083/71770] Fetching xctruntimeassertions, swift-atomics, zstd, swift-algorithms
[1351/78405] Fetching xctruntimeassertions, swift-atomics, zstd, swift-algorithms, swift-log
[14329/78588] Fetching xctruntimeassertions, swift-atomics, zstd, swift-algorithms, swift-log, threadlocal
Fetched https://github.com/apple/swift-atomics.git from cache (0.93s)
[21822/76768] Fetching xctruntimeassertions, zstd, swift-algorithms, swift-log, threadlocal
Fetched https://github.com/apple/swift-log from cache (0.96s)
[16450/70133] Fetching xctruntimeassertions, zstd, swift-algorithms, threadlocal
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (5.92s)
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (5.92s)
Fetched https://github.com/apple/swift-algorithms.git from cache (5.93s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (6.01s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (6.77s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.43s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.28s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.39s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/74981] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.53s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0 (8.71s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.72s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (0.72s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.72s)
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/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-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
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/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/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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Building for debugging...
[0/87] Compiling threading.c
[1/87] Compiling debug.c
[2/87] Write sources
[21/87] Compiling _SwiftSyntaxCShims PlatformMutex.c
[22/87] Write swift-version--11D90AFD9DD3AB2.txt
[23/87] Compiling xxhash.c
[24/89] Compiling entropy_common.c
[25/89] Compiling error_private.c
[26/89] Compiling fse_decompress.c
[27/89] Compiling divsufsort.c
[29/89] Emitting module SwiftSyntax603
[29/89] Compiling pool.c
[30/96] Compiling zdict.c
[31/99] Compiling fastcover.c
[32/99] Compiling cover.c
[33/99] Compiling zstd_decompress.c
[34/99] Compiling zstd_decompress_block.c
[35/99] Compiling huf_decompress_amd64.S
[36/99] Compiling zstd_ddict.c
[37/99] Compiling huf_decompress.c
[38/99] Compiling zstdmt_compress.c
[39/99] Compiling zstd_preSplit.c
[40/99] Compiling zstd_ldm.c
[41/99] Compiling zstd_opt.c
[42/99] Compiling zstd_fast.c
[43/99] Compiling zstd_double_fast.c
[45/99] Emitting module SwiftSyntax510
[46/99] Compiling SwiftSyntax510 Empty.swift
[48/100] Compiling SwiftSyntax600 Empty.swift
[49/100] Emitting module SwiftSyntax600
[50/101] Emitting module SwiftSyntax602
[51/101] Compiling SwiftSyntax602 Empty.swift
[54/102] Emitting module SwiftSyntax601
[55/102] Compiling SwiftSyntax601 Empty.swift
[56/103] Compiling SwiftSyntax509 Empty.swift
[57/103] Emitting module SwiftSyntax509
[57/104] Wrapping AST for SwiftSyntax510 for debugging
[60/104] Wrapping AST for SwiftSyntax600 for debugging
[62/104] Compiling SwiftSyntax603 Empty.swift
[62/105] Compiling zstd_compress_superblock.c
[63/105] Wrapping AST for SwiftSyntax602 for debugging
[65/105] Wrapping AST for SwiftSyntax509 for debugging
[66/105] Wrapping AST for SwiftSyntax601 for debugging
[67/105] Compiling zstd_compress_sequences.c
[68/147] Compiling zstd_compress_literals.c
[69/168] Wrapping AST for SwiftSyntax603 for debugging
[70/168] Compiling _NumericsShims _NumericsShims.c
[71/168] Compiling _AtomicsShims.c
[71/168] Write sources
[71/168] Copying Localizable.xcstrings.license
[71/168] Copying Localizable.xcstrings
[71/168] Copying Info.plist
[77/168] Compiling hist.c
[77/168] Write sources
[84/168] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[85/176] Compiling zstd_common.c
[86/185] Compiling huf_compress.c
[87/190] Compiling fse_compress.c
[88/211] Compiling zstd_compress.c
[90/211] Emitting module RealModule
[90/212] Compiling zstd_lazy.c
[92/212] Emitting module Atomics
[93/214] Compiling Atomics OptionalRawRepresentable.swift
[94/214] Compiling Atomics RawRepresentable.swift
[95/214] Compiling Atomics AtomicBool.swift
[96/214] Compiling Atomics IntegerConformances.swift
[97/214] Compiling Atomics PointerConformances.swift
[98/214] Compiling Atomics Primitives.native.swift
[99/214] Compiling Atomics AtomicInteger.swift
[100/214] Compiling Atomics AtomicOptionalWrappable.swift
[101/214] Compiling Atomics AtomicReference.swift
[102/222] Compiling Atomics Unmanaged extensions.swift
[103/222] Compiling SwiftSyntax SourceLocation.swift
[104/222] Compiling SwiftSyntax SourcePresence.swift
[105/222] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[106/222] Compiling SwiftSyntax Syntax.swift
[107/222] Compiling SwiftSyntax SyntaxChildren.swift
[108/222] Compiling SwiftSyntax SyntaxCollection.swift
[109/222] Compiling SwiftSyntax SyntaxHashable.swift
[110/222] Compiling SwiftSyntax SyntaxIdentifier.swift
[111/222] Compiling Atomics AtomicStorage.swift
[112/222] Compiling Atomics AtomicValue.swift
[113/222] Compiling Atomics AtomicMemoryOrderings.swift
[114/222] Compiling Atomics DoubleWord.swift
[115/222] Compiling Atomics UnsafeAtomic.swift
[116/222] Compiling Atomics UnsafeAtomicLazyReference.swift
[117/222] Compiling Atomics ManagedAtomic.swift
[118/222] Compiling Atomics ManagedAtomicLazyReference.swift
[119/222] Compiling Atomics IntegerOperations.swift
[120/222] Compiling RealModule RealFunctions.swift
[121/222] Compiling RealModule Float80+Real.swift
[126/222] Compiling RealModule Real.swift
[127/222] Compiling RealModule RelaxedArithmetic.swift
[128/222] Compiling RealModule Float16+Real.swift
[133/222] Compiling RuntimeAssertions Assert.swift
[134/222] Compiling Logging LogEvent.swift
[154/250] Compiling Algorithms RandomSample.swift
[155/250] Compiling Algorithms Reductions.swift
[156/250] Compiling Algorithms Rotate.swift
[157/250] Compiling Algorithms Split.swift
[158/250] Compiling Algorithms Stride.swift
[159/250] Compiling Algorithms Suffix.swift
[160/253] Compiling Algorithms Partition.swift
[161/253] Compiling Algorithms Permutations.swift
[162/253] Compiling Algorithms Product.swift
[163/253] Compiling Algorithms FlattenCollection.swift
[164/253] Compiling Algorithms Grouped.swift
[165/253] Compiling Algorithms Indexed.swift
[166/253] Compiling Algorithms Intersperse.swift
[167/253] Compiling Algorithms Compacted.swift
[168/253] Compiling Algorithms Cycle.swift
[169/253] Compiling Algorithms EitherSequence.swift
[170/253] Compiling Algorithms FirstNonNil.swift
[171/253] Compiling Algorithms Joined.swift
[172/253] Compiling Algorithms Keyed.swift
[173/253] Compiling Algorithms MinMax.swift
[174/253] Compiling Algorithms Trim.swift
[175/253] Compiling Algorithms Unique.swift
[176/253] Compiling Algorithms Windows.swift
[177/253] Compiling Logging MetadataProvider.swift
[178/253] Emitting module Logging
[179/253] Compiling Logging Locks.swift
[180/253] Compiling Algorithms AdjacentPairs.swift
[181/253] Compiling Algorithms Chain.swift
[182/253] Compiling Algorithms Chunked.swift
[183/253] Compiling Algorithms Combinations.swift
[184/253] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[185/253] Compiling RuntimeAssertions RuntimeAssertion.swift
[186/253] Compiling Logging LogHandler.swift
[187/253] Compiling Logging Logging.swift
[189/254] 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 | }
[190/254] Compiling RuntimeAssertions NeverReturn.swift
[191/254] Compiling RuntimeAssertions Precondition.swift
[192/254] Compiling RuntimeAssertions DebugOnly.swift
[193/254] Compiling RuntimeAssertions Counter.swift
[194/254] Emitting module RuntimeAssertions
BUILD FAILURE 6.2 android