Build Information
Failed to build SwiftStash, reference main (933737), with Swift 6.4 for Android on 14 Oct 2026 12:22:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/modern-swift-dev/swift-stash.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/modern-swift-dev/swift-stash
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9337374 docs: record that apps on non-Apple platforms bring their own swift-crypto
Cloned https://github.com/modern-swift-dev/swift-stash.git
Revision (git rev-parse @):
9337374d342a41a0c5b80ceb6d6a998a109fd5a8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/modern-swift-dev/swift-stash.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/modern-swift-dev/swift-stash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/MobileNativeFoundation/Kronos.git
[1/1192] Fetching kronos
[514/3537] Fetching kronos, swift-docc-plugin
[1428/22180] Fetching kronos, swift-docc-plugin, swift-crypto
Fetched https://github.com/MobileNativeFoundation/Kronos.git (0.40s)
[259/20988] Fetching swift-docc-plugin, swift-crypto
Fetched https://github.com/swiftlang/swift-docc-plugin (2.00s)
Fetched https://github.com/apple/swift-crypto.git (2.01s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.93s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3838] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.63s)
Computing version for https://github.com/MobileNativeFoundation/Kronos.git
Computed https://github.com/MobileNativeFoundation/Kronos.git at 4.3.1 (0.81s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (0.95s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.67s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.86s)
Creating working copy for https://github.com/MobileNativeFoundation/Kronos.git
Working copy of https://github.com/MobileNativeFoundation/Kronos.git resolved at 4.3.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.1
Building for debugging...
[Provisioning 1 / 10]
[Pre-planning 1 / 244]
[Planning deferred tasks]
[56 / 448] CCryptoBoringSSL
[57 / 448] CCryptoBoringSSL
[58 / 448] CCryptoBoringSSL
[59 / 448] CCryptoBoringSSL
[62 / 448] CCryptoBoringSSL
[68 / 448] CCryptoBoringSSL
[73 / 448] CCryptoBoringSSL
[75 / 448] CCryptoBoringSSL
[80 / 448] CCryptoBoringSSL
[83 / 448] CCryptoBoringSSL
[86 / 448] CCryptoBoringSSL
[88 / 448] CCryptoBoringSSL
[90 / 448] CCryptoBoringSSL
[91 / 448] CCryptoBoringSSL
[94 / 448] CCryptoBoringSSL
[101 / 448] CCryptoBoringSSL
[105 / 448] CCryptoBoringSSL
[111 / 448] CCryptoBoringSSL
[116 / 448] CCryptoBoringSSL
[119 / 448] CCryptoBoringSSL
[123 / 448] CCryptoBoringSSL
[125 / 448] CCryptoBoringSSL
[126 / 448] CCryptoBoringSSL
[128 / 448] CCryptoBoringSSL
[132 / 448] CCryptoBoringSSL
[136 / 448] CCryptoBoringSSL
[137 / 448] CCryptoBoringSSL
[141 / 448] CCryptoBoringSSL
[143 / 448] CCryptoBoringSSL
[145 / 448] CCryptoBoringSSL
[148 / 448] CCryptoBoringSSL
[149 / 448] CCryptoBoringSSL
[152 / 448] CCryptoBoringSSL
[155 / 448] CCryptoBoringSSL
[158 / 448] CCryptoBoringSSL
[163 / 448] CCryptoBoringSSL
[174 / 448] CCryptoBoringSSL
[187 / 448] CCryptoBoringSSL
[189 / 448] CCryptoBoringSSL
[192 / 448] CCryptoBoringSSL
[195 / 448] CCryptoBoringSSL
[197 / 448] CCryptoBoringSSL
[203 / 448] CCryptoBoringSSL
[205 / 448] CCryptoBoringSSL
[208 / 448] CCryptoBoringSSL
[209 / 448] CCryptoBoringSSL
[210 / 448] CCryptoBoringSSL
[211 / 448] CCryptoBoringSSL
[212 / 448] CCryptoBoringSSL
[213 / 448] CCryptoBoringSSL
[215 / 448] CCryptoBoringSSL
[216 / 448] CCryptoBoringSSL
[218 / 448] CCryptoBoringSSL
[220 / 448] CCryptoBoringSSL
[222 / 448] CCryptoBoringSSL
[227 / 448] CCryptoBoringSSL
[228 / 448] CCryptoBoringSSL
[230 / 448] CCryptoBoringSSL
[235 / 448] CCryptoBoringSSL
[238 / 448] CCryptoBoringSSL
[241 / 448] CCryptoBoringSSL
[245 / 448] CCryptoBoringSSL
[246 / 448] CCryptoBoringSSL
[247 / 448] CCryptoBoringSSL
[248 / 448] CCryptoBoringSSL
[251 / 448] CCryptoBoringSSL
[252 / 448] CCryptoBoringSSL
[256 / 448] CCryptoBoringSSL
[257 / 448] CCryptoBoringSSL
[259 / 448] CCryptoBoringSSL
[262 / 448] CCryptoBoringSSL
[264 / 448] CCryptoBoringSSL
[271 / 448] CCryptoBoringSSL
[280 / 448] CCryptoBoringSSL
[281 / 448] CCryptoBoringSSL
[283 / 448] CCryptoBoringSSL
[286 / 448] CCryptoBoringSSL
[289 / 448] CCryptoBoringSSL
[292 / 448] CCryptoBoringSSL
[295 / 448] CCryptoBoringSSL
[297 / 448] CCryptoBoringSSL
[299 / 448] CCryptoBoringSSL
[300 / 448] CCryptoBoringSSL
[301 / 448] CCryptoBoringSSL
[303 / 448] CCryptoBoringSSL
[305 / 448] CCryptoBoringSSL
[308 / 448] CCryptoBoringSSL
[310 / 448] CCryptoBoringSSL
[312 / 448] CCryptoBoringSSL
[315 / 448] CCryptoBoringSSL
[316 / 448] CCryptoBoringSSL
[318 / 448] CCryptoBoringSSL
[321 / 448] CCryptoBoringSSL
[322 / 448] CCryptoBoringSSL
[324 / 448] CCryptoBoringSSL
[325 / 448] CCryptoBoringSSL
[327 / 448] CCryptoBoringSSL
[331 / 448] CCryptoBoringSSL
[335 / 448] CCryptoBoringSSL
[337 / 448] CCryptoBoringSSL
[341 / 448] CCryptoBoringSSL
[345 / 448] CCryptoBoringSSL
[348 / 448] CCryptoBoringSSL
[351 / 448] CCryptoBoringSSL
[359 / 448] CCryptoBoringSSL
[361 / 448] CCryptoBoringSSL
[363 / 448] CCryptoBoringSSL
[366 / 448] CCryptoBoringSSL
[369 / 448] CCryptoBoringSSL
[370 / 448] CCryptoBoringSSL
[372 / 448] CCryptoBoringSSL
[373 / 448] CCryptoBoringSSL
[376 / 448] CCryptoBoringSSL
[378 / 448] CCryptoBoringSSL
[385 / 448] CCryptoBoringSSL
[390 / 448] CCryptoBoringSSL
[397 / 448] CCryptoBoringSSL
[402 / 448] CCryptoBoringSSL
[405 / 448] CCryptoBoringSSL
[407 / 448] CCryptoBoringSSL
[408 / 448] CCryptoBoringSSL
[411 / 448] CCryptoBoringSSL
[412 / 448] CCryptoBoringSSL
[413 / 448] CCryptoBoringSSL
[415 / 448] CCryptoBoringSSL
[416 / 448] CCryptoBoringSSL
[418 / 448] CCryptoBoringSSL
[420 / 448] CCryptoBoringSSL
[422 / 448] CryptoBoringWrapper
[423 / 448] CryptoBoringWrapper
[424 / 448] CryptoBoringWrapper
[426 / 448] CryptoBoringWrapper
[427 / 448] CryptoBoringWrapper
[427 / 448] Crypto
[429 / 449]
[432 / 458] Crypto
[434 / 458] Crypto
[435 / 458] Crypto
[438 / 458] Crypto
[443 / 458] Crypto-product
[444 / 458] Crypto-product
[446 / 458] CCryptoBoringSSL
[446 / 458] SwiftStash
[451 / 469] SwiftStash
[451 / 469] Crypto
[453 / 469] SwiftStash
[454 / 469] SwiftStash
[455 / 469] SwiftStash
[455 / 469] Crypto
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Disk.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile StorageEngine+Disk.swift
/host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Disk.swift:393:31: [1;31merror: [1;39mtype 'URL' has no member 'cachesDirectory'[0;0m
[0;36m391 |[0;0m ?? FileManager.default.temporaryDirectory
[0;36m392 |[0;0m #else
[0;36m393 |[0;0m let baseURL = [4;39mURL[0;0m.[4;39mcachesDirectory[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URL' has no member 'cachesDirectory'[0;0m
[0;36m394 |[0;0m #endif
[0;36m395 |[0;0m let url = baseURL.appendingPathComponent("\(owner)-cache")
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SwiftStash/Cache+Entry.swift /host/spi-builder-workspace/Sources/SwiftStash/Cache.swift /host/spi-builder-workspace/Sources/SwiftStash/CacheClock.swift /host/spi-builder-workspace/Sources/SwiftStash/CacheExecutor.swift /host/spi-builder-workspace/Sources/SwiftStash/CacheKey.swift /host/spi-builder-workspace/Sources/SwiftStash/CostLimit.swift /host/spi-builder-workspace/Sources/SwiftStash/DiskStorageSerializer+JSON.swift /host/spi-builder-workspace/Sources/SwiftStash/DiskStorageSerializer+String.swift /host/spi-builder-workspace/Sources/SwiftStash/DiskStorageSerializer.swift /host/spi-builder-workspace/Sources/SwiftStash/EntryFileCipher.swift /host/spi-builder-workspace/Sources/SwiftStash/EntryFileFormat.swift /host/spi-builder-workspace/Sources/SwiftStash/NetworkTimeClock.swift -primary-file /host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Disk.swift -primary-file /host/spi-builder-workspace/Sources/SwiftStash/StorageEngine+Memory.swift /host/spi-builder-workspace/Sources/SwiftStash/StorageEngine.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Disk.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Disk.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Disk.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Disk.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Memory.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Memory.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Memory.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Memory.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftStash -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/SwiftStash_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Disk.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Memory.o -index-unit-output-path /SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Disk.o -index-unit-output-path /SwiftStash.build/Debug-android-aarch64/SwiftStash-t.build/Objects-normal/aarch64/StorageEngine+Memory.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android