Build Information
Failed to build IcpKit, reference 0.5.1 (ac40e1), with Swift 6.1 for Android on 9 Nov 2026 13:59:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kgaitanis/IcpKit.git
Reference: 0.5.1
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
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at ac40e1c Clean up sample apps. Improve testing for NFTs and Tokens
Cloned https://github.com/kgaitanis/IcpKit.git
Revision (git rev-parse @):
ac40e1ca4be7d1a19368e9f1bfb68c6f7986c921
SUCCESS checkout https://github.com/kgaitanis/IcpKit.git at 0.5.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/kgaitanis/IcpKit.git
https://github.com/kgaitanis/IcpKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.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 saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/outfoxx/PotentCodables.git
[1/4954] Fetching bigint
[4955/24330] Fetching bigint, swift-argument-parser
[24331/36863] Fetching bigint, swift-argument-parser, secp256k1.swift
[35862/150810] Fetching bigint, swift-argument-parser, secp256k1.swift, potentcodables
Fetching https://github.com/swift-libp2p/swift-bases.git
Fetched https://github.com/attaswift/BigInt.git from cache (3.26s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.26s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (3.27s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (3.29s)
[1/672] Fetching swift-bases
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (0.44s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.10.0 (4.65s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.22s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.26s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/SusanDoggie/Float16.git
[1/1254] Fetching regex
[77/1564] Fetching regex, float16
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.40s)
[828/1254] Fetching regex
[1255/31125] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (1.23s)
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (2.17s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.25s)
Fetching https://github.com/apple/swift-numerics
[1/6849] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.76s)
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.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.32s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
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/outfoxx/PotentCodables.git
Working copy of https://github.com/outfoxx/PotentCodables.git resolved at 3.5.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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/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
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.1.1
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/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
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICPIndex.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.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/Token/DidFiles/ICRC1.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/79] Compiling fy-types.c
[3/79] Compiling fy-composer.c
[4/79] Compiling fy-accel.c
[5/79] Compiling fy-diag.c
[6/79] Write swift-version-24593BA9C3E375BF.txt
[6/79] Write sources
[6/79] Copying PotentCodables.docc
[6/79] Write sources
[27/79] Compiling fy-docbuilder.c
[28/79] Compiling fy-atom.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.
[29/79] Compiling fy-doc.c
[29/79] Compiling Utility.c
[29/79] Compiling precomputed_ecmult.c
[29/79] Compiling precomputed_ecmult_gen.c
[29/79] Compiling secp256k1.c
[29/79] Compiling xxhash.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
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/Token/DidFiles/DABTokens.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICPIndex.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DIP721.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/52] Write sources
[4/53] Compiling fy-ctype.c
[5/53] Compiling Utility.c
[6/53] Compiling fy-utils.c
[7/53] Compiling fy-blob.c
[8/53] Compiling fy-utf8.c
[9/53] Compiling precomputed_ecmult_gen.c
[10/53] Write swift-version-24593BA9C3E375BF.txt
[11/53] Compiling xxhash.c
[12/53] Compiling secp256k1.c
[13/53] Compiling fy-token.c
[14/53] Compiling fy-path.c
[15/53] Compiling fy-input.c
[16/82] Compiling fy-walk.c
[18/99] Compiling Regex ThreadLocal.swift
[19/99] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[20/99] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[21/101] Compiling InternalCollectionsUtilities _SortedCollection.swift
[22/101] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[22/101] Compiling fy-event.c
[23/101] Compiling fy-emit.c
[24/101] Compiling fy-parse.c
[25/101] Write sources
[28/101] Compiling fy-dump.c
[29/101] Write sources
[32/101] Compiling Regex String+ReplaceMatching.swift
[32/101] Compiling fy-docstate.c
[34/101] Compiling Regex Options.swift
[35/101] Compiling Regex MatchResult.swift
[36/101] Emitting module BigInt
[37/103] Compiling Regex Foundation+Ranges.swift
[38/103] Compiling Regex Regex.swift
[39/103] Emitting module Regex
/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.
[39/104] Compiling fy-doc.c
[40/104] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[41/104] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[42/104] Compiling InternalCollectionsUtilities Span+Extras.swift
[43/104] Compiling InternalCollectionsUtilities String+Padding.swift
[44/104] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[45/104] Compiling InternalCollectionsUtilities Debugging.swift
[46/104] Compiling InternalCollectionsUtilities Descriptions.swift
[47/104] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[47/104] Compiling precomputed_ecmult.c
BUILD FAILURE 6.1 android