The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IcpKit, reference main (e63498), with Swift 6.4 for Android on 27 Sep 2026 20:05:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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/kgaitanis/IcpKit.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/kgaitanis/IcpKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e634988 Fix tests
Cloned https://github.com/kgaitanis/IcpKit.git
Revision (git rev-parse @):
e634988c4332bc9a0021c4cfc278dca5ed05af9c
SUCCESS checkout https://github.com/kgaitanis/IcpKit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/kgaitanis/IcpKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/outfoxx/PotentCodables.git
[1/18947] Fetching swift-argument-parser
Fetching https://github.com/swift-libp2p/swift-bases.git
Fetched https://github.com/apple/swift-argument-parser (0.80s)
[1/11151] Fetching secp256k1.swift
[7473/11823] Fetching secp256k1.swift, swift-bases
Fetched https://github.com/swift-libp2p/swift-bases.git (0.49s)
[7695/11151] Fetching secp256k1.swift
[11152/125098] Fetching secp256k1.swift, potentcodables
Fetching https://github.com/attaswift/BigInt.git
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git (1.61s)
[5698/113947] Fetching potentcodables
[72928/118886] Fetching potentcodables, bigint
Fetched https://github.com/attaswift/BigInt.git (0.65s)
[85461/113947] Fetching potentcodables
Fetched https://github.com/outfoxx/PotentCodables.git (3.36s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.10.0 (4.47s)
Computing version for https://github.com/attaswift/BigInt.git
warning: 'bigint': /Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.16s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.22s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
[1/310] Fetching float16
[253/1564] Fetching float16, regex
[1202/29343] Fetching float16, regex, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git (1.25s)
Fetched https://github.com/sharplet/Regex.git (1.26s)
Fetched https://github.com/apple/swift-collections.git (1.27s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.33s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.19s)
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (1.09s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.27s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.4.0 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
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.7.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.10.0
Creating working copy for https://github.com/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.5.3
Creating working copy for https://github.com/swift-libp2p/swift-bases.git
Working copy of https://github.com/swift-libp2p/swift-bases.git resolved at 0.4.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
warning: 'bigint': /host/spi-builder-workspace/.build/checkouts/BigInt/Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'spi-builder-workspace': found 13 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DIP721.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICPIndex.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.did
Building for debugging...
[Computing dependencies]
[Provisioning 4 / 40]
[Pre-planning 1 / 945]
[Planning 802 / 945]
[Planning deferred tasks]
[Starting]
[138 / 393] Candid
[193 / 412] secp256k1
[195 / 421] secp256k1
[196 / 421] secp256k1
[197 / 421] InternalCollectionsUtilities
[204 / 421] secp256k1
[215 / 421] secp256k1-product
[220 / 421] secp256k1-product
[224 / 421] InternalCollectionsUtilities
[225 / 421] InternalCollectionsUtilities
[226 / 421] _RopeModule
[231 / 422] Regex
[243 / 422] Cfyaml
[245 / 423] Cfyaml
[248 / 423] Cfyaml
[251 / 423] Cfyaml
[253 / 423] Cfyaml
[255 / 423] Cfyaml
[258 / 423] Cfyaml
[259 / 423] Cfyaml
[262 / 423] Cfyaml
[268 / 429] secp256k1
/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'?
In file included from /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-doc.c:15:
/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/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.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/PotentCodables.build/Debug-android-aarch64/Cfyaml-t.build/Objects-normal/aarch64/fy-doc.o /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-doc.c normal aarch64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/PotentCodables.build/Debug-android-aarch64/Cfyaml-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/PotentCodables.build/Debug-android-aarch64/Cfyaml-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/PotentCodables.build/Debug-android-aarch64/Cfyaml-t.build/Objects-normal/aarch64/fy-doc.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/PotentCodables.build/Debug-android-aarch64/Cfyaml-t.build/Objects-normal/aarch64/fy-doc.dia -c /host/spi-builder-workspace/.build/checkouts/PotentCodables/Sources/Cfyaml/src/lib/fy-doc.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PotentCodables.build/Debug-android-aarch64/Cfyaml-t.build/Objects-normal/aarch64/fy-doc.o
error: Build failed
BUILD FAILURE 6.4 android