Build Information
Failed to build appattest-swift, reference main (0a024b), with Swift 6.2 for Android on 26 Apr 2026 13:25:01 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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 0a024b4 Bump github.com/apple/swift-certificates from 1.18.0 to 1.19.0 (#55)
Cloned https://github.com/zunda-pixel/appattest-swift.git
Revision (git rev-parse @):
0a024b43d486cb6e4faca7fdec97466efb541b4a
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/outfoxx/PotentCodables
Fetching https://github.com/apple/swift-certificates
[1/7152] Fetching swift-certificates
[7153/121099] Fetching swift-certificates, potentcodables
Fetched https://github.com/apple/swift-certificates from cache (3.15s)
[103692/113947] Fetching potentcodables
Fetched https://github.com/outfoxx/PotentCodables from cache (5.74s)
Computing version for https://github.com/outfoxx/PotentCodables
Computed https://github.com/outfoxx/PotentCodables at 3.5.3 (8.28s)
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/attaswift/BigInt.git
[1/310] Fetching float16
[311/23996] Fetching float16, swift-collections
[312/25250] Fetching float16, swift-collections, regex
[1824/30128] Fetching float16, swift-collections, regex, bigint
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.81s)
[15007/29818] Fetching swift-collections, regex, bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.82s)
[11076/24940] Fetching swift-collections, regex
Fetched https://github.com/sharplet/Regex.git from cache (1.95s)
Fetched https://github.com/apple/swift-collections.git from cache (1.97s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (4.53s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (0.51s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.48s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.90s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.76s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.46s)
Computing version for https://github.com/apple/swift-certificates
Computed https://github.com/apple/swift-certificates at 1.19.0 (2.37s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-crypto.git
[1/1803] Fetching swift-asn1
[1804/19239] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git from cache (2.21s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (2.69s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.0 (1.62s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.0
Creating working copy for https://github.com/outfoxx/PotentCodables
Working copy of https://github.com/outfoxx/PotentCodables resolved at 3.5.3
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/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/apple/swift-certificates
Working copy of https://github.com/apple/swift-certificates resolved at 1.19.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.4.1
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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Building for debugging...
[0/420] Write swift-version--11D90AFD9DD3AB2.txt
[1/420] Copying Apple_App_Attestation_Root_CA.pem
[2/420] Write sources
[6/420] Compiling fy-dump.c
[7/420] Write sources
[11/420] Copying PotentCodables.docc
[12/420] Write sources
[14/420] Compiling fy-types.c
[15/420] Compiling fy-atom.c
[16/420] Write sources
[20/420] Compiling fy-composer.c
[20/420] Write sources
[28/421] Compiling fy-accel.c
[29/464] Compiling fy-utils.c
[30/464] Compiling fy-diag.c
[31/464] Compiling fy-emit.c
[32/464] Compiling fy-utf8.c
[33/464] Compiling fy-ctype.c
[34/464] Compiling fy-blob.c
[35/464] Compiling xxhash.c
[36/464] Compiling fy-token.c
[37/464] Compiling fy-path.c
[38/464] Compiling fy-walk.c
[39/464] Compiling fy-input.c
[40/464] Compiling fy-event.c
[41/464] Compiling fy-parse.c
[42/464] Compiling CXKCPShims shims.c
[43/464] Compiling SimpleFIPS202.c
[44/464] Compiling fy-docstate.c
[45/464] Compiling KeccakSponge.c
[46/464] Compiling KeccakHash.c
[47/464] Compiling fy-docbuilder.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-RELEASE-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.
[48/464] Compiling fy-doc.c
[48/464] Compiling fiat_p256_adx_sqr.S
[48/464] Compiling KeccakP-1600-opt64.c
[48/464] Compiling CCryptoBoringSSLShims shims.c
BUILD FAILURE 6.2 android