Build Information
Failed to build swift-cidr-admission, reference main (43401d), with Swift 6.4 for Android on 7 Nov 2026 13:05:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.4
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 43401df Merge pull request #19 from RouteObjects/chore/linguist-benchmark-results
Cloned https://github.com/RouteObjects/swift-cidr-admission.git
Revision (git rev-parse @):
43401df89245449de84be2376a0e76758cf298cd
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-54344843-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:6b43072510b376a3c4064be7d82ef70cb870a485f057a0e40e484dd4ba1d1fe3
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/18924] Fetching swift-crypto
[2/20406] Fetching swift-crypto, swift-cidr
Fetched https://github.com/RouteObjects/swift-cidr.git (1.28s)
Fetched https://github.com/apple/swift-crypto.git (1.29s)
Computing version for https://github.com/RouteObjects/swift-cidr.git
Computed https://github.com/RouteObjects/swift-cidr.git at 0.8.1 (1.45s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-nio.git
[1/19344] Fetching swift-argument-parser
[19345/106159] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git (3.74s)
Fetched https://github.com/apple/swift-nio.git (3.78s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (4.75s)
Fetching https://github.com/apple/swift-asn1.git
[1/2065] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.27s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/7485] Fetching swift-system
[151/37356] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.73s)
[5975/29871] Fetching swift-collections
Fetching https://github.com/apple/swift-atomics.git
[29872/31797] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.51s)
Fetched https://github.com/apple/swift-collections.git (1.77s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.95s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.19s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.19s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.25s)
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.4
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.105.0
Creating working copy for https://github.com/RouteObjects/swift-cidr.git
Working copy of https://github.com/RouteObjects/swift-cidr.git resolved at 0.8.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
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.5
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 274]
[Planning deferred tasks]
[61 / 462] CCryptoBoringSSL
[63 / 471] CCryptoBoringSSL
[65 / 471] CCryptoBoringSSL
[67 / 471] CCryptoBoringSSL
[69 / 471] CCryptoBoringSSL
[71 / 471] CCryptoBoringSSL
[76 / 471] CIDR
[79 / 471] CCryptoBoringSSL
[81 / 471] CCryptoBoringSSL
[83 / 471] CCryptoBoringSSL
[85 / 471] CCryptoBoringSSL
[87 / 471] CCryptoBoringSSL
[89 / 471] CCryptoBoringSSL
[90 / 471] CCryptoBoringSSL
[94 / 471] CryptoBoringWrapper
[96 / 471] CCryptoBoringSSL
[99 / 471] CCryptoBoringSSL
[100 / 471] CCryptoBoringSSL
[102 / 471] CCryptoBoringSSL
[105 / 471] CCryptoBoringSSL
[106 / 471] CCryptoBoringSSL
[107 / 471] CCryptoBoringSSL
[113 / 471] CCryptoBoringSSL
[118 / 471] CCryptoBoringSSL
[119 / 471] CCryptoBoringSSL
[120 / 471] CCryptoBoringSSL
[121 / 471] CCryptoBoringSSL
[124 / 471] CCryptoBoringSSL
[128 / 471] CCryptoBoringSSL
[129 / 471] CCryptoBoringSSL
[130 / 471] CCryptoBoringSSL
[131 / 471] CCryptoBoringSSL
[132 / 471] CCryptoBoringSSL
[133 / 471] CCryptoBoringSSL
[136 / 471] CCryptoBoringSSL
[139 / 471] CCryptoBoringSSL
[141 / 471] CCryptoBoringSSL
[142 / 471] CCryptoBoringSSL
[145 / 471] CCryptoBoringSSL
[146 / 471] CCryptoBoringSSL
[147 / 471] CCryptoBoringSSL
[150 / 471] CCryptoBoringSSL
[151 / 471] CCryptoBoringSSL
[152 / 471] CCryptoBoringSSL
[154 / 471] CCryptoBoringSSL
[155 / 471] CCryptoBoringSSL
[157 / 471] CCryptoBoringSSL
[158 / 471] CCryptoBoringSSL
[162 / 471] CCryptoBoringSSL
[163 / 471] CCryptoBoringSSL
[166 / 471] CCryptoBoringSSL
[168 / 471] CCryptoBoringSSL
[170 / 471] CCryptoBoringSSL
[172 / 471] CCryptoBoringSSL
[174 / 471] CCryptoBoringSSL
[176 / 471] CCryptoBoringSSL
[180 / 471] CCryptoBoringSSL
[184 / 471] CCryptoBoringSSL
[186 / 471] CCryptoBoringSSL
[190 / 471] CCryptoBoringSSL
[195 / 471] CCryptoBoringSSL
[200 / 471] CCryptoBoringSSL
[202 / 471] CCryptoBoringSSL
[204 / 471] CCryptoBoringSSL
[205 / 471] CCryptoBoringSSL
[206 / 471] CCryptoBoringSSL
[208 / 471] CCryptoBoringSSL
[211 / 471] CCryptoBoringSSL
[213 / 471] CCryptoBoringSSL
[214 / 471] CCryptoBoringSSL
[216 / 471] CCryptoBoringSSL
[218 / 471] CCryptoBoringSSL
[219 / 471] CCryptoBoringSSL
[221 / 471] CCryptoBoringSSL
[222 / 471] CCryptoBoringSSL
[223 / 471] CCryptoBoringSSL
[224 / 471] CCryptoBoringSSL
[227 / 471] CCryptoBoringSSL
[228 / 471] CCryptoBoringSSL
[229 / 471] CCryptoBoringSSL
[230 / 471] CCryptoBoringSSL
[233 / 471] CCryptoBoringSSL
[234 / 471] CCryptoBoringSSL
[235 / 471] CCryptoBoringSSL
[238 / 471] CCryptoBoringSSL
[239 / 471] CCryptoBoringSSL
[242 / 471] CCryptoBoringSSL
[243 / 471] CCryptoBoringSSL
[244 / 471] CCryptoBoringSSL
[247 / 471] CCryptoBoringSSL
[249 / 471] CCryptoBoringSSL
[253 / 471] CCryptoBoringSSL
[256 / 471] CCryptoBoringSSL
[260 / 471] CCryptoBoringSSL
[261 / 471] CCryptoBoringSSL
[262 / 471] CCryptoBoringSSL
[268 / 471] CCryptoBoringSSL
[269 / 471] CCryptoBoringSSL
[270 / 471] CCryptoBoringSSL
[272 / 471] CCryptoBoringSSL
[274 / 471] CCryptoBoringSSL
[275 / 471] CCryptoBoringSSL
[277 / 471] CCryptoBoringSSL
[281 / 471] CCryptoBoringSSL
[285 / 471] CCryptoBoringSSL
[291 / 471] CCryptoBoringSSL
[295 / 471] CCryptoBoringSSL
[298 / 471] CCryptoBoringSSL
[304 / 471] CCryptoBoringSSL
[306 / 471] CCryptoBoringSSL
[307 / 471] CCryptoBoringSSL
[308 / 471] CCryptoBoringSSL
[309 / 471] CCryptoBoringSSL
[310 / 471] CCryptoBoringSSL
[311 / 471] CCryptoBoringSSL
[315 / 471] CCryptoBoringSSL
[318 / 471] CCryptoBoringSSL
[319 / 471] CCryptoBoringSSL
[321 / 471] CCryptoBoringSSL
[325 / 471] CCryptoBoringSSL
[327 / 471] CCryptoBoringSSL
[329 / 471] CCryptoBoringSSL
[331 / 471] CCryptoBoringSSL
[333 / 471] CCryptoBoringSSL
[336 / 471] CCryptoBoringSSL
[337 / 471] CCryptoBoringSSL
[339 / 471] CCryptoBoringSSL
[341 / 471] CCryptoBoringSSL
[342 / 471] CCryptoBoringSSL
[345 / 471] CCryptoBoringSSL
[347 / 471] CCryptoBoringSSL
[351 / 471] CCryptoBoringSSL
[356 / 471] CCryptoBoringSSL
[360 / 471] CCryptoBoringSSL
[364 / 471] CCryptoBoringSSL
[368 / 471] CCryptoBoringSSL
[369 / 471] CCryptoBoringSSL
[371 / 471] CCryptoBoringSSL
[374 / 471] CCryptoBoringSSL
[377 / 471] CCryptoBoringSSL
[379 / 471] CCryptoBoringSSL
[382 / 471] CCryptoBoringSSL
[383 / 471] CCryptoBoringSSL
[384 / 471] CCryptoBoringSSL
[385 / 471] CCryptoBoringSSL
[387 / 471] CCryptoBoringSSL
[390 / 471] CCryptoBoringSSL
[392 / 471] CCryptoBoringSSL
[393 / 471] CCryptoBoringSSL
[395 / 471] CCryptoBoringSSL
[398 / 471] CCryptoBoringSSL
[404 / 471] CCryptoBoringSSL
[408 / 471] CCryptoBoringSSL
[414 / 471] CCryptoBoringSSL
[417 / 471] CCryptoBoringSSL
[420 / 471] CCryptoBoringSSL
[422 / 471] CCryptoBoringSSL
[424 / 471] CCryptoBoringSSL
[427 / 471] CCryptoBoringSSL
[430 / 471] CCryptoBoringSSL
[432 / 471] CCryptoBoringSSL
[434 / 471] CryptoBoringWrapper
[436 / 471] CCryptoBoringSSL
[438 / 471] CryptoBoringWrapper
[439 / 471] CryptoBoringWrapper
[440 / 471] CryptoBoringWrapper
[440 / 471] Crypto
[441 / 471] Crypto
[442 / 471] CIDR-product
[443 / 471] CIDR-product
[445 / 471] CIDR-product
[447 / 471] CIDR
[448 / 471] CIDR
[448 / 471]
[452 / 472] Crypto
[455 / 481] Crypto
[455 / 481] CCryptoBoringSSL
[457 / 481] CIDR
[459 / 482] Crypto
[460 / 482] Crypto
[461 / 482] Crypto
[461 / 483] Crypto
[463 / 483] Crypto
[467 / 483]
[476 / 491] 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.0/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-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/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.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 -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
[478 / 491] CIDRAdmission
error: Build failed
BUILD FAILURE 6.4 android