Build Information
Failed to build Shaft, reference main (271df7
), with Swift 6.1 for Android on 4 Jun 2025 16:11:44 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.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 271df74 Handle app lifecycle state transitions between resumed and hidden
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
271df74b46931e65b446b45fcfbf36d6a995acd6
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ShaftUI/Shaft.git
https://github.com/ShaftUI/Shaft.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.GeDEke/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.9.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.XpaW2B/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:216:9: error: unexpected ',' separator
214 | // )
215 | // ]
216 | ),
| `- error: unexpected ',' separator
217 |
218 | .target(
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ShaftUI/SwiftSDL3
[1/1787] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (1.85s)
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.27s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/151] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.23s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/swiftwasm/JavaScriptKit
Fetching https://github.com/gregcotten/ZIPFoundationModern
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/1196] Fetching rainbow
[1197/11967] Fetching rainbow, swift-collections
[1951/22698] Fetching rainbow, swift-collections, yams
[3028/46111] Fetching rainbow, swift-collections, yams, javascriptkit
[5490/51302] Fetching rainbow, swift-collections, yams, javascriptkit, zipfoundationmodern
[38255/122038] Fetching rainbow, swift-collections, yams, javascriptkit, zipfoundationmodern, swift-syntax
Fetched https://github.com/swiftwasm/JavaScriptKit from cache (2.95s)
Fetched https://github.com/onevcat/Rainbow from cache (2.96s)
Fetching https://github.com/ShaftUI/SwiftMath
[74794/97429] Fetching swift-collections, yams, zipfoundationmodern, swift-syntax
Fetched https://github.com/ShaftUI/swift-collections from cache (2.98s)
[65438/86658] Fetching yams, zipfoundationmodern, swift-syntax
[78171/87431] Fetching yams, zipfoundationmodern, swift-syntax, swiftmath
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.36s)
[83122/86658] Fetching yams, zipfoundationmodern, swift-syntax
Fetched https://github.com/gregcotten/ZIPFoundationModern from cache (6.59s)
Fetched https://github.com/jpsim/Yams.git from cache (6.61s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.62s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (7.32s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.65s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.49s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.01s)
Computing version for https://github.com/gregcotten/ZIPFoundationModern
Computed https://github.com/gregcotten/ZIPFoundationModern at 0.0.5 (0.50s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/the-swift-collective/zlib
Fetching https://github.com/gregcotten/CSProgress
[1/239] Fetching csprogress
[240/4630] Fetching csprogress, swift-system
[3139/4678] Fetching csprogress, swift-system, zlib
Fetched https://github.com/the-swift-collective/zlib from cache (0.28s)
Fetched https://github.com/gregcotten/CSProgress from cache (0.34s)
Fetched https://github.com/apple/swift-system from cache (0.34s)
Computing version for https://github.com/gregcotten/CSProgress
Computed https://github.com/gregcotten/CSProgress at 0.0.1 (0.85s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.55s)
Computing version for https://github.com/swiftwasm/JavaScriptKit
Computed https://github.com/swiftwasm/JavaScriptKit at 0.29.0 (0.57s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.48s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.63s)
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at main (d33d998)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/swiftwasm/JavaScriptKit
Working copy of https://github.com/swiftwasm/JavaScriptKit resolved at 0.29.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/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.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.5.0
Creating working copy for https://github.com/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at main (587b067)
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/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
[6/106] Compiling ZLibC inftrees.c
[7/106] Compiling ZLibC uncompr.c
[8/106] Compiling ZLibC zutil.c
[9/106] Compiling ZLibC infback.c
[10/106] Compiling ZLibC inffast.c
[11/106] Compiling ZLibC inflate.c
[12/106] Compiling ZLibC gzwrite.c
[13/106] Compiling ZLibC gzread.c
[14/106] Compiling ZLibC gzclose.c
[15/106] Compiling ZLibC trees.c
[15/106] Write sources
[19/106] Compiling ZLibC gzlib.c
[19/106] Write sources
[23/106] Compiling ZLibC compress.c
[24/106] Compiling ZLibC crc32.c
[25/106] Compiling CSystem shims.c
[26/106] Compiling ZLibC adler32.c
[27/106] Compiling ZLibC zutil.c
[28/106] Compiling ZLibC deflate.c
[29/106] Compiling ZLibC uncompr.c
[30/106] Compiling ZLibC inftrees.c
[31/106] Compiling ZLibC inffast.c
[32/106] Compiling ZLibC trees.c
[33/106] Compiling ZLibC inflate.c
[34/106] Compiling ZLibC gzread.c
[35/106] Compiling ZLibC infback.c
[36/106] Compiling ZLibC gzwrite.c
[37/106] Compiling ZLibC gzlib.c
[38/106] Write sources
[44/106] Copying icudtl.dat
[45/106] Compiling ZLibC gzclose.c
[45/106] Write sources
[57/106] Compiling ZLibC compress.c
[57/106] Write sources
[62/106] Compiling ZLibC adler32.c
[63/106] Compiling CSystem shims.c
[64/106] Compiling ZLibC crc32.c
[65/106] Write embedded_resources.swift
[66/106] Write sources
[67/106] Compiling ZLibC deflate.c
[68/106] Write swift-version-24593BA9C3E375BF.txt
/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[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/43] Write swift-version-24593BA9C3E375BF.txt
[7/149] Emitting module ZLib
[8/149] Emitting module CSProgress
[9/149] Compiling ZLib ZLib.swift
[10/149] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[11/149] Compiling InternalCollectionsUtilities Specialize.swift
[12/149] Compiling InternalCollectionsUtilities Debugging.swift
[13/149] Compiling InternalCollectionsUtilities Descriptions.swift
[14/152] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/152] Compiling InternalCollectionsUtilities _UniqueCollection.swift
/host/spi-builder-workspace/Sources/CSkia/utils.cpp:166:39: error: use of undeclared identifier 'fontMgr'
166 | collection->setDefaultFontManager(fontMgr);
| ^
1 error generated.
[15/152] Compiling CSkia utils.cpp
[16/152] Emitting module InternalCollectionsUtilities
BUILD FAILURE 6.1 android