Build Information
Failed to build SwiftText, reference 2.7.0 (356439), with Swift 6.4 for Wasm on 10 Nov 2026 08:26:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/SwiftText.git
Reference: 2.7.0
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
* tag 2.7.0 -> FETCH_HEAD
HEAD is now at 356439c ci: cache vcpkg downloads and binary packages in build-windows-cli (#183) (#184)
Cloned https://github.com/Cocoanetics/SwiftText.git
Revision (git rev-parse @):
356439c9d2ebfc96afaf031d44b9534b9d18bca6
SUCCESS checkout https://github.com/Cocoanetics/SwiftText.git at 2.7.0
========================================
Build
========================================
Selected platform: wasm
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-54344849-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:439c9a525449f13061cf4a8f755895df6bdc90ef7885bc03630392396f826d74
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/Cocoanetics/XMLKit.git
Fetching https://github.com/swiftlang/swift-markdown.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
[162/52929] Fetching xmlkit, swift-archive, swift-markdown
[2784/72305] Fetching xmlkit, swift-archive, swift-markdown, swift-argument-parser
Fetched https://github.com/Cocoanetics/XMLKit.git (0.71s)
[36003/72145] Fetching swift-archive, swift-markdown, swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown.git (0.87s)
[35554/64313] Fetching swift-archive, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (2.07s)
Fetched https://github.com/marcprux/swift-archive.git (2.08s)
Computing version for https://github.com/marcprux/swift-archive.git
Computed https://github.com/marcprux/swift-archive.git at 3.8.9 (2.26s)
Computing version for https://github.com/Cocoanetics/XMLKit.git
Computed https://github.com/Cocoanetics/XMLKit.git at 1.0.1 (0.14s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.9.0 (0.19s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18685] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (1.26s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.9.0 (2.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
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/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/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/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]
[Pre-planning 1 / 1411]
[Planning deferred tasks]
[Starting]
[123 / 508] SwiftTextAttributedString
[174 / 508] cmark-gfm
[197 / 508] SwiftText_SwiftTextHTMLTests
[215 / 543] SwiftTextCSS
[216 / 552] Markdown
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:
[1m/usr/include/libxml2/libxml/encoding.h:31:10: [0m[0;1;31mfatal error: [0m[1m'unicode/ucnv.h' file not found[0m
31 | #include <unicode/ucnv.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-webassembly-wasm32/CHTMLParser-t.build/Objects-normal/wasm32/HTMLParserBridge.o /host/spi-builder-workspace/.build/checkouts/XMLKit/Sources/CHTMLParser/HTMLParserBridge.c normal wasm32 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-webassembly-wasm32/CHTMLParser-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-webassembly-wasm32/CHTMLParser-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-webassembly-wasm32/CHTMLParser-t.build/Objects-normal/wasm32/HTMLParserBridge.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/XMLKit.build/Debug-webassembly-wasm32/CHTMLParser-t.build/Objects-normal/wasm32/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-webassembly-wasm32/CHTMLParser-t.build/Objects-normal/wasm32/HTMLParserBridge.o
error: Build failed
BUILD FAILURE 6.4 wasm