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 appattest-swift, reference 0.1.1 (396985), with Swift 6.1 for Android on 4 Jun 2025 16:16:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/zunda-pixel/appattest-swift.git
Reference: 0.1.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/zunda-pixel/appattest-swift
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 3969853 Create release.yml (#38)
Cloned https://github.com/zunda-pixel/appattest-swift.git
Revision (git rev-parse @):
3969853e8803843ebf011a04a8d6048b6b1412de
SUCCESS checkout https://github.com/zunda-pixel/appattest-swift.git at 0.1.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zunda-pixel/appattest-swift.git
https://github.com/zunda-pixel/appattest-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "potentcodables",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.5.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/outfoxx/PotentCodables"
    },
    {
      "identity" : "swift-certificates",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-certificates"
    }
  ],
  "manifest_display_name" : "appattest-swift",
  "name" : "appattest-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "AppAttest",
      "targets" : [
        "AppAttest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AppAttestTests",
      "module_type" : "SwiftTarget",
      "name" : "AppAttestTests",
      "path" : "Tests/AppAttestTests",
      "sources" : [
        "AppAttestTests.swift",
        "DataAppAttestTests.swift"
      ],
      "target_dependencies" : [
        "AppAttest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AppAttest",
      "module_type" : "SwiftTarget",
      "name" : "AppAttest",
      "path" : "Sources/AppAttest",
      "product_dependencies" : [
        "PotentCodables",
        "X509"
      ],
      "product_memberships" : [
        "AppAttest"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/AppAttest/Resources/Apple_App_Attestation_Root_CA.pem",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AppAttest.swift",
        "Assertion.swift",
        "Attestation.swift",
        "Environment.swift",
        "Statement.swift",
        "VerifyAssertion.swift",
        "VerifyAssertionError.swift",
        "VerifyAttentionError.swift",
        "VerifyAttestation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-certificates
Fetching https://github.com/outfoxx/PotentCodables
[1/6155] Fetching swift-certificates
[6095/97357] Fetching swift-certificates, potentcodables
Fetched https://github.com/apple/swift-certificates from cache (0.78s)
[8209/91202] Fetching potentcodables
Fetched https://github.com/outfoxx/PotentCodables from cache (5.87s)
Computing version for https://github.com/outfoxx/PotentCodables
Computed https://github.com/outfoxx/PotentCodables at 3.5.1 (9.70s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/sharplet/Regex.git
[1/4784] Fetching bigint
[289/6038] Fetching bigint, regex
[591/6348] Fetching bigint, regex, float16
[2745/22939] Fetching bigint, regex, float16, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (1.42s)
[13617/21685] Fetching bigint, float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (2.24s)
Fetched https://github.com/attaswift/BigInt.git from cache (2.25s)
Fetched https://github.com/apple/swift-collections.git from cache (2.28s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (5.85s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (1.00s)
Fetching https://github.com/apple/swift-numerics
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.61s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.58s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.5.2 (0.81s)
Computing version for https://github.com/apple/swift-certificates
Computed https://github.com/apple/swift-certificates at 1.10.0 (0.73s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1590] Fetching swift-asn1
[1591/16261] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (2.83s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.88s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (5.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.21s)
Creating working copy for https://github.com/apple/swift-certificates
Working copy of https://github.com/apple/swift-certificates resolved at 1.10.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.5.2
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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.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/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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/outfoxx/PotentCodables
Working copy of https://github.com/outfoxx/PotentCodables resolved at 3.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Building for debugging...
[0/406] Compiling fy-blob.c
[1/406] Copying Apple_App_Attestation_Root_CA.pem
[1/406] Write sources
[10/406] Copying PotentCodables.docc
[11/406] Write sources
[22/406] Compiling fy-types.c
[23/406] Compiling fy-path.c
[24/406] Write swift-version-24593BA9C3E375BF.txt
[25/406] Compiling fy-input.c
[26/406] Compiling fy-token.c
[27/406] Compiling fy-utils.c
[28/406] Compiling xxhash.c
[29/406] Compiling fy-utf8.c
[30/406] Compiling fy-walk.c
[31/406] Compiling fy-ctype.c
[32/446] Compiling fy-event.c
[33/446] Compiling fy-dump.c
[34/446] Compiling fy-emit.c
[35/446] Compiling fy-docstate.c
[36/446] Compiling fy-parse.c
[37/446] Compiling fy-docbuilder.c
[38/446] Compiling fy-composer.c
[39/446] Compiling fy-diag.c
[40/446] 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.
[41/446] Compiling fy-doc.c
[41/446] Compiling fiat_p256_adx_sqr.S
[41/446] Compiling CCryptoBoringSSLShims shims.c
[41/446] Compiling fy-atom.c
[42/446] Emitting module _CertificateInternals
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/365] Write sources
[1/366] Compiling fiat_p256_adx_mul.S
[2/366] Compiling fiat_p256_adx_sqr.S
[3/366] Compiling md5-x86_64-linux.S
[3/366] Compiling fiat_curve25519_adx_mul.S
[5/366] Compiling md5-x86_64-apple.S
[6/366] Compiling md5-586-linux.S
[7/366] Compiling fiat_curve25519_adx_square.S
[8/366] Compiling md5-586-apple.S
[9/366] Compiling chacha20_poly1305_x86_64-linux.S
[10/366] Compiling chacha20_poly1305_x86_64-apple.S
[11/366] Compiling chacha20_poly1305_armv8-win.S
[12/366] Compiling chacha20_poly1305_armv8-apple.S
[13/366] Compiling chacha-x86_64-linux.S
[14/366] Compiling chacha-x86_64-apple.S
[15/366] Compiling chacha20_poly1305_armv8-linux.S
[16/366] Compiling chacha-x86-linux.S
[17/366] Compiling chacha-x86-apple.S
[18/366] Compiling chacha-armv8-win.S
[19/366] Compiling chacha-armv8-apple.S
[20/366] Write swift-version-24593BA9C3E375BF.txt
[21/366] Compiling chacha-armv4-linux.S
[22/366] Compiling chacha-armv8-linux.S
[23/366] Compiling aes128gcmsiv-x86_64-linux.S
[24/366] Compiling aes128gcmsiv-x86_64-apple.S
[25/366] Compiling fy-atom.c
[26/366] Compiling CCryptoBoringSSLShims shims.c
[27/366] Compiling x86_64-mont5-linux.S
[28/366] Compiling x86_64-mont5-apple.S
[29/366] Compiling x86_64-mont-linux.S
/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.
[30/368] Compiling fy-doc.c
[30/368] Compiling x86_64-mont-apple.S
[30/368] Compiling x86-mont-linux.S
[30/368] Compiling err_data.cc
BUILD FAILURE 6.1 android