The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PotentCodables, reference main (acfa8e), with Swift 6.1 for Android on 17 Jun 2025 03:41:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/outfoxx/potentcodables.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/outfoxx/potentcodables
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at acfa8ee Merge pull request #91 from outfoxx/fix/asn1-docs
Cloned https://github.com/outfoxx/potentcodables.git
Revision (git rev-parse @):
acfa8ee4108255c3f60ecfe11df75f70784a17da
SUCCESS checkout https://github.com/outfoxx/potentcodables.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/outfoxx/potentcodables.git
https://github.com/outfoxx/potentcodables.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.3.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/attaswift/BigInt.git"
    },
    {
      "identity" : "float16",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SusanDoggie/Float16.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "regex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sharplet/Regex.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "PotentCodables",
  "name" : "PotentCodables",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "PotentCodables",
      "targets" : [
        "PotentCodables",
        "PotentJSON",
        "PotentCBOR",
        "PotentASN1",
        "PotentYAML",
        "Cfyaml"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PotentYAML",
      "module_type" : "SwiftTarget",
      "name" : "PotentYAML",
      "path" : "Sources/PotentYAML",
      "product_dependencies" : [
        "BigInt",
        "Collections",
        "Regex"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "Errors.swift",
        "Libfyaml.swift",
        "YAML.swift",
        "YAMLDecoder.swift",
        "YAMLEncoder.swift",
        "YAMLReader.swift",
        "YAMLSchema.swift",
        "YAMLSchemaCore.swift",
        "YAMLSerialization.swift",
        "YAMLWriter.swift"
      ],
      "target_dependencies" : [
        "PotentCodables",
        "Cfyaml"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentJSON",
      "module_type" : "SwiftTarget",
      "name" : "PotentJSON",
      "path" : "Sources/PotentJSON",
      "product_dependencies" : [
        "BigInt",
        "Collections"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "Errors.swift",
        "JSON.swift",
        "JSONDecoder.swift",
        "JSONEncoder.swift",
        "JSONReader.swift",
        "JSONSerialization.swift",
        "JSONWriter.swift"
      ],
      "target_dependencies" : [
        "PotentCodables"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentCodablesTests",
      "module_type" : "SwiftTarget",
      "name" : "PotentCodablesTests",
      "path" : "Tests",
      "sources" : [
        "ASN1AnyStringTests.swift",
        "ASN1AnyValueTests.swift",
        "ASN1DERBigIntTests.swift",
        "ASN1DERTests.swift",
        "ASN1DecoderTests.swift",
        "ASN1EncoderTests.swift",
        "ASN1SchemaDecodeTests.swift",
        "ASN1SchemaEncodeTests.swift",
        "ASN1SchemaTests.swift",
        "ASN1Tests.swift",
        "ASN1ValueTests.swift",
        "AnyCodingKeyTests.swift",
        "AnyValueCoderTests.swift",
        "AnyValueTests.swift",
        "Assertions.swift",
        "CBORAnyValueTests.swift",
        "CBORCodableRoundtripTests.swift",
        "CBORDecoderTests.swift",
        "CBOREncoderTests.swift",
        "CBORReaderTests.swift",
        "CBORTests.swift",
        "CBORValueTests.swift",
        "CBORWriterTests.swift",
        "ConfigurationTests.swift",
        "Datas.swift",
        "Dates.swift",
        "JSONAnyValueTests.swift",
        "JSONDecoderTests.swift",
        "JSONEncoderTests.swift",
        "JSONOrderTests.swift",
        "JSONReaderTests.swift",
        "JSONValueTests.swift",
        "JSONWriterTests.swift",
        "RefTests.swift",
        "TimeZoneTests.swift",
        "UnkeyedCodingContainerTests.swift",
        "ValueCoderTests.swift",
        "ValueTransformerProvidingTests.swift",
        "ValueTransformerTests.swift",
        "YAMLAnyValueTests.swift",
        "YAMLDecoderTests.swift",
        "YAMLEncoderTests.swift",
        "YAMLErrorTests.swift",
        "YAMLOrderTests.swift",
        "YAMLReaderTests.swift",
        "YAMLSchemaTests.swift",
        "YAMLTests.swift",
        "YAMLValueTests.swift",
        "YAMLWriterTests.swift"
      ],
      "target_dependencies" : [
        "PotentCodables",
        "PotentJSON",
        "PotentCBOR",
        "PotentASN1",
        "PotentYAML"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PotentCodables",
      "module_type" : "SwiftTarget",
      "name" : "PotentCodables",
      "path" : "Sources/PotentCodables",
      "product_dependencies" : [
        "BigInt",
        "Collections",
        "Float16",
        "Regex"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/PotentCodables/PotentCodables.docc",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyCodingKey.swift",
        "AnyValue/AnyValue.swift",
        "AnyValue/AnyValueDecoder.swift",
        "AnyValue/AnyValueEncoder.swift",
        "DecoderSupport.swift",
        "EncoderSupport.swift",
        "Errors.swift",
        "Float16.swift",
        "KeyStrategy.swift",
        "KeyedNestedDecoder.swift",
        "KeyedNestedEncoder.swift",
        "Refs.swift",
        "Regexes.swift",
        "TimeZone.swift",
        "TopLevel.swift",
        "TreeValueDecodingContainer.swift",
        "Value.swift",
        "ValueDecoder.swift",
        "ValueEncoder.swift",
        "ValueTransformer.swift",
        "ValueTransformerProviding.swift",
        "ZonedDate.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentCBOR",
      "module_type" : "SwiftTarget",
      "name" : "PotentCBOR",
      "path" : "Sources/PotentCBOR",
      "product_dependencies" : [
        "BigInt",
        "Collections"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "CBOR.swift",
        "CBORDecoder.swift",
        "CBOREncoder.swift",
        "CBORReader.swift",
        "CBORSerialization.swift",
        "CBORStream.swift",
        "CBORWriter.swift"
      ],
      "target_dependencies" : [
        "PotentCodables"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PotentASN1",
      "module_type" : "SwiftTarget",
      "name" : "PotentASN1",
      "path" : "Sources/PotentASN1",
      "product_dependencies" : [
        "BigInt",
        "Collections"
      ],
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "ASN1.swift",
        "ASN1DERReader.swift",
        "ASN1DERWriter.swift",
        "ASN1Decoder.swift",
        "ASN1Encoder.swift",
        "ASN1Serialization.swift",
        "AnyString.swift",
        "AnyTime.swift",
        "BigInts.swift",
        "BitString.swift",
        "Dates.swift",
        "ObjectIdentifier.swift",
        "Schema.swift",
        "SchemaSpecified.swift",
        "SchemaState.swift",
        "Tagged.swift",
        "TaggedValue.swift"
      ],
      "target_dependencies" : [
        "PotentCodables"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cfyaml",
      "module_type" : "ClangTarget",
      "name" : "Cfyaml",
      "path" : "Sources/Cfyaml",
      "product_memberships" : [
        "PotentCodables"
      ],
      "sources" : [
        "src/lib/fy-accel.c",
        "src/lib/fy-atom.c",
        "src/lib/fy-composer.c",
        "src/lib/fy-diag.c",
        "src/lib/fy-doc.c",
        "src/lib/fy-docbuilder.c",
        "src/lib/fy-docstate.c",
        "src/lib/fy-dump.c",
        "src/lib/fy-emit.c",
        "src/lib/fy-event.c",
        "src/lib/fy-input.c",
        "src/lib/fy-parse.c",
        "src/lib/fy-path.c",
        "src/lib/fy-token.c",
        "src/lib/fy-types.c",
        "src/lib/fy-walk.c",
        "src/util/fy-blob.c",
        "src/util/fy-ctype.c",
        "src/util/fy-utf8.c",
        "src/util/fy-utils.c",
        "src/xxhash/xxhash.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/sharplet/Regex.git
[1/310] Fetching float16
[311/1564] Fetching float16, regex
[638/6371] Fetching float16, regex, bigint
[1849/8453] Fetching float16, regex, bigint, swift-docc-plugin
[2127/25059] Fetching float16, regex, bigint, swift-docc-plugin, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (0.93s)
[19488/23805] Fetching float16, bigint, swift-docc-plugin, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.28s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.28s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Fetched https://github.com/apple/swift-collections.git from cache (1.31s)
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.56s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.50s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.36s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.96s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (1.06s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3411] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.33s)
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
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.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/40] Write sources
[2/40] Copying PotentCodables.docc
[2/40] Write sources
[16/40] Compiling fy-blob.c
[17/40] Compiling fy-ctype.c
[18/40] Compiling fy-utf8.c
[19/40] Compiling fy-utils.c
[20/40] Compiling fy-token.c
[21/40] Compiling fy-types.c
[22/40] Write swift-version-24593BA9C3E375BF.txt
[23/40] Compiling xxhash.c
[24/40] Compiling fy-event.c
[25/40] Compiling fy-input.c
[26/40] Compiling fy-path.c
[27/54] Compiling fy-docstate.c
[28/55] Compiling fy-walk.c
[29/55] Compiling fy-dump.c
/host/spi-builder-workspace/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/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.
[30/61] Compiling fy-doc.c
[30/61] Compiling fy-diag.c
[30/61] Compiling fy-parse.c
[30/61] Compiling fy-emit.c
[30/61] Compiling fy-composer.c
[30/61] Compiling fy-docbuilder.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/13] Compiling fy-composer.c
[3/13] Compiling fy-accel.c
[4/13] Write sources
[6/13] Compiling fy-docbuilder.c
[7/13] Compiling fy-atom.c
[8/13] Compiling fy-diag.c
/host/spi-builder-workspace/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/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.
[9/13] Compiling fy-doc.c
[9/13] Compiling fy-parse.c
[9/13] Compiling fy-emit.c
[9/13] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android