Build Information
Failed to build SwiftCOSE, reference 0.1.15 (c5fc78), with Swift 6.2 for Android on 30 Nov 2025 03:22:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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.2
Building package at path: $PWD
https://github.com/Kingpin-Apps/swift-cose.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/krzyzanowskim/OpenSSL-Package.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/leif-ibsen/Digest.git
Fetching https://github.com/Sajjon/K1.git
Fetching https://github.com/Kingpin-Apps/swift-curve448.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/90] Fetching openssl-package
[91/233] Fetching openssl-package, swift-curve448
[234/3936] Fetching openssl-package, swift-curve448, k1
[1975/10961] Fetching openssl-package, swift-curve448, k1, swift-certificates
Fetched https://github.com/Kingpin-Apps/swift-curve448.git from cache (0.36s)
[2042/10818] Fetching openssl-package, k1, swift-certificates
[2043/23923] Fetching openssl-package, k1, swift-certificates, cryptoswift
Fetched https://github.com/krzyzanowskim/OpenSSL-Package.git from cache (0.38s)
[2154/23833] Fetching k1, swift-certificates, cryptoswift
Fetching https://github.com/KINGH242/PotentCodables.git
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[4598/26426] Fetching k1, swift-certificates, cryptoswift, digest
[13722/26569] Fetching k1, swift-certificates, cryptoswift, digest, uncommoncrypto.swift
[14756/28915] Fetching k1, swift-certificates, cryptoswift, digest, uncommoncrypto.swift, potentcodables
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.41s)
[15368/28772] Fetching k1, swift-certificates, cryptoswift, digest, potentcodables
Fetched https://github.com/KINGH242/PotentCodables.git from cache (0.75s)
[16991/26426] Fetching k1, swift-certificates, cryptoswift, digest
Fetched https://github.com/apple/swift-certificates.git from cache (2.35s)
Fetched https://github.com/leif-ibsen/Digest.git from cache (2.35s)
Fetched https://github.com/Sajjon/K1.git from cache (2.36s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.41s)
Computing version for https://github.com/Kingpin-Apps/swift-curve448.git
Computed https://github.com/Kingpin-Apps/swift-curve448.git at 0.1.3 (2.89s)
Fetching https://github.com/apple/swift-crypto.git
[1/17463] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.74s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (5.27s)
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.38s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (0.47s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
[1/310] Fetching float16
[311/1564] Fetching float16, regex
[913/6390] Fetching float16, regex, bigint
[5616/24704] Fetching float16, regex, bigint, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.70s)
[13421/24394] Fetching regex, bigint, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (1.52s)
Fetched https://github.com/sharplet/Regex.git from cache (1.53s)
Fetched https://github.com/apple/swift-collections.git from cache (1.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.76s)
Fetching https://github.com/apple/swift-asn1.git
[1/1663] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.89s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.43s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.42s)
Computing version for https://github.com/Sajjon/K1.git
Computed https://github.com/Sajjon/K1.git at 0.6.0 (0.88s)
Computing version for https://github.com/krzyzanowskim/OpenSSL-Package.git
Computed https://github.com/krzyzanowskim/OpenSSL-Package.git at 3.3.3001 (0.47s)
Computing version for https://github.com/leif-ibsen/Digest.git
Computed https://github.com/leif-ibsen/Digest.git at 1.13.0 (0.34s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (2.24s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.39s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.59s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.16.0 (0.53s)
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/KINGH242/PotentCodables.git
Working copy of https://github.com/KINGH242/PotentCodables.git resolved at 3.6.0
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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.16.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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.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/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/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.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
Creating working copy for https://github.com/Sajjon/K1.git
Working copy of https://github.com/Sajjon/K1.git resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Creating working copy for https://github.com/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Downloading binary artifact https://github.com/krzyzanowskim/OpenSSL/releases/download/3.3.3001/OpenSSL.xcframework.zip
[16375/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 (5.31s)
Building for debugging...
[0/429] Compiling fy-utf8.c
[1/429] Compiling ecdh_variants.c
[2/429] Compiling fy-utils.c
[3/429] Compiling fy-composer.c
[4/429] Compiling xxhash.c
[5/429] Write swift-version--6B0C4D200E742BB1.txt
[6/429] Compiling fy-event.c
[7/429] Write sources
[10/429] Compiling lax_der_privatekey_parsing.c
[11/429] Compiling precomputed_ecmult_gen.c
[12/429] Write sources
[27/429] Copying PotentCodables.docc
[28/429] Compiling fy-atom.c
[29/429] Compiling lax_der_parsing.c
/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.2-RELEASE-android-0.1.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.
[30/478] Compiling fy-doc.c
[30/480] Compiling precomputed_ecmult.c
[30/481] Compiling secp256k1.c
BUILD FAILURE 6.2 android