Build Information
Failed to build swift-cidr-admission, reference main (2e697f), with Swift 6.4 for Android on 26 Sep 2026 22:43:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RouteObjects/swift-cidr-admission.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/RouteObjects/swift-cidr-admission
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2e697f3 fix: isolate benchmark compatibility lock
Cloned https://github.com/RouteObjects/swift-cidr-admission.git
Revision (git rev-parse @):
2e697f37d0a61aa05d5e21e5bdf13b0519ed4084
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RouteObjects/swift-cidr-admission.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/RouteObjects/swift-cidr-admission.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/RouteObjects/swift-cidr.git
Fetching https://github.com/apple/swift-crypto.git
[1/18562] Fetching swift-crypto
[558/19602] Fetching swift-crypto, swift-cidr
Fetched https://github.com/RouteObjects/swift-cidr.git (0.47s)
[1300/18562] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.11s)
Computing version for https://github.com/RouteObjects/swift-cidr.git
Computed https://github.com/RouteObjects/swift-cidr.git at 0.5.0 (1.29s)
Fetching https://github.com/apple/swift-nio.git
[1/86168] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.74s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (3.90s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.05s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (1.40s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1885] Fetching swift-atomics
[586/8868] Fetching swift-atomics, swift-system
[8869/36647] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (0.67s)
Fetched https://github.com/apple/swift-system.git (0.67s)
[2223/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.16s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.34s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
Creating working copy for https://github.com/RouteObjects/swift-cidr.git
Working copy of https://github.com/RouteObjects/swift-cidr.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.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 4.5.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 304]
[Planning deferred tasks]
[64 / 465] CIDR
[66 / 474] CIDR
[67 / 474] CCryptoBoringSSL
[68 / 474] CCryptoBoringSSL
[72 / 474] CCryptoBoringSSL
[73 / 474] CCryptoBoringSSL
[75 / 474] CCryptoBoringSSL
[82 / 474] CCryptoBoringSSL
[91 / 474] CCryptoBoringSSL
[92 / 474] CCryptoBoringSSL
[97 / 474] CCryptoBoringSSL
[98 / 474] CCryptoBoringSSL
[100 / 474] CCryptoBoringSSL
[108 / 474] CCryptoBoringSSL
[113 / 474] CCryptoBoringSSL
[116 / 474] CCryptoBoringSSL
[121 / 474] CCryptoBoringSSL
[124 / 474] CCryptoBoringSSL
[126 / 474] CCryptoBoringSSL
[128 / 474] CCryptoBoringSSL
[130 / 474] CCryptoBoringSSL
[131 / 474] CCryptoBoringSSL
[135 / 474] CCryptoBoringSSL
[136 / 474] CCryptoBoringSSL
[139 / 474] CCryptoBoringSSL
[142 / 474] CCryptoBoringSSL
[143 / 474] CCryptoBoringSSL
[147 / 474] CCryptoBoringSSL
[148 / 474] CCryptoBoringSSL
[150 / 474] CCryptoBoringSSL
[153 / 474] CCryptoBoringSSL
[155 / 474] CCryptoBoringSSL
[160 / 474] CCryptoBoringSSL
[163 / 474] CCryptoBoringSSL
[164 / 474] CCryptoBoringSSL
[166 / 474] CCryptoBoringSSL
[167 / 474] CCryptoBoringSSL
[170 / 474] CCryptoBoringSSL
[175 / 474] CCryptoBoringSSL
[185 / 474] CCryptoBoringSSL
[196 / 474] CCryptoBoringSSL
[205 / 474] CCryptoBoringSSL
[206 / 474] CCryptoBoringSSL
[210 / 474] CCryptoBoringSSL
[212 / 474] CCryptoBoringSSL
[213 / 474] CCryptoBoringSSL
[220 / 474] CCryptoBoringSSL
[223 / 474] CCryptoBoringSSL
[226 / 474] CCryptoBoringSSL
[228 / 474] CCryptoBoringSSL
[231 / 474] CCryptoBoringSSL
[232 / 474] CCryptoBoringSSL
[234 / 474] CCryptoBoringSSL
[238 / 474] CCryptoBoringSSL
[239 / 474] CCryptoBoringSSL
[241 / 474] CCryptoBoringSSL
[243 / 474] CCryptoBoringSSL
[247 / 474] CCryptoBoringSSL
[248 / 474] CCryptoBoringSSL
[249 / 474] CCryptoBoringSSL
[255 / 474] CCryptoBoringSSL
[261 / 474] CCryptoBoringSSL
[264 / 474] CCryptoBoringSSL
[265 / 474] CCryptoBoringSSL
[266 / 474] CCryptoBoringSSL
[272 / 474] CCryptoBoringSSL
[273 / 474] CCryptoBoringSSL
[276 / 474] CCryptoBoringSSL
[277 / 474] CCryptoBoringSSL
[280 / 474] CCryptoBoringSSL
[289 / 474] CCryptoBoringSSL
[299 / 474] CCryptoBoringSSL
[303 / 474] CCryptoBoringSSL
[311 / 474] CCryptoBoringSSL
[314 / 474] CCryptoBoringSSL
[318 / 474] CCryptoBoringSSL
[320 / 474] CCryptoBoringSSL
[324 / 474] CCryptoBoringSSL
[326 / 474] CCryptoBoringSSL
[330 / 474] CCryptoBoringSSL
[333 / 474] CCryptoBoringSSL
[334 / 474] CCryptoBoringSSL
[338 / 474] CCryptoBoringSSL
[339 / 474] CCryptoBoringSSL
[343 / 474] CCryptoBoringSSL
[345 / 474] CCryptoBoringSSL
[347 / 474] CCryptoBoringSSL
[350 / 474] CCryptoBoringSSL
[353 / 474] CCryptoBoringSSL
[359 / 474] CCryptoBoringSSL
[366 / 474] CCryptoBoringSSL
[373 / 474] CCryptoBoringSSL
[374 / 474] CCryptoBoringSSL
[378 / 474] CCryptoBoringSSL
[381 / 474] CCryptoBoringSSL
[385 / 474] CCryptoBoringSSL
[387 / 474] CCryptoBoringSSL
[389 / 474] CCryptoBoringSSL
[392 / 474] CCryptoBoringSSL
[401 / 474] CCryptoBoringSSL
[411 / 474] CCryptoBoringSSL
[417 / 474] CCryptoBoringSSL
[421 / 474] CCryptoBoringSSL
[423 / 474] CCryptoBoringSSL
[424 / 474] CCryptoBoringSSL
[428 / 474] CCryptoBoringSSL
[430 / 474] CCryptoBoringSSL
[432 / 474] CCryptoBoringSSL
[434 / 474] CCryptoBoringSSL
[438 / 474] CryptoBoringWrapper
[440 / 474] CCryptoBoringSSL
[442 / 474] CCryptoBoringSSL
[443 / 474] Crypto
[444 / 474] Crypto
[447 / 474] CIDR
[448 / 474] CIDR-product
[450 / 474] CIDR-product
[451 / 474]
[454 / 475] Crypto
[460 / 485] CryptoBoringWrapper
[465 / 486] Crypto
[466 / 486] Crypto
[467 / 486] CCryptoBoringSSL
[471 / 486] CryptoBoringWrapper
[481 / 494] CIDRAdmission
[484 / 494] CIDRAdmission
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift:174:94: [1;31merror: [1;39mcannot find type 'stat' in scope[0;0m
[0;36m172 |[0;0m }
[0;36m173 |[0;0m
[0;36m174 |[0;0m private static func systemFileStatus(_ descriptor: Int32, _ status: UnsafeMutablePointer<[4;39mstat[0;0m>)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'stat' in scope[0;0m
[0;36m175 |[0;0m -> Int32
[0;36m176 |[0;0m {
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/CIDRAdmission/AdmissionRule.swift /host/spi-builder-workspace/Sources/CIDRAdmission/DetachedSHA256ChecksumVerifier.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionCoverageIndex.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionPolicy.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPAdmissionPolicyFileConfiguration.swift /host/spi-builder-workspace/Sources/CIDRAdmission/IPListTextParser.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/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.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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/CCryptoBoringSSLShims/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/CCryptoBoringSSLShims/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/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CIDRAdmission -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/Objects-normal/aarch64/CIDRAdmission_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/Objects-normal/aarch64/Modules/CIDRAdmission.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/Objects-normal/aarch64/Modules/CIDRAdmission.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/Objects-normal/aarch64/CIDRAdmission-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/Objects-normal/aarch64/CIDRAdmission-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/Objects-normal/aarch64/CIDRAdmission-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-cidr-admission.build/Debug-android-aarch64/CIDRAdmission-t.build/Objects-normal/aarch64/Modules/CIDRAdmission.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android