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 main (dc85b4), with Swift 6.2 (beta) for Android on 17 Jun 2025 23:06:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/zunda-pixel/appattest-swift.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/zunda-pixel/appattest-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dc85b49 Bump github.com/outfoxx/potentcodables from 3.5.1 to 3.5.2 (#39)
Cloned https://github.com/zunda-pixel/appattest-swift.git
Revision (git rev-parse @):
dc85b492b73cae0240efa0618e6c99b51fc14575
SUCCESS checkout https://github.com/zunda-pixel/appattest-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/zunda-pixel/appattest-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-certificates
Fetching https://github.com/outfoxx/PotentCodables
[1/6184] Fetching swift-certificates
[6185/112469] Fetching swift-certificates, potentcodables
Fetched https://github.com/apple/swift-certificates from cache (5.37s)
Fetched https://github.com/outfoxx/PotentCodables from cache (5.46s)
Computing version for https://github.com/outfoxx/PotentCodables
Computed https://github.com/outfoxx/PotentCodables at 3.5.2 (7.67s)
Fetching https://github.com/attaswift/BigInt.git
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
[817/1564] Fetching regex, float16
[1127/6371] Fetching regex, float16, bigint
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.30s)
[2860/6061] Fetching regex, bigint
[3006/22667] Fetching regex, bigint, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (0.74s)
[8893/17860] Fetching regex, swift-collections
Fetched https://github.com/sharplet/Regex.git from cache (1.16s)
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.30s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.35s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.39s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.76s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.31s)
Computing version for https://github.com/apple/swift-certificates
Computed https://github.com/apple/swift-certificates at 1.10.0 (0.45s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1590] Fetching swift-asn1
[1591/16793] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (1.53s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.56s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.55s)
Creating working copy for https://github.com/outfoxx/PotentCodables
Working copy of https://github.com/outfoxx/PotentCodables resolved at 3.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
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-certificates
Working copy of https://github.com/apple/swift-certificates resolved at 1.10.0
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] Write swift-version-8C5A4AE7A8CE2BA.txt
[1/406] Copying Apple_App_Attestation_Root_CA.pem
[2/406] Compiling fy-accel.c
[3/406] Write sources
[15/406] Copying PotentCodables.docc
[15/406] Write sources
[23/406] Compiling fy-composer.c
[24/406] Compiling fy-input.c
[25/406] Compiling fy-event.c
[26/417] Compiling fy-utils.c
[27/419] Compiling fy-diag.c
[28/443] Compiling fy-atom.c
[29/446] Compiling fy-ctype.c
[30/446] Compiling fy-utf8.c
[31/446] Compiling fy-blob.c
[32/446] Compiling xxhash.c
[33/446] Compiling fy-types.c
[34/446] Compiling fy-parse.c
[35/446] Compiling fy-walk.c
[36/446] Compiling fy-token.c
[37/446] Compiling fy-path.c
[38/446] Compiling fy-dump.c
[39/446] Compiling fy-docstate.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.
[40/446] Compiling fy-doc.c
[40/446] Compiling CCryptoBoringSSLShims shims.c
[40/446] Compiling fy-docbuilder.c
[40/446] Compiling fy-emit.c
[41/446] Emitting module _CertificateInternals
BUILD FAILURE 6.2 android