Build Information
Failed to build appattest-swift, reference main (36b6c9
), with Swift 6.1 for Android on 9 Sep 2025 03:17:05 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.67.1
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 36b6c91 Bump actions/checkout from 4 to 5 (#45)
Cloned https://github.com/zunda-pixel/appattest-swift.git
Revision (git rev-parse @):
36b6c9158614d03d21c1d34b8d5a36c0c699c229
SUCCESS checkout https://github.com/zunda-pixel/appattest-swift.git at main
========================================
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-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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/outfoxx/PotentCodables
Fetching https://github.com/apple/swift-certificates
[1/6461] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates from cache (0.63s)
[1/113947] Fetching potentcodables
Fetched https://github.com/outfoxx/PotentCodables from cache (7.86s)
Computing version for https://github.com/outfoxx/PotentCodables
Computed https://github.com/outfoxx/PotentCodables at 3.5.3 (10.86s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/attaswift/BigInt.git
[1/4826] Fetching bigint
[2/5136] Fetching bigint, float16
[601/6390] Fetching bigint, float16, regex
[3589/23835] Fetching bigint, float16, regex, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (7.23s)
Fetched https://github.com/attaswift/BigInt.git from cache (7.24s)
Fetched https://github.com/sharplet/Regex.git from cache (7.27s)
Fetched https://github.com/apple/swift-collections.git from cache (7.31s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (10.79s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.77s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (2.44s)
Fetching https://github.com/apple/swift-numerics
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.55s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (1.21s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (0.63s)
Computing version for https://github.com/apple/swift-certificates
Computed https://github.com/apple/swift-certificates at 1.13.0 (0.77s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.38s)
[1/16718] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.14s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (5.04s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.89s)
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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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.15.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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.4.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/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.13.0
Building for debugging...
[0/414] Write sources
[0/414] Copying Apple_App_Attestation_Root_CA.pem
[2/414] Write sources
[14/414] Copying PotentCodables.docc
[15/414] Write sources
[21/414] Compiling fy-utf8.c
[22/414] Compiling fy-diag.c
[23/414] Compiling fy-ctype.c
[24/414] Compiling fy-composer.c
[25/414] Compiling fy-utils.c
[26/414] Compiling fy-blob.c
[27/414] Write swift-version-24593BA9C3E375BF.txt
[28/414] Compiling fy-atom.c
[29/414] Compiling xxhash.c
[30/414] Compiling fy-types.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.
[31/414] Compiling fy-doc.c
[31/414] Compiling fy-parse.c
[31/414] Compiling fy-path.c
[31/414] Compiling fy-walk.c
[31/414] Compiling fy-token.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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/384] Compiling fy-dump.c
[1/384] Compiling fy-path.c
[2/384] Compiling fy-input.c
[3/384] Compiling fy-event.c
[4/384] Compiling fy-walk.c
[5/384] Compiling fy-docstate.c
[6/384] Compiling fy-token.c
[7/384] Compiling fy-emit.c
[8/384] Compiling fy-docbuilder.c
[9/384] Compiling fiat_p256_adx_sqr.S
[10/384] Compiling fiat_curve25519_adx_square.S
[11/384] Write swift-version-24593BA9C3E375BF.txt
[12/384] Compiling fiat_p256_adx_mul.S
[13/384] Compiling fiat_curve25519_adx_mul.S
[14/384] Compiling CCryptoBoringSSLShims shims.c
[15/384] Compiling md5-x86_64-linux.S
[15/384] Compiling fy-accel.c
[17/384] Compiling md5-x86_64-apple.S
[18/384] Compiling md5-586-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.
[19/384] Compiling fy-doc.c
[19/384] Compiling md5-586-apple.S
[19/384] Compiling fy-parse.c
[19/384] Compiling err_data.cc
BUILD FAILURE 6.1 android