Build Information
Failed to build SpeziStorage, reference main (79ce6a), with Swift 6.1 for Android on 1 Apr 2026 18:39:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziStorage.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/SpeziStorage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79ce6a2 swift 6.3 support (#41)
Cloned https://github.com/StanfordSpezi/SpeziStorage.git
Revision (git rev-parse @):
79ce6a23f61d38b175b8ee681cc74d7fc93fb8cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziStorage.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziStorage.git
https://github.com/StanfordSpezi/SpeziStorage.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "spezi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/Spezi.git"
},
{
"identity" : "spezifoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.7",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
},
{
"identity" : "xctruntimeassertions",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordBDHG/XCTRuntimeAssertions.git"
}
],
"manifest_display_name" : "SpeziStorage",
"name" : "SpeziStorage",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "SpeziLocalStorage",
"targets" : [
"SpeziLocalStorage"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziKeychainStorage",
"targets" : [
"SpeziKeychainStorage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziStorageTests",
"module_type" : "SwiftTarget",
"name" : "SpeziStorageTests",
"path" : "Tests/SpeziStorageTests",
"product_dependencies" : [
"XCTSpezi"
],
"sources" : [
"LocalStorageTests.swift"
],
"target_dependencies" : [
"SpeziLocalStorage"
],
"type" : "test"
},
{
"c99name" : "SpeziLocalStorage",
"module_type" : "SwiftTarget",
"name" : "SpeziLocalStorage",
"path" : "Sources/SpeziLocalStorage",
"product_dependencies" : [
"Spezi",
"SpeziFoundation"
],
"product_memberships" : [
"SpeziLocalStorage"
],
"sources" : [
"LocalStorage.swift",
"LocalStorageEntry.swift",
"LocalStorageError.swift",
"LocalStorageKey.swift",
"LocalStorageSetting.swift"
],
"target_dependencies" : [
"SpeziKeychainStorage"
],
"type" : "library"
},
{
"c99name" : "SpeziKeychainStorage",
"module_type" : "SwiftTarget",
"name" : "SpeziKeychainStorage",
"path" : "Sources/SpeziKeychainStorage",
"product_dependencies" : [
"Spezi",
"RuntimeAssertions"
],
"product_memberships" : [
"SpeziLocalStorage",
"SpeziKeychainStorage"
],
"sources" : [
"Credentials/Credentials.swift",
"Credentials/CredentialsKind.swift",
"Credentials/CredentialsTag.swift",
"Credentials/KeychainStorage+Credentials.swift",
"CryptographicKeys/CryptographicKeyTag.swift",
"CryptographicKeys/KeychainStorage+CryptographicKeys.swift",
"CryptographicKeys/SecKey+Extensions.swift",
"KeychainItemAccessibility.swift",
"KeychainItemStorageOption.swift",
"KeychainStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/StanfordSpezi/Spezi.git
[1/2892] Fetching spezifoundation
[1072/3627] Fetching spezifoundation, xctruntimeassertions
[3628/13887] Fetching spezifoundation, xctruntimeassertions, spezi
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.28s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.28s)
[2463/10260] Fetching spezi
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.44s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (1.17s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.90s)
Fetching https://github.com/apple/swift-collections.git
[1/23339] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.37s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.4 (2.28s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/zstd.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
[1/1820] Fetching swift-atomics
[602/1991] Fetching swift-atomics, threadlocal
[770/8049] Fetching swift-atomics, threadlocal, swift-algorithms
[2458/71206] Fetching swift-atomics, threadlocal, swift-algorithms, zstd
[7318/77538] Fetching swift-atomics, threadlocal, swift-algorithms, zstd, swift-log
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
[14640/75718] Fetching threadlocal, swift-algorithms, zstd, swift-log
Fetched https://github.com/apple/swift-log from cache (0.56s)
[18229/69386] Fetching threadlocal, swift-algorithms, zstd
Fetched https://github.com/StanfordBDHG/ThreadLocal.git from cache (5.59s)
Fetched https://github.com/apple/swift-algorithms.git from cache (5.59s)
Fetched https://github.com/StanfordBDHG/zstd.git from cache (5.70s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (9.83s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.20s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (0.00s)
Computed https://github.com/StanfordSpezi/Spezi.git at 1.10.1 (0.00s)
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.6.0 (1.35s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.93s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.36s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.95s)
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.6.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/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/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-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/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.10.1
Building for debugging...
[0/18] Write sources
[3/18] Copying Localizable.xcstrings.license
[4/18] Copying Localizable.xcstrings
[4/18] Copying Info.plist
[4/18] Write sources
[14/18] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[15/18] Compiling _AtomicsShims.c
[16/18] Compiling _NumericsShims _NumericsShims.c
[16/18] Write swift-version-24593BA9C3E375BF.txt
[19/79] Emitting module Logging
[20/79] Compiling RealModule RealFunctions.swift
[21/80] Compiling Atomics UnsafeAtomic.swift
[22/80] Compiling Atomics UnsafeAtomicLazyReference.swift
[23/82] Compiling Atomics ManagedAtomic.swift
[24/82] Compiling Atomics ManagedAtomicLazyReference.swift
[25/82] Compiling Atomics OptionalRawRepresentable.swift
[26/82] Compiling Atomics RawRepresentable.swift
[27/82] Compiling Atomics AtomicBool.swift
[28/82] Compiling Atomics AtomicMemoryOrderings.swift
[29/82] Compiling Atomics DoubleWord.swift
[30/82] Compiling Atomics AtomicInteger.swift
[31/82] Compiling Atomics AtomicOptionalWrappable.swift
[32/82] Compiling Atomics AtomicReference.swift
[33/82] Compiling Atomics AtomicStorage.swift
[34/82] Compiling Atomics AtomicValue.swift
[35/82] Emitting module InternalCollectionsUtilities
[36/82] Compiling Atomics IntegerConformances.swift
[37/82] Compiling Atomics PointerConformances.swift
[38/82] Compiling Atomics Primitives.native.swift
[43/84] Compiling RealModule RelaxedArithmetic.swift
[51/84] Compiling Logging LogEvent.swift
[52/84] Compiling Atomics IntegerOperations.swift
[53/84] Compiling Atomics Unmanaged extensions.swift
[54/85] Emitting module RealModule
[55/85] Compiling RealModule Float80+Real.swift
[58/85] Compiling RealModule Float16+Real.swift
[63/85] Compiling RealModule Real.swift
[72/86] Emitting module Atomics
[76/167] Emitting module RuntimeAssertions
[77/168] Compiling Algorithms FlattenCollection.swift
[78/168] Compiling Algorithms Grouped.swift
[79/168] Compiling Algorithms Indexed.swift
[80/168] Compiling Algorithms Intersperse.swift
[81/168] Compiling Algorithms Joined.swift
[82/168] Compiling Algorithms Keyed.swift
[83/168] Compiling Algorithms MinMax.swift
[84/175] Compiling OrderedCollections OrderedDictionary.swift
[85/175] Compiling OrderedCollections OrderedSet+Codable.swift
[86/175] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[87/175] Compiling OrderedCollections OrderedSet+Descriptions.swift
[88/175] Compiling OrderedCollections OrderedSet+Diffing.swift
[89/175] Compiling OrderedCollections OrderedSet+Equatable.swift
[90/175] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[91/175] Compiling OrderedCollections OrderedSet+Hashable.swift
[92/175] Compiling Algorithms Suffix.swift
[93/175] Compiling OrderedCollections OrderedSet+Insertions.swift
[94/175] Compiling OrderedCollections OrderedSet+Invariants.swift
[95/175] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[96/175] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[97/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[98/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[99/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[100/175] Compiling Algorithms Split.swift
[101/175] Compiling Algorithms Stride.swift
[103/178] Compiling Algorithms RandomSample.swift
[104/178] Compiling Algorithms Reductions.swift
[105/178] Compiling Algorithms Rotate.swift
[106/178] Compiling Algorithms Compacted.swift
[107/178] Compiling Algorithms Cycle.swift
[108/178] Compiling Algorithms EitherSequence.swift
[109/178] Compiling Algorithms FirstNonNil.swift
[113/178] Compiling Logging MetadataProvider.swift
[114/178] Compiling Algorithms Partition.swift
[115/178] Compiling Algorithms Permutations.swift
[116/178] Compiling Algorithms Product.swift
[117/178] Compiling Algorithms AdjacentPairs.swift
[118/178] Compiling Algorithms Chain.swift
[119/178] Compiling Algorithms Chunked.swift
[120/178] Compiling Algorithms Combinations.swift
[125/178] Compiling Logging LogHandler.swift
[126/178] Compiling Logging Locks.swift
[127/178] Compiling Logging Logging.swift
[128/179] Compiling OrderedCollections OrderedSet+Sendable.swift
[129/179] Compiling OrderedCollections OrderedSet+SubSequence.swift
[130/179] Compiling OrderedCollections OrderedSet+Testing.swift
[131/179] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[132/179] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[133/179] Compiling OrderedCollections OrderedSet.swift
[134/179] Compiling OrderedCollections _UnsafeBitset.swift
[140/179] Compiling Algorithms Trim.swift
[141/179] Compiling Algorithms Unique.swift
[142/179] Compiling Algorithms Windows.swift
[143/179] 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 | }
[144/179] Compiling RuntimeAssertions NeverReturn.swift
[153/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[154/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[155/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[156/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[157/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[158/179] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[159/179] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[160/179] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[161/179] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[162/179] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[163/179] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[164/179] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[165/179] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[166/179] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[167/179] Compiling OrderedCollections OrderedDictionary+Values.swift
[168/179] Emitting module OrderedCollections
[169/179] Compiling RuntimeAssertions Assert.swift
[170/179] Compiling RuntimeAssertions Counter.swift
[175/180] Compiling RuntimeAssertions DebugOnly.swift
[176/180] Compiling RuntimeAssertions Precondition.swift
[177/180] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[178/180] Compiling RuntimeAssertions RuntimeAssertion.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/62] Compiling RealModule RealFunctions.swift
[3/63] Compiling RuntimeAssertions Assert.swift
[4/63] Emitting module RuntimeAssertions
[5/63] Compiling RuntimeAssertions DebugOnly.swift
[6/64] Compiling RealModule Float80+Real.swift
[7/64] Compiling RealModule Real.swift
[8/64] Compiling RuntimeAssertions Counter.swift
[9/64] Compiling RuntimeAssertions NeverReturn.swift
[10/64] Compiling RuntimeAssertions Precondition.swift
[11/64] Compiling Atomics UnsafeAtomic.swift
[12/64] Compiling Atomics UnsafeAtomicLazyReference.swift
[13/66] Compiling RealModule Float16+Real.swift
[14/66] Compiling Logging MetadataProvider.swift
[17/68] Compiling Logging LogEvent.swift
[18/68] Compiling Atomics ManagedAtomic.swift
[19/68] Compiling Atomics ManagedAtomicLazyReference.swift
[20/68] Compiling RealModule RelaxedArithmetic.swift
[21/68] Compiling Atomics IntegerOperations.swift
[22/68] Compiling Atomics Unmanaged extensions.swift
[23/68] Compiling Atomics PointerConformances.swift
[24/68] Compiling Atomics Primitives.native.swift
[25/68] Compiling Atomics AtomicBool.swift
[26/68] Compiling Atomics IntegerConformances.swift
[27/68] Compiling Atomics OptionalRawRepresentable.swift
[28/68] Compiling Atomics RawRepresentable.swift
[29/68] Compiling Atomics AtomicStorage.swift
[30/68] Compiling Atomics AtomicValue.swift
[31/68] Compiling Atomics AtomicMemoryOrderings.swift
[32/68] Compiling Atomics DoubleWord.swift
[33/68] Compiling RuntimeAssertions RuntimeAssertion.swift
[34/68] Compiling RuntimeAssertions RuntimeAssertionInjection.swift
[35/68] 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 | }
[36/68] Emitting module RealModule
[37/69] Compiling Atomics AtomicInteger.swift
[38/69] Compiling Atomics AtomicOptionalWrappable.swift
[39/69] Compiling Logging Locks.swift
[40/69] Emitting module Logging
[41/69] Compiling Atomics AtomicReference.swift
[47/69] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android