Build Information
Failed to build swift-nio-ssl, reference main (678b64), with Swift 6.4 for Android on 20 Sep 2026 02:52:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/btoms20/swift-nio-ssl.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/btoms20/swift-nio-ssl
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 678b641 `NIOSSLHandler`: behave sensibly on `close(mode: .output)` (#428)
Cloned https://github.com/btoms20/swift-nio-ssl.git
Revision (git rev-parse @):
678b6412f590a8f902ab1dacba0a78c45eade335
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/btoms20/swift-nio-ssl.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/btoms20/swift-nio-ssl.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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/apple/swift-nio.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin (0.53s)
[1/86073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (2.78s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (2.98s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3824] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.81s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.33s)
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/1875] Fetching swift-atomics
[1876/8773] Fetching swift-atomics, swift-system
[8430/36125] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.16s)
Fetched https://github.com/apple/swift-system.git (1.16s)
Fetched https://github.com/apple/swift-collections.git (1.17s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.27s)
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/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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 43]
[Pre-planning 1 / 958]
[Planning deferred tasks]
[Starting]
[153 / 754] CNIOBoringSSL
[184 / 780] _NIOBase64
[187 / 780] InternalCollectionsUtilities
[198 / 780] NIOConcurrencyHelpers
[209 / 780] NIOConcurrencyHelpers-product
[214 / 780] InternalCollectionsUtilities
[220 / 781] _NIODataStructures
[227 / 782]
[235 / 792] CNIOLLHTTP
[242 / 793] ContainersPreview
[254 / 794] ContainersPreview
[265 / 813] ContainersPreview
[267 / 814] DequeModule
[269 / 815] DequeModule
[273 / 815] Atomics
[276 / 815] CNIOFreeBSD
[277 / 815] DequeModule
[282 / 815] Atomics
[283 / 815] DequeModule
[285 / 815] CNIOBoringSSL
[288 / 815] CNIOBoringSSL
[292 / 815] CNIOBoringSSL
[297 / 815] CNIOBoringSSL
[301 / 815] CNIOBoringSSL
[309 / 815] CNIOBoringSSL
[312 / 815] CNIOBoringSSL
[322 / 815] CNIOBoringSSL
[326 / 815] CNIOBoringSSL
[333 / 815] CNIOBoringSSL
[343 / 815] CNIOBoringSSL
[348 / 815] CNIOBoringSSL
[353 / 815] CNIOBoringSSL
[357 / 815] CNIOBoringSSL
[361 / 815] CNIOBoringSSL
[369 / 815] CNIOBoringSSL
[373 / 815] CNIOBoringSSL
[375 / 817] CNIOBoringSSL
[379 / 817] CNIOBoringSSL
[381 / 817] CNIOBoringSSL
[389 / 817] CNIOBoringSSL
[394 / 817] CNIOBoringSSL
[400 / 817] CNIOBoringSSL
[401 / 817] CNIOBoringSSL
[402 / 817] CNIOBoringSSL
[406 / 817] CNIOBoringSSL
[409 / 817] CNIOBoringSSL
[412 / 817] CNIOBoringSSL
[422 / 817] CNIOBoringSSL
[441 / 817] CNIOBoringSSL
[455 / 817] CNIOBoringSSL
[461 / 817] CNIOBoringSSL
[472 / 817] CNIOBoringSSL
[481 / 817] CNIOBoringSSL
[488 / 817] CNIOBoringSSL
[496 / 817] CNIOBoringSSL
[509 / 817] CNIOBoringSSL
[525 / 817] CNIOBoringSSL
[537 / 817] CNIOBoringSSL
[547 / 817] CNIOBoringSSL
[558 / 817] CNIOBoringSSL
[566 / 817] CNIOBoringSSL
[575 / 817] CNIOBoringSSL
[581 / 817] CNIOBoringSSL
[584 / 817] CNIOBoringSSL
[589 / 817] CNIOBoringSSL
[594 / 817] CNIOBoringSSL
[601 / 817] CNIOBoringSSL
[608 / 817] CNIOBoringSSL
[614 / 817] CNIOBoringSSL
[621 / 817] CNIOBoringSSL
[625 / 817] CNIOBoringSSL
[626 / 817] CNIOBoringSSL
[627 / 817] CNIOBoringSSL
[631 / 817] CNIOBoringSSL
[637 / 817] CNIOBoringSSL
[643 / 817] CNIOBoringSSL
[656 / 817] CNIOBoringSSL
[671 / 817] CNIOBoringSSL
[685 / 817] CNIOBoringSSL
[697 / 817] CNIOBoringSSL
[711 / 817] CNIOBoringSSL
[718 / 817] CNIOBoringSSL
[731 / 817] DequeModule
[738 / 818]
[744 / 827] NIOCore
[745 / 827] CNIOBoringSSL
[746 / 827] CNIOBoringSSL
[749 / 827] NIOCore
[749 / 827] CNIOBoringSSL
[751 / 827] NIOCore
[766 / 846] NIOEmbedded
[769 / 846] NIOEmbedded
[776 / 847] NIOPosix
[778 / 848] NIOFoundationEssentialsCompat
[783 / 848] NIOFoundationEssentialsCompat
[785 / 849] NIOPosix
[786 / 849] NIOFoundationEssentialsCompat
[789 / 849] NIOEmbedded-product
[792 / 849] NIOCore
[794 / 849] NIOFoundationEssentialsCompat
[794 / 849] NIOPosix
[802 / 852] NIO
[815 / 875] NIOFoundationCompat
[816 / 875] NIOTLS
[822 / 875] NIOTLS
[825 / 875] NIOFoundationCompat
[826 / 875] NIOTLS
[831 / 875] NIOHTTP1
[835 / 876] NIOHTTP1
[841 / 876] NIOTLS
[842 / 876] NIOHTTP1-product
[843 / 876] NIOHTTP1-product
[846 / 877] NIOFoundationCompat
[849 / 877] NIOPosix
[854 / 887] NIOHTTP1
[857 / 887] NIOSSL
[859 / 888] NIOSSL
[860 / 888] NIOSSL
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/NIOSSL/SwiftCrypto/NIOSSLSecureBytes.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile NIOSSLSecureBytes.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/NIOSSL/SwiftCrypto/RNG.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile RNG.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/NIOSSL/SwiftCrypto/SafeCompare.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile SafeCompare.swift
/host/spi-builder-workspace/Sources/NIOSSL/ByteBufferBIO.swift:21:8: [1;31merror: [1;39mno such module 'Glibc'[0;0m
[0;36m19 |[0;0m import Darwin.C
[0;36m20 |[0;0m #elseif os(Linux) || os(FreeBSD) || os(Android)
[0;36m21 |[0;0m import Glibc
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Glibc'[0;0m
[0;36m22 |[0;0m #else
[0;36m23 |[0;0m #error("unsupported os")
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/NIOSSL/ByteBufferBIO.swift /host/spi-builder-workspace/Sources/NIOSSL/CustomPrivateKey.swift /host/spi-builder-workspace/Sources/NIOSSL/IdentityVerification.swift /host/spi-builder-workspace/Sources/NIOSSL/LinuxCABundle.swift /host/spi-builder-workspace/Sources/NIOSSL/NIOSSLClientHandler.swift /host/spi-builder-workspace/Sources/NIOSSL/NIOSSLHandler.swift /host/spi-builder-workspace/Sources/NIOSSL/NIOSSLServerHandler.swift /host/spi-builder-workspace/Sources/NIOSSL/ObjectIdentifier.swift /host/spi-builder-workspace/Sources/NIOSSL/PosixPort.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLCallbacks.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLCertificate.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLCertificateExtensions.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLConnection.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLContext.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLErrors.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLInit.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLPKCS12Bundle.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLPrivateKey.swift /host/spi-builder-workspace/Sources/NIOSSL/SSLPublicKey.swift /host/spi-builder-workspace/Sources/NIOSSL/SecurityFrameworkCertificateVerification.swift /host/spi-builder-workspace/Sources/NIOSSL/String+unsafeUninitializedCapacity.swift /host/spi-builder-workspace/Sources/NIOSSL/SubjectAlternativeName.swift -primary-file /host/spi-builder-workspace/Sources/NIOSSL/SwiftCrypto/NIOSSLSecureBytes.swift -primary-file /host/spi-builder-workspace/Sources/NIOSSL/SwiftCrypto/RNG.swift -primary-file /host/spi-builder-workspace/Sources/NIOSSL/SwiftCrypto/SafeCompare.swift /host/spi-builder-workspace/Sources/NIOSSL/SwiftCrypto/Zeroization.swift /host/spi-builder-workspace/Sources/NIOSSL/TLSConfiguration.swift /host/spi-builder-workspace/Sources/NIOSSL/UniversalBootstrapSupport.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/supplementaryOutputs-47 -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 5 -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-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOOpenBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOBoringSSLShims.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOBoringSSL.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-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/Sources/CNIOBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/Sources/CNIOBoringSSL/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-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NIOSSL -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/NIOSSL_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/NIOSSLSecureBytes.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/RNG.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/SafeCompare.o -index-unit-output-path /swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/NIOSSLSecureBytes.o -index-unit-output-path /swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/RNG.o -index-unit-output-path /swift-nio-ssl.build/Debug-android-aarch64/NIOSSL-t.build/Objects-normal/aarch64/SafeCompare.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android