The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftText, reference main (a19700), with Swift 6.4 for Android on 10 Nov 2026 08:26:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4
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 a19700b render → PDF (webkit): headings with ligatures are found by the PDF text locator (#244) (#245)
Cloned https://github.com/Cocoanetics/SwiftText.git
Revision (git rev-parse @):
a19700bacfb28043da5cf42282bee6591345a5be
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-53886769-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:6b43072510b376a3c4064be7d82ef70cb870a485f057a0e40e484dd4ba1d1fe3
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Cocoanetics/XMLKit.git
[1/160] Fetching xmlkit
Fetching https://github.com/marcprux/swift-archive.git
Fetching https://github.com/swiftlang/swift-markdown.git
Fetched https://github.com/Cocoanetics/XMLKit.git (0.39s)
[1/19376] Fetching swift-argument-parser
[19377/64313] Fetching swift-argument-parser, swift-archive
Fetched https://github.com/apple/swift-argument-parser (1.04s)
[8089/44937] Fetching swift-archive
[9438/52769] Fetching swift-archive, swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git (1.12s)
[20222/44937] Fetching swift-archive
Fetched https://github.com/marcprux/swift-archive.git (3.13s)
Computing version for https://github.com/marcprux/swift-archive.git
Computed https://github.com/marcprux/swift-archive.git at 3.8.9 (3.78s)
Computing version for https://github.com/Cocoanetics/XMLKit.git
Computed https://github.com/Cocoanetics/XMLKit.git at 1.0.1 (0.23s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.9.0 (0.35s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18685] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (1.77s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (3.20s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.26s)
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-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.9.0
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/Cocoanetics/XMLKit.git
Working copy of https://github.com/Cocoanetics/XMLKit.git resolved at 1.0.1
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
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 6 / 56]
[Pre-planning 1 / 1411]
[Planning 497 / 1411]
[Planning 1343 / 1411]
[Planning deferred tasks]
[Constructing 662 / 2950]
[Starting]
[6 / 535]
[160 / 535] Markdown
[189 / 535] cmark-gfm-extensions
[199 / 535] cmark-gfm
[205 / 535] cmark-gfm
[212 / 535] cmark-gfm
[227 / 542] SwiftTextPDFWriter
[234 / 543] SwiftTextOpenType
[236 / 554] SwiftTextCore
[239 / 557] SwiftTextCSS
[242 / 566] SwiftTextOpenType
[248 / 566] SwiftTextCore
[254 / 580] HTMLParser
[266 / 582] cmark-gfm
[269 / 582] ArgumentParserToolInfo
[278 / 582] SwiftTextPDFWriter-product
[279 / 582] SwiftTextPDFWriter
[287 / 582] SwiftTextCore
[288 / 582] SwiftTextCore-product
[289 / 582] SwiftTextCore-product
[293 / 583] SwiftTextCore
[294 / 583] SwiftTextCSS
[295 / 583] SwiftTextCSS-product
[297 / 584] SwiftTextOpenType
[300 / 584] SwiftTextPDFWriter
[301 / 584] Markdown
[302 / 584] Markdown-product
[303 / 584] Markdown-product
[305 / 584] SwiftTextMarkdown
[308 / 584] Markdown
[309 / 585] SwiftTextCSS
[311 / 585] SwiftTextCSS
[313 / 585] HTMLParser
[315 / 586] SwiftTextPDFWriter
[319 / 586] SwiftText_SwiftTextNumbersTests
[321 / 586]
[326 / 586]
[333 / 586] CAtomic
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.0/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-r30/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