The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IcpKit, reference 0.4.3 (b09420), with Swift 6.1 for Android on 1 Oct 2025 12:32:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kosta-bity/IcpKit.git
Reference: 0.4.3
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
 * tag               0.4.3      -> FETCH_HEAD
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 0.4.3
========================================
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-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.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/outfoxx/PotentCodables.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swift-libp2p/swift-bases.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
[1/4826] Fetching bigint
[243/5112] Fetching bigint, swift-bases
[1784/10455] Fetching bigint, swift-bases, secp256k1.swift
[5989/26969] Fetching bigint, swift-bases, secp256k1.swift, swift-argument-parser
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (0.95s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (0.95s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.96s)
[1/113947] Fetching potentcodables
Fetched https://github.com/attaswift/BigInt.git from cache (7.02s)
Fetched https://github.com/outfoxx/PotentCodables.git from cache (7.12s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.10.0 (9.18s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.47s)
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.64s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.56s)
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
[39/1564] Fetching regex, float16
[1177/19542] Fetching regex, float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.37s)
Fetched https://github.com/sharplet/Regex.git from cache (1.39s)
Fetched https://github.com/apple/swift-collections.git from cache (1.40s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.61s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.55s)
Fetching https://github.com/apple/swift-numerics
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.27s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.62s)
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/SusanDoggie/Float16.git
Working copy of https://github.com/SusanDoggie/Float16.git resolved at 1.1.1
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/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/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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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/swift-libp2p/swift-bases.git
Working copy of https://github.com/swift-libp2p/swift-bases.git resolved at 0.0.4
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/Token/DidFiles/DIP20.did
    /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/Token/DidFiles/ICRC1.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/EXT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.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] Write swift-version-24593BA9C3E375BF.txt
[3/74] Compiling fy-blob.c
[4/74] Compiling fy-token.c
[5/74] Compiling secp256k1.c
[6/74] Write sources
[11/74] Compiling fy-docbuilder.c
[12/74] Copying PotentCodables.docc
[13/74] Write sources
/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.
[21/74] Compiling fy-doc.c
[21/74] Compiling precomputed_ecmult_gen.c
[21/74] Compiling fy-types.c
[21/74] Compiling fy-walk.c
[21/74] Compiling precomputed_ecmult.c
[21/74] Compiling Utility.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.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/Nft/DidFiles/DIP721.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/Index.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DABTokens.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/ICRC7.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/DABNft.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/DIP20.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/NNS_SNS_W.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/ICRC2.did
    /host/spi-builder-workspace/Sources/DAB/Nft/DidFiles/OrigynNFT.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1Oracle.did
    /host/spi-builder-workspace/Sources/DAB/Token/DidFiles/ICRC1.did
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/55] Write sources
[6/56] Compiling fy-ctype.c
[7/56] Compiling fy-utf8.c
[8/56] Compiling Utility.c
[9/56] Compiling fy-utils.c
[10/56] Compiling xxhash.c
[11/56] Write swift-version-24593BA9C3E375BF.txt
[12/56] Compiling precomputed_ecmult_gen.c
[13/56] Compiling fy-input.c
[14/56] Compiling fy-types.c
[15/56] Compiling fy-walk.c
[16/56] Compiling fy-path.c
[17/56] Compiling fy-event.c
[18/63] Compiling fy-dump.c
[19/75] Compiling fy-docstate.c
[20/79] Compiling fy-parse.c
[21/79] Compiling fy-composer.c
[23/79] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/79] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/81] Compiling fy-emit.c
[25/81] Write sources
[29/81] Compiling fy-atom.c
[31/81] Compiling InternalCollectionsUtilities Debugging.swift
[32/81] Compiling InternalCollectionsUtilities Descriptions.swift
/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.
[32/81] Compiling fy-doc.c
[33/81] Compiling Regex ThreadLocal.swift
[33/81] Compiling fy-diag.c
[33/81] Compiling fy-accel.c
[33/81] Compiling precomputed_ecmult.c
[34/81] Emitting module Regex
[35/81] Compiling Regex Foundation+Ranges.swift
BUILD FAILURE 6.1 android