Build Information
Failed to build SwiftLibXML, reference 3.0.1 (8bd2a0), with Swift 6.3 for Linux on 19 Apr 2026 02:49:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/SwiftLibXML.git
Reference: 3.0.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/rhx/SwiftLibXML
* tag 3.0.1 -> FETCH_HEAD
HEAD is now at 8bd2a0c Merge development into main for release
Cloned https://github.com/rhx/SwiftLibXML.git
Revision (git rev-parse @):
8bd2a0ca8c010de20f2781d2f0ff406d8b0497d5
SUCCESS checkout https://github.com/rhx/SwiftLibXML.git at 3.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/rhx/SwiftLibXML.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling SwiftLibXML XMLNameSpace.swift
/usr/lib/swift/_foundation_unicode/utypes.h:511:14: error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
509 | * @stable ICU 2.0
510 | */
511 | typedef enum UErrorCode {
| `- error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
512 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
513 | * and is that way because VC++ debugger displays first encountered constant,
/usr/include/unicode/utypes.h:415:14: note: but in 'CLibXML2' found enum with 163 elements
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: but in 'CLibXML2' found enum with 163 elements
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
[4/9] Compiling SwiftLibXML XMLPath.swift
/usr/lib/swift/_foundation_unicode/utypes.h:511:14: error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
509 | * @stable ICU 2.0
510 | */
511 | typedef enum UErrorCode {
| `- error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
512 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
513 | * and is that way because VC++ debugger displays first encountered constant,
/usr/include/unicode/utypes.h:415:14: note: but in 'CLibXML2' found enum with 163 elements
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: but in 'CLibXML2' found enum with 163 elements
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
[5/9] Compiling SwiftLibXML XMLElement.swift
/usr/lib/swift/_foundation_unicode/utypes.h:511:14: error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
509 | * @stable ICU 2.0
510 | */
511 | typedef enum UErrorCode {
| `- error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
512 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
513 | * and is that way because VC++ debugger displays first encountered constant,
/usr/include/unicode/utypes.h:415:14: note: but in 'CLibXML2' found enum with 163 elements
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: but in 'CLibXML2' found enum with 163 elements
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
[6/9] Emitting module SwiftLibXML
/host/spi-builder-workspace/Sources/SwiftLibXML/XMLDocument.swift:116:1: warning: extension declares a conformance of imported type 'xmlParserOption' to imported protocols 'OptionSet', 'SetAlgebra', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CLibXML2' introduce this conformance in the future
114 | }
115 |
116 | extension XMLDocument.ParserOptions: OptionSet {
| |- warning: extension declares a conformance of imported type 'xmlParserOption' to imported protocols 'OptionSet', 'SetAlgebra', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CLibXML2' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | /// Recover on errors
118 | public static let recover = XML_PARSE_RECOVER
[7/9] Compiling SwiftLibXML XMLAttribute.swift
[8/9] Compiling SwiftLibXML EmptySequence.swift
/usr/lib/swift/_foundation_unicode/utypes.h:511:14: error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
509 | * @stable ICU 2.0
510 | */
511 | typedef enum UErrorCode {
| `- error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
512 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
513 | * and is that way because VC++ debugger displays first encountered constant,
/usr/include/unicode/utypes.h:415:14: note: but in 'CLibXML2' found enum with 163 elements
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: but in 'CLibXML2' found enum with 163 elements
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
[9/9] Compiling SwiftLibXML XMLDocument.swift
/host/spi-builder-workspace/Sources/SwiftLibXML/XMLDocument.swift:116:1: warning: extension declares a conformance of imported type 'xmlParserOption' to imported protocols 'OptionSet', 'SetAlgebra', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CLibXML2' introduce this conformance in the future
114 | }
115 |
116 | extension XMLDocument.ParserOptions: OptionSet {
| |- warning: extension declares a conformance of imported type 'xmlParserOption' to imported protocols 'OptionSet', 'SetAlgebra', 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'CLibXML2' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
117 | /// Recover on errors
118 | public static let recover = XML_PARSE_RECOVER
/usr/lib/swift/_foundation_unicode/utypes.h:511:14: error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
509 | * @stable ICU 2.0
510 | */
511 | typedef enum UErrorCode {
| `- error: 'UErrorCode' has different definitions in different modules; definition in module '_FoundationICU' first difference is enum with 175 elements
512 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
513 | * and is that way because VC++ debugger displays first encountered constant,
/usr/include/unicode/utypes.h:415:14: note: but in 'CLibXML2' found enum with 163 elements
413 | * @stable ICU 2.0
414 | */
415 | typedef enum UErrorCode {
| `- note: but in 'CLibXML2' found enum with 163 elements
416 | /* The ordering of U_ERROR_INFO_START Vs U_USING_FALLBACK_WARNING looks weird
417 | * and is that way because VC++ debugger displays first encountered constant,
BUILD FAILURE 6.3 linux