The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftText, reference main (15e176), with Swift 6.4 for Android on 5 Oct 2026 08:20:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/SwiftText.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/Cocoanetics/SwiftText
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 15e176a Pages: keep a box's top padding when it opens a page (#117)
Cloned https://github.com/Cocoanetics/SwiftText.git
Revision (git rev-parse @):
15e176a1910ece26c87468e151714f6253a6b385
SUCCESS checkout https://github.com/Cocoanetics/SwiftText.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Cocoanetics/SwiftText.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/Cocoanetics/XMLKit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/marcprux/swift-archive.git
[1/160] Fetching xmlkit
[161/45097] Fetching xmlkit, swift-archive
[7801/64149] Fetching xmlkit, swift-archive, swift-argument-parser
Fetching https://github.com/swiftlang/swift-markdown.git
[64150/71912] Fetching xmlkit, swift-archive, swift-argument-parser, swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git (0.89s)
Fetched https://github.com/Cocoanetics/XMLKit.git (2.10s)
Fetched https://github.com/apple/swift-argument-parser (2.11s)
Fetched https://github.com/marcprux/swift-archive.git (2.12s)
Computing version for https://github.com/marcprux/swift-archive.git
Computed https://github.com/marcprux/swift-archive.git at 3.8.9 (2.40s)
Computing version for https://github.com/Cocoanetics/XMLKit.git
Computed https://github.com/Cocoanetics/XMLKit.git at 1.0.1 (0.24s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.9.0 (0.27s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18613] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (0.93s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (2.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Creating working copy for https://github.com/marcprux/swift-archive.git
Working copy of https://github.com/marcprux/swift-archive.git resolved at 3.8.9
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.9.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.0
Creating working copy for https://github.com/Cocoanetics/XMLKit.git
Working copy of https://github.com/Cocoanetics/XMLKit.git resolved at 1.0.1
warning: 'swift-archive': you may be able to install libzstd using your system-packager:
    apt-get install libzstd-dev
warning: 'swift-archive': you may be able to install liblzma using your system-packager:
    apt-get install liblzma-dev
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 56]
[Pre-planning 1 / 1411]
[Planning 919 / 1411]
[Planning deferred tasks]
[Constructing 1586 / 2950]
[149 / 535] HTMLParser
[191 / 535] cmark-gfm
[202 / 535] cmark-gfm
[209 / 535] cmark-gfm
[225 / 536] SwiftTextPDFWriter
[242 / 566] HTMLParser
[244 / 571] Markdown
[246 / 579] Markdown
[247 / 579] SwiftTextCore
[259 / 579] SwiftTextPDFWriter
[269 / 579] SwiftTextCSS
[271 / 579] SwiftTextCSS
[281 / 579] SwiftTextOpenType-product
[283 / 579] SwiftTextOpenType-product
[285 / 579] SwiftTextCore-product
[286 / 579] SwiftTextCore-product
[290 / 580] SwiftTextCSS
[295 / 580] SwiftTextCSS
[296 / 581] SwiftTextCore
[297 / 582] SwiftTextOpenType
[301 / 582] SwiftTextOpenType
[302 / 582] Markdown-product
[304 / 582] SwiftTextMarkdown
[305 / 582] SwiftTextMarkdown
[307 / 582] Markdown
[308 / 583] SwiftTextCSS
[309 / 583] HTMLParser
[311 / 583] HTMLParser
[312 / 583] HTMLParser-product
[315 / 584] SwiftTextOpenType
[317 / 584] SwiftTextCSS
[320 / 586] ArgumentParserToolInfo
In file included from /host/spi-builder-workspace/.build/checkouts/XMLKit/Sources/CHTMLParser/HTMLParserBridge.c:6:
In file included from /usr/include/libxml2/libxml/HTMLparser.h:16:
In file included from /usr/include/libxml2/libxml/parser.h:814:
/usr/include/libxml2/libxml/encoding.h:31:10: fatal error: 'unicode/ucnv.h' file not found
   31 | #include <unicode/ucnv.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-android-aarch64/CHTMLParser-t.build/Objects-normal/aarch64/HTMLParserBridge.o /host/spi-builder-workspace/.build/checkouts/XMLKit/Sources/CHTMLParser/HTMLParserBridge.c normal aarch64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-android-aarch64/CHTMLParser-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-android-aarch64/CHTMLParser-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-android-aarch64/CHTMLParser-t.build/Objects-normal/aarch64/HTMLParserBridge.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-android-aarch64/CHTMLParser-t.build/Objects-normal/aarch64/HTMLParserBridge.dia -c /host/spi-builder-workspace/.build/checkouts/XMLKit/Sources/CHTMLParser/HTMLParserBridge.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-android-aarch64/CHTMLParser-t.build/Objects-normal/aarch64/HTMLParserBridge.o
error: Build failed
BUILD FAILURE 6.4 android