The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-srp, reference main (543aa0), with Swift 6.4 for Android on 21 Sep 2026 10:13:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xcodesorg/swift-srp.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/xcodesorg/swift-srp
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 543aa01 Support Apple SRP
Cloned https://github.com/xcodesorg/swift-srp.git
Revision (git rev-parse @):
543aa0122a0257b992f6c7d62d18a26e3dffb8fe
SUCCESS checkout https://github.com/xcodesorg/swift-srp.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/xcodesorg/swift-srp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/adam-fowler/big-num
[1/18549] Fetching swift-crypto
[1856/20193] Fetching swift-crypto, big-num
Fetched https://github.com/adam-fowler/big-num (1.16s)
Fetched https://github.com/apple/swift-crypto (1.17s)
Computing version for https://github.com/adam-fowler/big-num
Computed https://github.com/adam-fowler/big-num at 2.0.3 (1.36s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 1.1.7 (0.19s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 1.1.7
Creating working copy for https://github.com/adam-fowler/big-num
Working copy of https://github.com/adam-fowler/big-num resolved at 2.0.3
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[49 / 617] CCryptoBoringSSL
[60 / 617] CCryptoBoringSSL
[72 / 617] CCryptoBoringSSL
[79 / 617] CCryptoBoringSSL
[89 / 617] CCryptoBoringSSL
[102 / 617] CCryptoBoringSSL
[111 / 617] CCryptoBoringSSL
[118 / 617] CCryptoBoringSSL
[136 / 617] CCryptoBoringSSL
[145 / 617] CCryptoBoringSSL
[167 / 617] CCryptoBoringSSL
[189 / 617] CCryptoBoringSSL
[204 / 617] CCryptoBoringSSL
[214 / 617] CCryptoBoringSSL
[223 / 617] CCryptoBoringSSL
[236 / 617] CCryptoBoringSSL
[251 / 617] CCryptoBoringSSL
[267 / 617] CCryptoBoringSSL
[282 / 617] CCryptoBoringSSL
[299 / 617] CCryptoBoringSSL
[314 / 617] CCryptoBoringSSL
[326 / 617] CCryptoBoringSSL
[339 / 617] CCryptoBoringSSL
[353 / 617] CCryptoBoringSSL
[368 / 617] CCryptoBoringSSL
[388 / 617] CCryptoBoringSSL
[403 / 617] CCryptoBoringSSL
[424 / 617] CCryptoBoringSSL
[436 / 617] CCryptoBoringSSL
[451 / 618] CBigNumBoringSSL
[471 / 627] CBigNumBoringSSL
[488 / 627] CBigNumBoringSSL
[507 / 627] CBigNumBoringSSL
[525 / 627] CBigNumBoringSSL
[544 / 627] CBigNumBoringSSL
[557 / 627] CBigNumBoringSSL
[573 / 627] CBigNumBoringSSL
[589 / 627] CBigNumBoringSSL
[603 / 627] CBigNumBoringSSL
[605 / 627] Crypto
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key\ Derivation/HKDF.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile HKDF.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
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/.build/checkouts/swift-crypto/Sources/Crypto/AEADs/AES/GCM/AES-GCM.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/AEADs/AES/GCM/BoringSSL/AES-GCM_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/AEADs/ChachaPoly/BoringSSL/ChaChaPoly_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/AEADs/ChachaPoly/ChaChaPoly.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/AEADs/Cipher.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/AEADs/Nonces.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/ASN1.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/Basic\ ASN1\ Types/ASN1BitString.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/Basic\ ASN1\ Types/ASN1Identifier.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/Basic\ ASN1\ Types/ASN1Integer.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/Basic\ ASN1\ Types/ASN1OctetString.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/Basic\ ASN1\ Types/ArraySliceBigint.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/Basic\ ASN1\ Types/ObjectIdentifier.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/ECDSASignature.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/PEMDocument.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/PKCS8PrivateKey.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/SEC1PrivateKey.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/ASN1/SubjectPublicKeyInfo.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/CryptoKitErrors.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Digests/BoringSSL/Digest_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Digests/Digest.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Digests/Digests.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Digests/HashFunctions.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Digests/HashFunctions_SHA2.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Insecure/Insecure.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Insecure/Insecure_HashFunctions.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key\ Agreement/BoringSSL/ECDH_boring.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key\ Agreement/DH.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key\ Agreement/ECDH.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key\ Derivation/HKDF.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/Ed25519_boring.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/EllipticCurvePoint_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/EllipticCurve_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/NISTCurvesKeys_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/BoringSSL/X25519Keys_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/Curve25519.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/Ed25519.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/NISTCurvesKeys.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/EC/X25519Keys.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Keys/Symmetric/SymmetricKeys.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Message\ Authentication\ Codes/HMAC/HMAC.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Message\ Authentication\ Codes/MACFunctions.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Message\ Authentication\ Codes/MessageAuthenticationCode.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/PRF/AES.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Signatures/BoringSSL/ECDSASignature_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Signatures/BoringSSL/ECDSA_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Signatures/BoringSSL/EdDSA_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Signatures/ECDSA.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Signatures/EdDSA.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Signatures/Signature.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/BoringSSL/ArbitraryPrecisionInteger_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/BoringSSL/CryptoKitErrors_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/BoringSSL/FiniteFieldArithmeticContext_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/BoringSSL/RNG_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/BoringSSL/SafeCompare_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/BoringSSL/Zeroization_boring.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/PrettyBytes.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/SafeCompare.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/SecureBytes.swift /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Util/Zeroization.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/supplementaryOutputs-4 -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 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D CRYPTO_IN_SWIFTPM -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/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/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-crypto.build/Debug-android-aarch64/Crypto-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Crypto -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/Crypto_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-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/Insecure.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/Insecure_HashFunctions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/ECDH_boring.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/DH.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/ECDH.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/HKDF.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/Ed25519_boring.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/EllipticCurvePoint_boring.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/Insecure.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/Insecure_HashFunctions.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/ECDH_boring.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/DH.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/ECDH.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/HKDF.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/Ed25519_boring.o -index-unit-output-path /swift-crypto.build/Debug-android-aarch64/Crypto-t.build/Objects-normal/aarch64/EllipticCurvePoint_boring.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android