Build Information
Failed to build SwiftCOSE, reference 0.1.15 (c5fc78), with Swift 6.3 for Android on 17 Apr 2026 16:22:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-cose.git
Reference: 0.1.15
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/Kingpin-Apps/swift-cose
* tag 0.1.15 -> FETCH_HEAD
HEAD is now at c5fc787 bump: version 0.1.14 → 0.1.15
Cloned https://github.com/Kingpin-Apps/swift-cose.git
Revision (git rev-parse @):
c5fc787fddb8cffdcc37bf60c39a05676a990628
SUCCESS checkout https://github.com/Kingpin-Apps/swift-cose.git at 0.1.15
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/Kingpin-Apps/swift-cose.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/Kingpin-Apps/swift-curve448.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/Sajjon/K1.git
Fetching https://github.com/krzyzanowskim/OpenSSL-Package.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/leif-ibsen/Digest.git
[1/4378] Fetching k1
[2716/6971] Fetching k1, digest
[3157/7114] Fetching k1, digest, swift-curve448
[3508/7204] Fetching k1, digest, swift-curve448, openssl-package
[5154/20545] Fetching k1, digest, swift-curve448, openssl-package, cryptoswift
[5339/27696] Fetching k1, digest, swift-curve448, openssl-package, cryptoswift, swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.91s)
Fetching https://github.com/KINGH242/PotentCodables.git
Fetched https://github.com/Kingpin-Apps/swift-curve448.git from cache (0.93s)
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
Fetched https://github.com/leif-ibsen/Digest.git from cache (0.93s)
[6470/17809] Fetching k1, openssl-package, cryptoswift
[7938/17952] Fetching k1, openssl-package, cryptoswift, uncommoncrypto.swift
[8081/20298] Fetching k1, openssl-package, cryptoswift, uncommoncrypto.swift, potentcodables
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.61s)
[17440/20155] Fetching k1, openssl-package, cryptoswift, potentcodables
Fetched https://github.com/KINGH242/PotentCodables.git from cache (1.14s)
Fetched https://github.com/krzyzanowskim/OpenSSL-Package.git from cache (2.15s)
Fetched https://github.com/Sajjon/K1.git from cache (2.15s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.20s)
Computing version for https://github.com/Kingpin-Apps/swift-curve448.git
Computed https://github.com/Kingpin-Apps/swift-curve448.git at 0.1.3 (3.07s)
Fetching https://github.com/apple/swift-crypto.git
[1/17400] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.21s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (4.83s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (0.59s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (0.54s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
[1/1254] Fetching regex
[817/1564] Fetching regex, float16
[1127/6442] Fetching regex, float16, bigint
[2006/30011] Fetching regex, float16, bigint, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (0.86s)
[20508/28757] Fetching float16, bigint, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.65s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.66s)
Fetched https://github.com/apple/swift-collections.git from cache (1.70s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.32s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.34s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.69s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.48s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.44s)
Computing version for https://github.com/krzyzanowskim/OpenSSL-Package.git
Computed https://github.com/krzyzanowskim/OpenSSL-Package.git at 3.3.3001 (0.94s)
Computing version for https://github.com/Sajjon/K1.git
Computed https://github.com/Sajjon/K1.git at 0.7.1 (0.66s)
Computing version for https://github.com/leif-ibsen/Digest.git
Computed https://github.com/leif-ibsen/Digest.git at 1.13.0 (0.42s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (2.57s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.74s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (3.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.83s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (0.56s)
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/leif-ibsen/Digest.git
Working copy of https://github.com/leif-ibsen/Digest.git resolved at 1.13.0
Creating working copy for https://github.com/Kingpin-Apps/swift-curve448.git
Working copy of https://github.com/Kingpin-Apps/swift-curve448.git resolved at 0.1.3
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.0
Creating working copy for https://github.com/Sajjon/K1.git
Working copy of https://github.com/Sajjon/K1.git resolved at 0.7.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/krzyzanowskim/OpenSSL-Package.git
Working copy of https://github.com/krzyzanowskim/OpenSSL-Package.git resolved at 3.3.3001
Creating working copy for https://github.com/KINGH242/PotentCodables.git
Working copy of https://github.com/KINGH242/PotentCodables.git resolved at 3.6.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.4.1
Creating working copy for https://github.com/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at 0.2.1
Downloading binary artifact https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
[896/38024420] Downloading https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
Downloaded https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip (4.52s)
Building for debugging...
[0/430] Compiling fy-atom.c
[0/430] Compiling fy-docbuilder.c
[2/430] Compiling fy-accel.c
[3/430] Compiling fy-composer.c
[4/430] Write swift-version--4F562202D5529B1.txt
[5/430] Compiling ecdh_variants.c
[6/430] Compiling fy-docstate.c
[7/430] Write sources
[11/430] Compiling lax_der_privatekey_parsing.c
[12/430] Write sources
[14/430] Compiling lax_der_parsing.c
[15/430] Write sources
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-doc.c:5871:2: error: call to undeclared function 'qsort_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
5871 | qsort_r(fynpp, count, sizeof(*fynpp), fy_node_mapping_sort_cmp, &ctx);
| ^
/host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-doc.c:5871:2: note: did you mean 'qsort'?
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/stdlib.h:126:6: note: 'qsort' declared here
126 | void qsort(void* _Nullable __base, size_t __nmemb, size_t __size, int (* _Nonnull __comparator)(const void* _Nullable __lhs, const void* _Nullable __rhs));
| ^
1 error generated.
[16/430] Compiling fy-doc.c
[16/430] Write sources
[16/430] Compiling precomputed_ecmult.c
[16/430] Compiling fy-diag.c
[16/430] Compiling precomputed_ecmult_gen.c
[16/430] Compiling secp256k1.c
error: cancelled
error: cancelled
BUILD FAILURE 6.3 android