The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Shaft, reference main (ea5299), with Swift 6.2 for Android on 22 Nov 2025 16:04:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 ea52999 Update SwiftReload version
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
ea52999447248fcb91096392dc95e2f1afece8ef
SPI manifest file found: $PWD/.spi.yml
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-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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/ShaftUI/Splash
[1/1351] Fetching splash
Fetched https://github.com/ShaftUI/Splash from cache (0.23s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/7002] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.72s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18247] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.36s)
Fetching https://github.com/ShaftUI/SwiftMath
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/ShaftUI/SwiftReload.git
Fetching https://github.com/onevcat/Rainbow
[1/773] Fetching swiftmath
[774/939] Fetching swiftmath, swiftreload
[940/3097] Fetching swiftmath, swiftreload, swift-docc-plugin
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.34s)
[253/2324] Fetching swiftreload, swift-docc-plugin
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.34s)
[217/3497] Fetching swift-docc-plugin, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.46s)
[518/2158] Fetching swift-docc-plugin
[2159/12929] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (0.64s)
[1616/10771] Fetching swift-collections
Fetching https://github.com/ShaftUI/SwiftSDL3
Fetched https://github.com/ShaftUI/swift-collections from cache (1.43s)
[1/3306] Fetching swiftsdl3
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (0.95s)
Computing version for https://github.com/ShaftUI/SwiftReload.git
Computed https://github.com/ShaftUI/SwiftReload.git at 0.0.1 (2.82s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/11263] Fetching yams
[6759/84244] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.61s)
[29923/72981] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.46s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (8.11s)
Computing version for https://github.com/ShaftUI/SwiftSDL3
Computed https://github.com/ShaftUI/SwiftSDL3 at 0.1.6 (0.46s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.45s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.13s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3580] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.35s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.91s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.51s)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (924936d)
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/ShaftUI/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.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
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/ShaftUI/SwiftReload.git
Working copy of https://github.com/ShaftUI/SwiftReload.git resolved at 0.0.1
Creating working copy for https://github.com/ShaftUI/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at 0.1.6
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (b2135f4)
Downloading binary artifact https://github.com/ShaftUI/skia-bundle/releases/download/build-126-3/skia-m126-6bfb13368b.artifactbundle.zip
[1397/127640819] Downloading https://github.com/ShaftUI/skia-bundle/releases/download/build-126-3/skia-m126-6bfb13368b.artifactbundle.zip
Downloaded https://github.com/ShaftUI/skia-bundle/releases/download/build-126-3/skia-m126-6bfb13368b.artifactbundle.zip (12.71s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.1-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.61s)
warning: 'swiftsdl3': Invalid Source '/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/src/joystick/steam': File not found.
warning: 'swiftsdl3': Invalid Source '/host/spi-builder-workspace/.build/checkouts/SwiftSDL3/Sources/SwiftSDL3/src/render/SDL_d3dmath.c': File not found.
[1/1] Compiling plugin BuilderPlugin
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/87] Write sources
[23/87] Compiling CAtomic CAtomic.c
[24/87] Write swift-version--6B0C4D200E742BB1.txt
[25/87] Compiling cmark-gfm arena.c
[26/87] Compiling cmark-gfm cmark_ctype.c
[27/87] Compiling cmark-gfm cmark.c
[28/87] Compiling cmark-gfm buffer.c
[29/87] Compiling cmark-gfm-extensions tagfilter.c
[30/87] Compiling cmark-gfm-extensions tasklist.c
[31/148] Compiling cmark-gfm blocks.c
[32/167] Compiling cmark-gfm-extensions strikethrough.c
[33/167] Compiling cmark-gfm-extensions table.c
[34/167] Compiling cmark-gfm-extensions ext_scanners.c
[35/167] Compiling cmark-gfm-extensions core-extensions.c
[36/167] Compiling cmark-gfm-extensions autolink.c
[37/167] Compiling cmark-gfm xml.c
[38/167] Compiling cmark-gfm syntax_extension.c
[39/167] Compiling cmark-gfm utf8.c
[40/167] Compiling cmark-gfm render.c
[41/167] Compiling cmark-gfm registry.c
[42/167] Compiling cmark-gfm references.c
[43/167] Compiling cmark-gfm scanners.c
[45/167] Emitting module InternalCollectionsUtilities
[45/169] Compiling cmark-gfm plugin.c
[46/169] Compiling cmark-gfm plaintext.c
[47/169] Compiling cmark-gfm map.c
[48/169] Compiling cmark-gfm man.c
[49/169] Compiling cmark-gfm linked_list.c
[50/169] Compiling cmark-gfm latex.c
[51/169] Compiling cmark-gfm node.c
[52/169] Compiling cmark-gfm inlines.c
[53/169] Compiling cmark-gfm iterator.c
[54/169] Compiling cmark-gfm html.c
[55/169] Compiling cmark-gfm houdini_html_e.c
[56/169] Compiling cmark-gfm houdini_href_e.c
[57/169] Compiling cmark-gfm footnotes.c
[58/169] Compiling cmark-gfm houdini_html_u.c
[59/169] Copying icudtl.dat
[60/169] Compiling cmark-gfm commonmark.c
[61/169] Write embedded_resources.swift
/host/spi-builder-workspace/Sources/CSkia/utils.cpp:166:39: error: use of undeclared identifier 'fontMgr'
  166 |     collection->setDefaultFontManager(fontMgr);
      |                                       ^
1 error generated.
[62/235] Compiling CSkia utils.cpp
BUILD FAILURE 6.2 android