Build Information
Failed to build Shaft, reference main (3cfae9
), with Swift 6.2 (beta) for Android on 5 Sep 2025 18:28:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/Shaft.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/ShaftUI/Shaft
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3cfae97 Add DesktopView.requestFocus
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
3cfae9748c5fe257d8b695976b105eb69d82b539
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ShaftUI/Shaft.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.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/ShaftUI/SwiftSDL3
[1/1787] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (0.62s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.28s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/159] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.28s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/swiftwasm/JavaScriptKit
[1/1335] Fetching rainbow
[736/6526] Fetching rainbow, zipfoundationmodern
[2011/17297] Fetching rainbow, zipfoundationmodern, swift-collections
[2765/28433] Fetching rainbow, zipfoundationmodern, swift-collections, yams
[5856/100296] Fetching rainbow, zipfoundationmodern, swift-collections, yams, swift-syntax
[7743/126487] Fetching rainbow, zipfoundationmodern, swift-collections, yams, swift-syntax, javascriptkit
Fetched https://github.com/ShaftUI/swift-collections from cache (1.50s)
[57807/115716] Fetching rainbow, zipfoundationmodern, yams, swift-syntax, javascriptkit
Fetching https://github.com/ShaftUI/SwiftMath
[69725/116489] Fetching rainbow, zipfoundationmodern, yams, swift-syntax, javascriptkit, swiftmath
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (1.86s)
[46439/90298] Fetching rainbow, zipfoundationmodern, yams, swift-syntax, swiftmath
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.37s)
[47126/89525] Fetching rainbow, zipfoundationmodern, yams, swift-syntax
Fetched https://github.com/onevcat/Rainbow from cache (2.19s)
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (2.20s)
[60722/82999] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (2.25s)
[51023/71863] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.96s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.38s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (1.42s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.74s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (4.88s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.84s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/gregcotten/CSProgress
[1/48] Fetching zlib
[49/287] Fetching zlib, csprogress
Fetched https://github.com/the-swift-collective/zlib from cache (0.41s)
[230/239] Fetching csprogress
[236/5180] Fetching csprogress, swift-system
Fetched https://github.com/apple/swift-system from cache (0.72s)
Fetched https://github.com/gregcotten/CSProgress from cache (0.72s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (1.60s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.90s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.76s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.98s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.35.0 (1.16s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/ShaftUI/swift-collections
Working copy of https://github.com/ShaftUI/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (cce1834)
Creating working copy for https://github.com/ShaftUI/Splash
Working copy of https://github.com/ShaftUI/Splash resolved at master (ed08785)
Creating working copy for https://github.com/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
Creating working copy for https://github.com/gregcotten/CSProgress
Working copy of https://github.com/gregcotten/CSProgress resolved at 0.0.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.35.0
Creating working copy for https://github.com/gregcotten/ZIPFoundationModern
Working copy of https://github.com/gregcotten/ZIPFoundationModern resolved at 0.0.5
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin CSkiaSetupPlugin
[3/3] Compiling plugin BridgeJSCommandPlugin
[4/4] Compiling plugin BridgeJS
[5/5] Compiling plugin PackageToJS
Building for debugging...
[5/106] Write sources
[14/106] Compiling CSystem shims.c
[15/106] Compiling ZLibC zutil.c
[16/106] Compiling ZLibC trees.c
[17/106] Compiling ZLibC inffast.c
[18/106] Compiling ZLibC uncompr.c
[19/106] Compiling ZLibC inftrees.c
[20/106] Compiling ZLibC infback.c
[21/106] Compiling ZLibC inflate.c
[22/106] Compiling ZLibC gzwrite.c
[23/106] Compiling ZLibC gzlib.c
[24/106] Compiling ZLibC gzclose.c
[25/106] Compiling ZLibC gzread.c
[26/106] Write sources
[30/106] Compiling ZLibC compress.c
[31/106] Compiling ZLibC adler32.c
[32/106] Compiling ZLibC zutil.c
[33/106] Compiling ZLibC crc32.c
[34/106] Compiling ZLibC deflate.c
[35/106] Compiling ZLibC uncompr.c
[36/106] Compiling ZLibC inftrees.c
[37/106] Compiling ZLibC trees.c
[37/106] Compiling ZLibC inflate.c
[39/106] Compiling ZLibC inffast.c
[40/106] Compiling ZLibC gzlib.c
[40/106] Compiling ZLibC gzwrite.c
[40/106] Compiling ZLibC infback.c
[43/106] Compiling ZLibC gzclose.c
[44/106] Compiling ZLibC gzread.c
[44/106] Write sources
[51/106] Copying icudtl.dat
[52/106] Compiling ZLibC compress.c
[52/106] Write sources
[62/106] Compiling ZLibC adler32.c
[63/106] Compiling ZLibC crc32.c
[64/106] Write embedded_resources.swift
[65/106] Write sources
[66/106] Compiling ZLibC deflate.c
[67/106] Compiling CSystem shims.c
/host/spi-builder-workspace/Sources/CSkia/utils.cpp:166:39: error: use of undeclared identifier 'fontMgr'
166 | collection->setDefaultFontManager(fontMgr);
| ^
1 error generated.
[68/106] Compiling CSkia utils.cpp
[68/106] Write swift-version-8C5A4AE7A8CE2BA.txt
BUILD FAILURE 6.2 android