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 0.2.2 (e1fafe), with Swift 6.2 for Android on 22 Oct 2025 19:58:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 0.2.2
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
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at e1fafe0 Remove debug pritn
Cloned https://github.com/ShaftUI/Shaft.git
Revision (git rev-parse @):
e1fafe07bfc9293bcc71d4001a0e7d630092666c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ShaftUI/Shaft.git at 0.2.2
========================================
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-4609320-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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
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.35s)
Fetching https://github.com/ShaftUI/SwiftReload.git
[1/159] Fetching swiftreload
Fetched https://github.com/ShaftUI/SwiftReload.git from cache (0.27s)
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6946] Fetching swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.57s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18220] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.51s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/ShaftUI/SwiftSDL3
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ShaftUI/SwiftMath
[1/773] Fetching swiftmath
[774/2906] Fetching swiftmath, swift-docc-plugin
Fetched https://github.com/ShaftUI/SwiftMath from cache (0.58s)
Fetching https://github.com/jpsim/Yams.git
[235/2133] Fetching swift-docc-plugin
[300/5387] Fetching swift-docc-plugin, swiftsdl3
[3404/78013] Fetching swift-docc-plugin, swiftsdl3, swift-syntax
Fetched https://github.com/apple/swift-docc-plugin from cache (0.98s)
[2354/75880] Fetching swiftsdl3, swift-syntax
[4100/87149] Fetching swiftsdl3, swift-syntax, yams
Fetched https://github.com/ShaftUI/SwiftSDL3 from cache (2.06s)
[20624/83895] Fetching swift-syntax, yams
Fetched https://github.com/jpsim/Yams.git from cache (2.79s)
[50839/72626] Fetching swift-syntax
Fetching https://github.com/ShaftUI/swift-collections
Fetching https://github.com/onevcat/Rainbow
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.05s)
[1/1339] Fetching rainbow
[1340/12110] Fetching rainbow, swift-collections
Fetched https://github.com/onevcat/Rainbow from cache (1.01s)
Fetched https://github.com/ShaftUI/swift-collections from cache (1.03s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (11.71s)
Computing version for https://github.com/ShaftUI/swift-collections
Computed https://github.com/ShaftUI/swift-collections at 1.3.0 (0.87s)
Computing version for https://github.com/ShaftUI/SwiftSDL3
Computed https://github.com/ShaftUI/SwiftSDL3 at 0.1.1 (0.58s)
Computing version for https://github.com/ShaftUI/SwiftMath
Computed https://github.com/ShaftUI/SwiftMath at 3.4.0 (0.55s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.66s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3556] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.93s)
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/SwiftMath
Working copy of https://github.com/ShaftUI/SwiftMath resolved at 3.4.0
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/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at main (0186e80)
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/SwiftSDL3
Working copy of https://github.com/ShaftUI/SwiftSDL3 resolved at 0.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.4.5
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-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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/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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Downloading binary artifact https://github.com/ShaftUI/skia-bundle/releases/download/build-126-3/skia-m126-6bfb13368b.artifactbundle.zip
[1369/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.74s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.63s)
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
[9/87] Compiling cmark-gfm-extensions strikethrough.c
[10/87] Compiling cmark-gfm-extensions tagfilter.c
[11/87] Compiling cmark-gfm-extensions ext_scanners.c
[12/87] Compiling cmark-gfm-extensions table.c
[13/87] Compiling cmark-gfm-extensions tasklist.c
[14/87] Write swift-version--11D90AFD9DD3AB2.txt
[15/87] Compiling cmark-gfm-extensions core-extensions.c
[16/87] Compiling cmark-gfm xml.c
[17/87] Compiling cmark-gfm syntax_extension.c
[18/87] Compiling cmark-gfm-extensions autolink.c
[19/87] Compiling cmark-gfm render.c
[20/87] Compiling cmark-gfm plugin.c
[21/89] Compiling cmark-gfm references.c
[22/89] Compiling cmark-gfm plaintext.c
[23/89] Compiling cmark-gfm registry.c
[24/89] Compiling cmark-gfm utf8.c
[25/89] Compiling cmark-gfm man.c
[25/89] Compiling cmark-gfm map.c
[27/89] Compiling cmark-gfm linked_list.c
[28/89] Compiling cmark-gfm latex.c
[29/89] Compiling cmark-gfm iterator.c
[30/89] Compiling cmark-gfm node.c
[31/89] Compiling cmark-gfm html.c
[32/89] Compiling cmark-gfm houdini_href_e.c
[33/89] Compiling cmark-gfm houdini_html_e.c
[34/89] Compiling cmark-gfm scanners.c
[35/89] Compiling cmark-gfm footnotes.c
[36/89] Compiling cmark-gfm cmark_ctype.c
[37/89] Compiling cmark-gfm cmark.c
[38/89] Compiling cmark-gfm commonmark.c
[38/89] Write sources
[43/89] Copying icudtl.dat
[44/89] Compiling cmark-gfm inlines.c
[45/89] Compiling cmark-gfm buffer.c
[46/89] Compiling cmark-gfm houdini_html_u.c
[47/89] Write sources
[48/89] Compiling cmark-gfm arena.c
[49/89] Write sources
[52/132] Compiling cmark-gfm blocks.c
[53/132] Write sources
[58/133] Write embedded_resources.swift
[59/167] Compiling CAtomic CAtomic.c
[60/167] Write sources
[62/233] Emitting module InternalCollectionsUtilities
/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