Build Information
Failed to build SwiftCardanoCore, reference 0.2.23 (becbd3), with Swift 6.2 for Android on 11 Nov 2025 12:05:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-cardano-core.git
Reference: 0.2.23
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-cardano-core
* tag 0.2.23 -> FETCH_HEAD
HEAD is now at becbd32 bump: version 0.2.22 → 0.2.23
Cloned https://github.com/Kingpin-Apps/swift-cardano-core.git
Revision (git rev-parse @):
becbd32df2d1edf7a3d5f2533ce5ebc23ec8fe58
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kingpin-Apps/swift-cardano-core.git at 0.2.23
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/Kingpin-Apps/swift-cardano-core.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/Kingpin-Apps/swift-mnemonic.git
Fetching https://github.com/Kingpin-Apps/swift-ncal.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/swift-fraction-number.git
[1/4826] Fetching bigint
[2/5010] Fetching bigint, swift-mnemonic
[620/5030] Fetching bigint, swift-mnemonic, swift-fraction-number
[929/9492] Fetching bigint, swift-mnemonic, swift-fraction-number, swift-log
[5368/9966] Fetching bigint, swift-mnemonic, swift-fraction-number, swift-log, swift-ncal
Fetched https://github.com/Frizlab/swift-fraction-number.git from cache (0.30s)
[6788/9946] Fetching bigint, swift-mnemonic, swift-log, swift-ncal
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[9131/27385] Fetching bigint, swift-mnemonic, swift-log, swift-ncal, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
[5786/22923] Fetching bigint, swift-mnemonic, swift-ncal, swift-crypto
Fetching https://github.com/KINGH242/PotentCodables.git
[6532/36028] Fetching bigint, swift-mnemonic, swift-ncal, swift-crypto, cryptoswift
Fetched https://github.com/attaswift/BigInt.git from cache (0.75s)
[4064/33548] Fetching swift-mnemonic, swift-ncal, swift-crypto, cryptoswift, potentcodables
Fetched https://github.com/KINGH242/PotentCodables.git from cache (0.72s)
[5155/31202] Fetching swift-mnemonic, swift-ncal, swift-crypto, cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.60s)
Fetched https://github.com/Kingpin-Apps/swift-mnemonic.git from cache (3.39s)
Fetched https://github.com/Kingpin-Apps/swift-ncal.git from cache (3.40s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.47s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (6.67s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.29s)
Computing version for https://github.com/Frizlab/swift-fraction-number.git
Computed https://github.com/Frizlab/swift-fraction-number.git at 0.1.0 (0.64s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.39s)
Computing version for https://github.com/Kingpin-Apps/swift-mnemonic.git
Computed https://github.com/Kingpin-Apps/swift-mnemonic.git at 0.2.1 (0.36s)
Fetching https://github.com/KINGH242/swift-base58.git
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/143] Fetching uncommoncrypto.swift
[144/197] Fetching uncommoncrypto.swift, swift-base58
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.21s)
Fetched https://github.com/KINGH242/swift-base58.git from cache (0.22s)
Computing version for https://github.com/Kingpin-Apps/swift-ncal.git
Computed https://github.com/Kingpin-Apps/swift-ncal.git at 0.2.1 (2.58s)
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
Fetched https://github.com/norio-nomura/Base32.git from cache (0.24s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.65s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (0.42s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/SusanDoggie/Float16.git
[1/310] Fetching float16
[302/1564] Fetching float16, regex
[1161/19878] Fetching float16, regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (0.80s)
[10930/18624] Fetching float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.46s)
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/KINGH242/swift-base58.git
Computed https://github.com/KINGH242/swift-base58.git at 0.1.2 (1.98s)
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.57s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (7.39s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.42s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.44s)
Fetching https://github.com/apple/swift-numerics
[1/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (1.24s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (0.54s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.57s)
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/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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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/Kingpin-Apps/swift-ncal.git
Working copy of https://github.com/Kingpin-Apps/swift-ncal.git resolved at 0.2.1
Creating working copy for https://github.com/Frizlab/swift-fraction-number.git
Working copy of https://github.com/Frizlab/swift-fraction-number.git resolved at 0.1.0
Creating working copy for https://github.com/KINGH242/swift-base58.git
Working copy of https://github.com/KINGH242/swift-base58.git resolved at 0.1.2
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/Kingpin-Apps/swift-mnemonic.git
Working copy of https://github.com/Kingpin-Apps/swift-mnemonic.git resolved at 0.2.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.3.0
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/norio-nomura/Base32.git
Working copy of https://github.com/norio-nomura/Base32.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
Building for debugging...
[0/54] Write sources
[19/54] Copying PrivacyInfo.xcprivacy
[20/54] Copying wordlist
[21/54] Write sources
[23/54] Compiling fy-utils.c
[24/54] Copying PotentCodables.docc
[25/54] Compiling fy-composer.c
[26/54] Write swift-version--11D90AFD9DD3AB2.txt
[26/54] Compiling fy-accel.c
[28/54] Compiling xxhash.c
[29/54] Compiling fy-atom.c
[30/54] Compiling fy-diag.c
[31/54] Compiling fy-ctype.c
[32/54] Compiling fy-blob.c
[33/54] Compiling fy-utf8.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.
[34/70] Compiling fy-doc.c
[34/75] Compiling fy-types.c
[34/75] Compiling fy-walk.c
BUILD FAILURE 6.2 android