Build Information
Failed to build IcpKit, reference main (b09420), with Swift 6.1 for Android on 1 Oct 2025 12:34:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kosta-bity/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/kosta-bity/IcpKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b094206 fix tests
Cloned https://github.com/kosta-bity/IcpKit.git
Revision (git rev-parse @):
b094206f574da79b6373e20004df2ae74b63f9c3
SUCCESS checkout https://github.com/kosta-bity/IcpKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/kosta-bity/IcpKit.git
https://github.com/kosta-bity/IcpKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.7.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
},
{
"identity" : "potentcodables",
"requirement" : {
"range" : [
{
"lower_bound" : "3.2.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/outfoxx/PotentCodables.git"
},
{
"identity" : "swift-bases",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-libp2p/swift-bases.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "secp256k1.swift",
"requirement" : {
"exact" : [
"0.10.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/GigaBitcoin/secp256k1.swift.git"
}
],
"manifest_display_name" : "IcpKit",
"name" : "IcpKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "16.0"
}
],
"products" : [
{
"name" : "IcpKit",
"targets" : [
"IcpKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Candid",
"targets" : [
"Candid"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DAB",
"targets" : [
"DAB"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CodeGenerator",
"targets" : [
"CodeGenerator"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "IcpKitTests",
"module_type" : "SwiftTarget",
"name" : "IcpKitTests",
"path" : "Tests/IcpKitTests",
"sources" : [
"ICPCertificateTests.swift",
"ICPCryptographyTests.swift",
"ICPFunctionTests.swift",
"ICPHttpRequestTests.swift",
"ICPIntegrationTests.swift",
"ICPTransactionHashTests.swift"
],
"target_dependencies" : [
"IcpKit"
],
"type" : "test"
},
{
"c99name" : "IcpKit",
"module_type" : "SwiftTarget",
"name" : "IcpKit",
"path" : "Sources/IcpKit",
"product_dependencies" : [
"BigInt",
"secp256k1"
],
"product_memberships" : [
"IcpKit",
"DAB"
],
"sources" : [
"Canisters/ICPLedgerCanister.swift",
"Canisters/LedgerCanister.swift",
"Cryptography/ASN1DerSerialiser.swift",
"Cryptography/EllipticSign.swift",
"Cryptography/ICPBlock.Transaction+Hash.swift",
"Cryptography/ICPCBORSerialisation.swift",
"Cryptography/ICPCryptography+Account.swift",
"Cryptography/ICPCryptography+Principal.swift",
"Cryptography/ICPCryptography.swift",
"Cryptography/ICPDomainSeparator.swift",
"Cryptography/ICPSignature.swift",
"Cryptography/SecureRandom.swift",
"Cryptography/Sha224.swift",
"Cryptography/Sha256.swift",
"ICPRequest/ICPFunction.swift",
"ICPRequest/ICPRequest.swift",
"ICPRequest/ICPRequestBuilder.swift",
"ICPRequest/ICPRequestClient.swift",
"ICPRequest/ICPRequestContent.swift",
"ICPRequest/ICPRequestEnvelope.swift",
"ICPRequest/ICPService.swift",
"ICPRequest/ICPStateCertificate+CBOR.swift",
"ICPRequest/ICPStateCertificate+Signature.swift",
"Models/CandidCodingKey.swift",
"Models/CandidTuple.swift",
"Models/ICPAccount.swift",
"Models/ICPBlock.swift",
"Models/ICPFunctionArgs.swift",
"Models/ICPFunctionArgsCoder.swift",
"Models/ICPPrincipal.swift",
"Models/ICPSigningPrincipal.swift",
"Models/ICPStateCertificate.swift",
"Models/ICPStateTreePath.swift",
"Models/ICPSystemCanisters.swift",
"Models/ICPTransaction.swift",
"Utils/Date+NanoSeconds.swift",
"Utils/HttpClient.swift",
"Utils/StaticBool.swift",
"Utils/URL+ExpressibleByStringLiteral.swift",
"Utils/UrlSessionHttpClient.swift"
],
"target_dependencies" : [
"Candid"
],
"type" : "library"
},
{
"c99name" : "DABTests",
"module_type" : "SwiftTarget",
"name" : "DABTests",
"path" : "Tests/DABTests",
"sources" : [
"DABTests.swift",
"PublicKeys.swift",
"SimplePrincipal.swift"
],
"target_dependencies" : [
"Candid",
"IcpKit",
"DAB"
],
"type" : "test"
},
{
"c99name" : "DAB",
"module_type" : "SwiftTarget",
"name" : "DAB",
"path" : "Sources/DAB",
"product_memberships" : [
"DAB"
],
"sources" : [
"DABNftService.swift",
"DABService.swift",
"DABTokenService.swift",
"Nft/Actors/EXTNftActor.swift",
"Nft/Actors/ICRC7NftActor.swift",
"Nft/Actors/OrigynNftActor.swift",
"Nft/Generated/DABNft.did.swift",
"Nft/Generated/DIP721.did.swift",
"Nft/Generated/EXT.did.swift",
"Nft/Generated/ICRC7.did.swift",
"Nft/Generated/OrigynNFT.did.swift",
"Nft/ICPNftActor.swift",
"Nft/ICPNftActorFactory.swift",
"Nft/ICPNftCollection.swift",
"Nft/ICPNftDetails.swift",
"Nft/ICPNftMetadata.swift",
"Nft/ICPNftStandard.swift",
"Token/Actors/DIP20TokenActor.swift",
"Token/Actors/ICRC1TokenActor.swift",
"Token/Generated/DABTokens.did.swift",
"Token/Generated/DIP20.did.swift",
"Token/Generated/ICPIndex.did.swift",
"Token/Generated/ICRC1.did.swift",
"Token/Generated/ICRC1Oracle.did.swift",
"Token/Generated/ICRC2.did.swift",
"Token/Generated/Index.did.swift",
"Token/Generated/NNS_SNS_W.did.swift",
"Token/ICPToken.swift",
"Token/ICPTokenActor.swift",
"Token/ICPTokenActorFactory.swift",
"Token/ICPTokenBalance.swift",
"Token/ICPTokenMetadata.swift",
"Token/ICPTokenStandard.swift",
"Token/ICPTokenTransaction.swift",
"Token/Index/ICPICRC1IndexTransactionProvider.swift",
"Token/Index/ICPIndexTransactionProvider.swift",
"Token/Index/ICPTransactionProvider.swift",
"Token/Index/ICPTransactionProviderProtocol.swift",
"TokenOracle.swift"
],
"target_dependencies" : [
"IcpKit"
],
"type" : "library"
},
{
"c99name" : "CodeGeneratorTests",
"module_type" : "SwiftTarget",
"name" : "CodeGeneratorTests",
"path" : "Tests/CodeGeneratorTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/EVMProviders.did",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/GoldNFT.did",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/ICRC7.did",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/LedgerCanister.did",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/TestImports.did",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/DidFiles/TestImports2.did",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/EVMProviders.did.generated_swift",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/GoldNFT.did.generated_swift",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/ICRC7.did.generated_swift",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/LedgerCanister.did.generated_swift",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/TestCodeGeneration.did.generated_swift",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/CodeGeneratorTests/Generated/TestImports.did.generated_swift",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CodeGeneratorTests.swift",
"Generated/EVMProviders.did.swift",
"Generated/GoldNFT.did.swift",
"Generated/ICRC7.did.swift",
"Generated/LedgerCanister.did.swift",
"Generated/TestImports.did.swift"
],
"target_dependencies" : [
"CodeGenerator",
"Candid",
"IcpKit"
],
"type" : "test"
},
{
"c99name" : "CodeGenerator",
"module_type" : "SwiftTarget",
"name" : "CodeGenerator",
"path" : "Sources/CodeGenerator",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"CodeGenerator"
],
"sources" : [
"CodeGenerator.swift",
"Generator/CandidCodeGenerator.swift",
"Generator/CodeGenerationContext.swift",
"Generator/IndentedString.swift"
],
"target_dependencies" : [
"Candid"
],
"type" : "executable"
},
{
"c99name" : "CandidTests",
"module_type" : "SwiftTarget",
"name" : "CandidTests",
"path" : "Tests/CandidTests",
"sources" : [
"CandidEncoderTests.swift",
"CandidSerialisationTestVectors.swift",
"CandidSerialisationTests.swift",
"CandidSuperTypeTests.swift",
"CandidTypeParserTestVectors.swift",
"CandidTypeParserTests.swift",
"CandidValueParserTestVectors.swift",
"CandidValueParserTests.swift",
"Leb128Tests.swift"
],
"target_dependencies" : [
"Candid"
],
"type" : "test"
},
{
"c99name" : "Candid",
"module_type" : "SwiftTarget",
"name" : "Candid",
"path" : "Sources/Candid",
"product_dependencies" : [
"PotentCodables",
"Base32"
],
"product_memberships" : [
"IcpKit",
"Candid",
"DAB",
"CodeGenerator"
],
"sources" : [
"CandidType/CandidFunctionSignature.swift",
"CandidType/CandidKey.swift",
"CandidType/CandidKeyedType.swift",
"CandidType/CandidKeyedTypes.swift",
"CandidType/CandidPrimitiveType.swift",
"CandidType/CandidServiceSignature.swift",
"CandidType/CandidType+CustomStringConvertible.swift",
"CandidType/CandidType+Init.swift",
"CandidType/CandidType+PrimitiveType.swift",
"CandidType/CandidType+SuperType.swift",
"CandidType/CandidType+TypeSyntax.swift",
"CandidType/CandidType.swift",
"CandidValue/CandidFunction.swift",
"CandidValue/CandidKeyedValue.swift",
"CandidValue/CandidOption.swift",
"CandidValue/CandidPrincipal.swift",
"CandidValue/CandidRecord.swift",
"CandidValue/CandidService.swift",
"CandidValue/CandidValue+CustomStringConvertible.swift",
"CandidValue/CandidValue+Init.swift",
"CandidValue/CandidValue+Value.swift",
"CandidValue/CandidValue.swift",
"CandidValue/CandidVariant.swift",
"CandidValue/CandidVector.swift",
"Encoding/CandidCodingKey.swift",
"Encoding/CandidDecoder.swift",
"Encoding/CandidEncoder.swift",
"Encoding/CandidFunctionProtocol.swift",
"Encoding/CandidServiceProtocol.swift",
"Encoding/IntCodingKey.swift",
"Parser/CandidInterfaceDefinition.swift",
"Parser/CandidInterfaceDefinitionProvider.swift",
"Parser/CandidParser.swift",
"Parser/CandidParserBase.swift",
"Parser/CandidParserStream.swift",
"Parser/CandidParserToken.swift",
"Parser/CandidTypeParser.swift",
"Parser/CandidValueParser.swift",
"Serialisation/ByteInputStream.swift",
"Serialisation/CandidDeserialiser.swift",
"Serialisation/CandidSerialiser.swift",
"Utils/BinaryInteger+Data.swift",
"Utils/CRC32.swift",
"Utils/CanonicalText.swift",
"Utils/Data+Hex.swift",
"Utils/Leb128.swift",
"Utils/OrderIndependentHash.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-libp2p/swift-bases.git
Fetching https://github.com/outfoxx/PotentCodables.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/attaswift/BigInt.git
[1/286] Fetching swift-bases
[287/5112] Fetching swift-bases, bigint
[915/10455] Fetching swift-bases, bigint, secp256k1.swift
[4985/26969] Fetching swift-bases, bigint, secp256k1.swift, swift-argument-parser
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (1.20s)
[19149/21626] Fetching swift-bases, bigint, swift-argument-parser
Fetched https://github.com/attaswift/BigInt.git from cache (1.21s)
[14819/16800] Fetching swift-bases, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.48s)
[1/113947] Fetching potentcodables
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (4.79s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (4.88s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.10.0 (7.83s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.67s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.0.4 (0.70s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.83s)
Computing version for https://github.com/outfoxx/PotentCodables.git
Computed https://github.com/outfoxx/PotentCodables.git at 3.5.3 (0.56s)
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
[1/1254] Fetching regex
[704/1564] Fetching regex, float16
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.33s)
[828/1254] Fetching regex
[842/19232] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (0.90s)
[9709/17978] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.39s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.49s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.69s)
Fetching https://github.com/apple/swift-numerics
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (2.10s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.96s)
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.0.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.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/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-numerics
Working copy of https://github.com/apple/swift-numerics 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/sharplet/Regex.git
Working copy of https://github.com/sharplet/Regex.git resolved at 2.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
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/ICPIndex.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.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/Token/DidFiles/NNS_SNS_W.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/Token/DidFiles/DIP20.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/74] Compiling fy-docstate.c
[3/74] Compiling precomputed_ecmult_gen.c
[3/74] Write sources
[3/74] Copying PotentCodables.docc
[3/74] Write sources
[22/74] Compiling fy-atom.c
[23/74] Compiling fy-diag.c
[24/74] Write swift-version-24593BA9C3E375BF.txt
[25/74] Compiling Utility.c
[26/74] Compiling fy-ctype.c
[27/74] Compiling fy-utils.c
[28/74] Compiling fy-utf8.c
[29/74] Compiling fy-blob.c
[30/74] Compiling secp256k1.c
[31/74] Compiling xxhash.c
[32/97] Compiling fy-types.c
[33/97] Compiling fy-parse.c
[34/97] Compiling fy-path.c
[35/97] Compiling fy-token.c
[36/97] Compiling fy-walk.c
[37/97] Compiling fy-input.c
[38/97] Compiling fy-event.c
[39/97] Compiling fy-dump.c
[40/97] Compiling fy-docbuilder.c
[40/97] Write sources
[47/97] Compiling fy-emit.c
[48/97] Compiling fy-composer.c
[49/97] Compiling fy-accel.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.
[50/124] Compiling fy-doc.c
[50/126] Compiling precomputed_ecmult.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/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/Token/DidFiles/ICRC1Oracle.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.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/NNS_SNS_W.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DIP721.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
/host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC2.did
/host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/27] 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.
[3/27] Compiling fy-doc.c
[3/27] Compiling precomputed_ecmult.c
BUILD FAILURE 6.1 android