Build Information
Failed to build SwiftOgmios, reference main (f42010), with Swift 6.1 for Android on 16 Sep 2025 05:44:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kingpin-Apps/swift-ogmios.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/Kingpin-Apps/swift-ogmios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f420106 add last few and improve api
Cloned https://github.com/Kingpin-Apps/swift-ogmios.git
Revision (git rev-parse @):
f4201060f4aef4cefebda137efe62a7c25dab23e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kingpin-Apps/swift-ogmios.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kingpin-Apps/swift-ogmios.git
https://github.com/Kingpin-Apps/swift-ogmios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/Kingpin-Apps/swift-cardano-core.git
[1/2287] Fetching swift-cardano-core
Fetched https://github.com/Kingpin-Apps/swift-cardano-core.git from cache (0.56s)
Computing version for https://github.com/Kingpin-Apps/swift-cardano-core.git
Computed https://github.com/Kingpin-Apps/swift-cardano-core.git at 0.1.32 (1.53s)
Fetching https://github.com/Frizlab/swift-fraction-number.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/tesseract-one/Bip39.swift.git
Fetching https://github.com/attaswift/BigInt.git
[1/20] Fetching swift-fraction-number
[21/3923] Fetching swift-fraction-number, swift-log
[256/4005] Fetching swift-fraction-number, swift-log, bip39.swift
[315/8831] Fetching swift-fraction-number, swift-log, bip39.swift, bigint
Fetching https://github.com/Kingpin-Apps/swift-mnemonic.git
Fetching https://github.com/Kingpin-Apps/swift-ncal.git
Fetched https://github.com/Frizlab/swift-fraction-number.git from cache (0.76s)
[7219/8811] Fetching swift-log, bip39.swift, bigint
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
[3557/4908] Fetching bip39.swift, bigint
Fetching https://github.com/KINGH242/PotentCodables.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[4909/5016] Fetching bip39.swift, bigint, swift-mnemonic
[5017/7362] Fetching bip39.swift, bigint, swift-mnemonic, potentcodables
Fetched https://github.com/Kingpin-Apps/swift-mnemonic.git from cache (0.53s)
[4979/7254] Fetching bip39.swift, bigint, potentcodables
[4980/20272] Fetching bip39.swift, bigint, potentcodables, cryptoswift
[4981/20641] Fetching bip39.swift, bigint, potentcodables, cryptoswift, swift-ncal
Fetched https://github.com/tesseract-one/Bip39.swift.git from cache (1.32s)
[5231/20559] Fetching bigint, potentcodables, cryptoswift, swift-ncal
Fetched https://github.com/attaswift/BigInt.git from cache (1.32s)
[535/15733] Fetching potentcodables, cryptoswift, swift-ncal
Fetched https://github.com/Kingpin-Apps/swift-ncal.git from cache (0.93s)
[4299/15364] Fetching potentcodables, cryptoswift
Fetched https://github.com/KINGH242/PotentCodables.git from cache (3.46s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.49s)
Computing version for https://github.com/Frizlab/swift-fraction-number.git
Computed https://github.com/Frizlab/swift-fraction-number.git at 0.1.0 (5.76s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (3.55s)
Computing version for https://github.com/tesseract-one/Bip39.swift.git
Computed https://github.com/tesseract-one/Bip39.swift.git at 0.2.0 (1.00s)
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/143] Fetching uncommoncrypto.swift
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.36s)
Computing version for https://github.com/Kingpin-Apps/swift-mnemonic.git
Computed https://github.com/Kingpin-Apps/swift-mnemonic.git at 0.1.3 (1.39s)
Fetching https://github.com/heckj/Base58Swift.git
[1/485] Fetching base58swift
Fetched https://github.com/heckj/Base58Swift.git from cache (0.44s)
Computing version for https://github.com/Kingpin-Apps/swift-ncal.git
Computed https://github.com/Kingpin-Apps/swift-ncal.git at 0.1.4 (1.38s)
Fetching https://github.com/norio-nomura/Base32.git
[1/1168] Fetching base32
Fetched https://github.com/norio-nomura/Base32.git from cache (0.42s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (1.50s)
Computing version for https://github.com/KINGH242/PotentCodables.git
Computed https://github.com/KINGH242/PotentCodables.git at 3.6.0 (1.90s)
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
[311/1564] Fetching float16, regex
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.37s)
[515/1254] Fetching regex
[817/18720] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (1.48s)
[9781/17466] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.32s)
Computing version for https://github.com/heckj/Base58Swift.git
Computed https://github.com/heckj/Base58Swift.git at 2.1.15 (3.37s)
Computing version for https://github.com/norio-nomura/Base32.git
Computed https://github.com/norio-nomura/Base32.git at 0.9.0 (3.44s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (0.94s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (1.09s)
Fetching https://github.com/apple/swift-numerics
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (1.78s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.99s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (0.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.12s)
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/tesseract-one/Bip39.swift.git
Working copy of https://github.com/tesseract-one/Bip39.swift.git resolved at 0.2.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/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/Kingpin-Apps/swift-ncal.git
Working copy of https://github.com/Kingpin-Apps/swift-ncal.git resolved at 0.1.4
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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.1.3
Creating working copy for https://github.com/Kingpin-Apps/swift-cardano-core.git
Working copy of https://github.com/Kingpin-Apps/swift-cardano-core.git resolved at 0.1.32
Creating working copy for https://github.com/heckj/Base58Swift.git
Working copy of https://github.com/heckj/Base58Swift.git resolved at 2.1.15
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SwiftOgmios/ogmios.json
/host/spi-builder-workspace/Sources/SwiftOgmios/cardano.json
Building for debugging...
[0/56] Write sources
[0/56] Copying wordlist
[0/56] Write sources
[0/56] Copying PrivacyInfo.xcprivacy
[0/56] Write sources
[0/56] Copying PotentCodables.docc
[24/56] Compiling fy-ctype.c
[25/56] Compiling fy-blob.c
[26/56] Compiling fy-utils.c
[27/56] Compiling fy-utf8.c
[28/56] Compiling fy-types.c
[29/56] Write swift-version-24593BA9C3E375BF.txt
[30/56] Compiling xxhash.c
[31/56] Compiling fy-path.c
[32/56] Compiling fy-input.c
[33/56] Compiling fy-token.c
[34/62] Compiling fy-event.c
[35/63] Compiling fy-walk.c
[36/85] Compiling fy-emit.c
[37/105] Compiling fy-dump.c
[38/186] Compiling fy-parse.c
[39/186] Compiling fy-docstate.c
[40/186] Compiling fy-docbuilder.c
[41/186] Compiling fy-diag.c
[42/186] Compiling fy-composer.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.
[43/186] Compiling fy-doc.c
[43/186] Compiling fy-atom.c
[43/186] Compiling fy-accel.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: you may be able to install libsodium using your system-packager:
apt-get install libsodium-dev
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SwiftOgmios/cardano.json
/host/spi-builder-workspace/Sources/SwiftOgmios/ogmios.json
[0/1] Planning build
Building for debugging...
[0/13] Write sources
[2/14] Compiling CUncommonCrypto hmac.c
[3/14] Compiling CUncommonCrypto sha3.c
[3/14] Write sources
[7/14] Compiling CUncommonCrypto memzero.c
[8/14] Compiling CUncommonCrypto pbkdf2.c
[9/14] Compiling fy-accel.c
[10/14] Compiling CUncommonCrypto sha2.c
[11/14] Compiling fy-atom.c
[12/14] Write swift-version-24593BA9C3E375BF.txt
/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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.
[13/14] Compiling fy-doc.c
BUILD FAILURE 6.1 android