Build Information
Failed to build PotentCodables, reference main (acfa8e
), with Swift 6.2 (beta) for Android on 24 Jun 2025 17:27:03 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/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.2
Building package at path: $PWD
https://github.com/outfoxx/potentcodables.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-collections.git
Fetching https://github.com/sharplet/Regex.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
[723/5117] Fetching bigint, float16
[1207/6371] Fetching bigint, float16, regex
[3129/8453] Fetching bigint, float16, regex, swift-docc-plugin
[3192/25093] Fetching bigint, float16, regex, swift-docc-plugin, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (0.34s)
[5029/24783] Fetching bigint, regex, swift-docc-plugin, swift-collections
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.47s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.48s)
Fetched https://github.com/sharplet/Regex.git from cache (1.49s)
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Computing version for https://github.com/sharplet/Regex.git
Computed https://github.com/sharplet/Regex.git at 2.1.1 (3.91s)
Computing version for https://github.com/SusanDoggie/Float16.git
Computed https://github.com/SusanDoggie/Float16.git at 1.1.1 (1.84s)
Fetching https://github.com/apple/swift-numerics
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.82s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (1.38s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (0.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.67s)
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/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/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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
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] Compiling fy-docbuilder.c
[3/40] Compiling fy-event.c
[3/40] Write sources
[8/40] Copying PotentCodables.docc
[9/40] Write sources
[18/40] Compiling fy-docstate.c
[19/40] Compiling fy-composer.c
[20/40] Compiling fy-dump.c
[21/40] Compiling fy-utf8.c
[22/40] Compiling fy-ctype.c
[23/40] Compiling fy-blob.c
[24/40] Compiling fy-utils.c
[25/40] Compiling fy-diag.c
[26/40] Compiling xxhash.c
[27/40] Write swift-version-8C5A4AE7A8CE2BA.txt
/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.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.
[28/40] Compiling fy-doc.c
[28/40] Compiling fy-token.c
[28/40] Compiling fy-walk.c
[28/40] Compiling fy-parse.c
[28/40] Compiling fy-emit.c
[28/40] Compiling fy-path.c
[28/40] Compiling fy-input.c
[28/40] Compiling fy-types.c
BUILD FAILURE 6.2 android