The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftXMLCoder, reference v2.1.1 (efd062), with Swift 6.2 for Wasm on 6 Apr 2026 22:54:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MFranceschi6/swift-xml-coder.git
Reference: v2.1.1
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/MFranceschi6/swift-xml-coder
 * tag               v2.1.1     -> FETCH_HEAD
HEAD is now at efd062d :arrow_up: chore: bump actions/stale from 9 to 10 (#30)
Cloned https://github.com/MFranceschi6/swift-xml-coder.git
Revision (git rev-parse @):
efd062dd760218733ed4b552073417544e1a8b2f
SUCCESS checkout https://github.com/MFranceschi6/swift-xml-coder.git at v2.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MFranceschi6/swift-xml-coder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2222] Fetching swift-docc-plugin
[2223/8571] Fetching swift-docc-plugin, swift-log
[8572/83503] Fetching swift-docc-plugin, swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.66s)
[2248/74932] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.09s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.75s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (0.36s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.31s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Write sources
In file included from /host/spi-builder-workspace/Sources/SwiftXMLCoderCShim/SwiftXMLCoderCShim.c:1:
In file included from /host/spi-builder-workspace/Sources/SwiftXMLCoderCShim/include/SwiftXMLCoderCShim.h:4:
In file included from /usr/include/libxml2/libxml/parser.h:812:
/usr/include/libxml2/libxml/encoding.h:31:10: fatal error: 'unicode/ucnv.h' file not found
   31 | #include <unicode/ucnv.h>
      |          ^~~~~~~~~~~~~~~~
1 error generated.
[15/21] Compiling SwiftXMLCoderCShim SwiftXMLCoderCShim.c
[15/21] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm