Build Information
Failed to build swift-cidr-admission, reference 0.3.3 (d95a85), with Swift 6.4 for Android on 5 Nov 2026 05:14:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RouteObjects/swift-cidr-admission.git
Reference: 0.3.3
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
* tag 0.3.3 -> FETCH_HEAD
HEAD is now at d95a85d Merge pull request #16 from RouteObjects/release/0.3.3
Cloned https://github.com/RouteObjects/swift-cidr-admission.git
Revision (git rev-parse @):
d95a85d2a76dd8a3f99a0e5dffacd9483cd1a834
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RouteObjects/swift-cidr-admission.git at 0.3.3
========================================
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-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:6b43072510b376a3c4064be7d82ef70cb870a485f057a0e40e484dd4ba1d1fe3
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/RouteObjects/swift-cidr.git
[1/18924] Fetching swift-crypto
[569/20406] Fetching swift-crypto, swift-cidr
Fetched https://github.com/RouteObjects/swift-cidr.git (0.48s)
[2082/18924] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.18s)
Computing version for https://github.com/RouteObjects/swift-cidr.git
Computed https://github.com/RouteObjects/swift-cidr.git at 0.8.1 (1.34s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/19334] Fetching swift-argument-parser
[19335/106139] Fetching swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git (3.07s)
Fetched https://github.com/apple/swift-nio.git (3.10s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.1 (4.07s)
Fetching https://github.com/apple/swift-asn1.git
[1/2055] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.43s)
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.60s)
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-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1926] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.50s)
[1/7470] Fetching swift-system
[7471/37086] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.68s)
[2074/29616] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.18s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
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-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-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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 274]
[Planning deferred tasks]
[61 / 462] CIDR
[63 / 471] CIDR
[64 / 471] CCryptoBoringSSL
[66 / 471] CCryptoBoringSSL
[70 / 471] CCryptoBoringSSL
[73 / 471] CIDR
[87 / 471] CCryptoBoringSSL
[88 / 471] CCryptoBoringSSL
[90 / 471] CCryptoBoringSSL
[94 / 471] CCryptoBoringSSL
[95 / 471] CCryptoBoringSSL
[97 / 471] CCryptoBoringSSL
[108 / 471] CCryptoBoringSSL
[110 / 471] CCryptoBoringSSL
[117 / 471] CCryptoBoringSSL
[120 / 471] CCryptoBoringSSL
[124 / 471] CCryptoBoringSSL
[128 / 471] CCryptoBoringSSL
[132 / 471] CCryptoBoringSSL
[137 / 471] CCryptoBoringSSL
[139 / 471] CCryptoBoringSSL
[144 / 471] CCryptoBoringSSL
[147 / 471] CCryptoBoringSSL
[149 / 471] CCryptoBoringSSL
[155 / 471] CCryptoBoringSSL
[156 / 471] CCryptoBoringSSL
[160 / 471] CCryptoBoringSSL
[163 / 471] CCryptoBoringSSL
[164 / 471] CCryptoBoringSSL
[166 / 471] CCryptoBoringSSL
[173 / 471] CCryptoBoringSSL
[186 / 471] CCryptoBoringSSL
[199 / 471] CCryptoBoringSSL
[201 / 471] CCryptoBoringSSL
[203 / 471] CCryptoBoringSSL
[207 / 471] CCryptoBoringSSL
[208 / 471] CCryptoBoringSSL
[211 / 471] CCryptoBoringSSL
[218 / 471] CCryptoBoringSSL
[223 / 471] CCryptoBoringSSL
[224 / 471] CCryptoBoringSSL
[226 / 471] CCryptoBoringSSL
[228 / 471] CCryptoBoringSSL
[230 / 471] CCryptoBoringSSL
[232 / 471] CCryptoBoringSSL
[237 / 471] CCryptoBoringSSL
[238 / 471] CCryptoBoringSSL
[239 / 471] CCryptoBoringSSL
[241 / 471] CCryptoBoringSSL
[244 / 471] CCryptoBoringSSL
[245 / 471] CCryptoBoringSSL
[252 / 471] CCryptoBoringSSL
[259 / 471] CCryptoBoringSSL
[262 / 471] CCryptoBoringSSL
[265 / 471] CCryptoBoringSSL
[270 / 471] CCryptoBoringSSL
[272 / 471] CCryptoBoringSSL
[273 / 471] CCryptoBoringSSL
[280 / 471] CCryptoBoringSSL
[290 / 471] CCryptoBoringSSL
[295 / 471] CCryptoBoringSSL
[298 / 471] CCryptoBoringSSL
[303 / 471] CCryptoBoringSSL
[309 / 471] CCryptoBoringSSL
[314 / 471] CCryptoBoringSSL
[317 / 471] CCryptoBoringSSL
[320 / 471] CCryptoBoringSSL
[323 / 471] CCryptoBoringSSL
[326 / 471] CCryptoBoringSSL
[330 / 471] CCryptoBoringSSL
[334 / 471] CCryptoBoringSSL
[337 / 471] CCryptoBoringSSL
[338 / 471] CCryptoBoringSSL
[340 / 471] CCryptoBoringSSL
[344 / 471] CCryptoBoringSSL
[348 / 471] CCryptoBoringSSL
[355 / 471] CCryptoBoringSSL
[359 / 471] CCryptoBoringSSL
[368 / 471] CCryptoBoringSSL
[371 / 471] CCryptoBoringSSL
[377 / 471] CCryptoBoringSSL
[381 / 471] CCryptoBoringSSL
[384 / 471] CCryptoBoringSSL
[386 / 471] CCryptoBoringSSL
[389 / 471] CCryptoBoringSSL
[398 / 471] CCryptoBoringSSL
[406 / 471] CCryptoBoringSSL
[416 / 471] CCryptoBoringSSL
[419 / 471] CCryptoBoringSSL
[421 / 471] CCryptoBoringSSL
[427 / 471] CCryptoBoringSSL
[428 / 471] CCryptoBoringSSL
[432 / 471] CCryptoBoringSSL
[434 / 471] CryptoBoringWrapper
[436 / 471] CCryptoBoringSSL
[438 / 471] CCryptoBoringSSL
[439 / 471] CryptoBoringWrapper
[441 / 471] Crypto
[443 / 471] CIDR
[444 / 471] CIDR-product
[445 / 471] CIDR-product
[448 / 471] CIDR
[450 / 471] CXKCP
[452 / 472]
[458 / 481] Crypto
[459 / 481] Crypto
[461 / 482] Crypto
[462 / 483] CryptoBoringWrapper
[467 / 483]
[468 / 483] Crypto
[478 / 491] CIDRAdmission
[479 / 491] CIDRAdmission
[480 / 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
error: Build failed
BUILD FAILURE 6.4 android