Build Information
Failed to build Kubrick, reference main (de9b0d
), with Swift 6.2 (beta) for Android on 20 Jun 2025 16:53:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/Kubrick.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/Kubrick
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at de9b0d8 Add spi.yml
Cloned https://github.com/outfoxx/Kubrick.git
Revision (git rev-parse @):
de9b0d88d3ac6c31d64071fdf58a82f331ce6ef9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/outfoxx/Kubrick.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/outfoxx/Kubrick.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/kdubb/SwiftFriendlyId.git
Fetching https://github.com/outfoxx/potentcodables.git
Fetching https://github.com/outfoxx/IOStreams.git
Fetching https://github.com/SwiftyLab/AsyncObjects.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[231/2144] Fetching swift-docc-plugin, swiftfriendlyid
[292/6563] Fetching swift-docc-plugin, swiftfriendlyid, iostreams
Fetched https://github.com/apple/swift-docc-plugin from cache (0.68s)
[4461/8670] Fetching swiftfriendlyid, iostreams, asyncobjects
Fetched https://github.com/SwiftyLab/AsyncObjects.git from cache (1.10s)
Fetched https://github.com/outfoxx/IOStreams.git from cache (1.10s)
[42/106347] Fetching swiftfriendlyid, potentcodables
Fetched https://github.com/kdubb/SwiftFriendlyId.git from cache (5.21s)
Fetched https://github.com/outfoxx/potentcodables.git from cache (5.31s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (6.01s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/outfoxx/IOStreams.git
Computed https://github.com/outfoxx/IOStreams.git at 1.4.2 (1.14s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
Computing version for https://github.com/outfoxx/potentcodables.git
Computed https://github.com/outfoxx/potentcodables.git at 3.2.0 (1.09s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/SusanDoggie/Float16.git
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
[2/5117] Fetching bigint, float16
[4542/21757] Fetching bigint, float16, swift-collections
Fetched https://github.com/attaswift/BigInt.git from cache (0.70s)
[4637/16950] Fetching float16, swift-collections
Fetched https://github.com/SusanDoggie/Float16.git from cache (1.83s)
Fetched https://github.com/apple/swift-collections.git from cache (1.88s)
Computing version for https://github.com/SwiftyLab/AsyncObjects.git
Computed https://github.com/SwiftyLab/AsyncObjects.git at 2.1.0 (2.73s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.82s)
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/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.50s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.88s)
Computing version for https://github.com/kdubb/SwiftFriendlyId.git
Computed https://github.com/kdubb/SwiftFriendlyId.git at 1.3.2 (0.72s)
Fetching https://github.com/apple/swift-argument-parser
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.6 (1.97s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.37s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.6
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.1.0
Creating working copy for https://github.com/kdubb/SwiftFriendlyId.git
Working copy of https://github.com/kdubb/SwiftFriendlyId.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/outfoxx/IOStreams.git
Working copy of https://github.com/outfoxx/IOStreams.git resolved at 1.4.2
Creating working copy for https://github.com/outfoxx/potentcodables.git
Working copy of https://github.com/outfoxx/potentcodables.git resolved at 3.2.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/SwiftyLab/AsyncObjects.git
Working copy of https://github.com/SwiftyLab/AsyncObjects.git resolved at 2.1.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/43] Compiling _AtomicsShims.c
[4/43] Write sources
[6/43] Copying PotentCodables.docc
[7/43] Write sources
[11/43] Copying Kubrick.docc
[12/43] Write sources
[17/43] Compiling fy-accel.c
[18/43] Compiling fy-composer.c
[19/43] Compiling fy-docbuilder.c
[20/43] Compiling fy-diag.c
[21/43] Compiling xxhash.c
[22/43] Compiling fy-utils.c
[23/43] Compiling fy-utf8.c
[24/43] Write swift-version-8C5A4AE7A8CE2BA.txt
[25/43] Compiling fy-atom.c
[26/43] Compiling fy-emit.c
[27/63] Compiling fy-types.c
[28/90] Compiling fy-path.c
[29/109] Compiling fy-input.c
[30/109] Compiling fy-token.c
[31/109] Compiling fy-dump.c
[32/109] Compiling fy-walk.c
[33/109] Write sources
[34/109] Compiling fy-ctype.c
[35/109] Write sources
[36/145] Compiling fy-docstate.c
[36/145] Write sources
[40/145] Compiling fy-event.c
/host/spi-builder-workspace/.build/checkouts/potentcodables/Sources/Cfyaml/src/lib/fy-doc.c:5769:2: error: call to undeclared function 'qsort_r'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
5769 | 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:5769: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.
[41/147] Compiling fy-doc.c
[41/147] Compiling fy-parse.c
BUILD FAILURE 6.2 android