Build Information
Failed to build XMLDocument, reference 1.0.0 (5b78bc
), with Swift 6.1 for Android on 30 May 2025 01:12:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kewlbear/XMLDocument.git
Reference: 1.0.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/kewlbear/XMLDocument
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 5b78bcc implemented basic functionality
Cloned https://github.com/kewlbear/XMLDocument.git
Revision (git rev-parse @):
5b78bcc99c3810ffdf099c00ce8fc50a20c37577
SUCCESS checkout https://github.com/kewlbear/XMLDocument.git at 1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/kewlbear/XMLDocument.git
https://github.com/kewlbear/XMLDocument.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "XMLDocument",
"name" : "XMLDocument",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XMLDocument",
"targets" : [
"XMLDocument"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "libxml2XMLDocument",
"module_type" : "SystemLibraryTarget",
"name" : "libxml2XMLDocument",
"path" : "Sources/libxml2",
"product_memberships" : [
"XMLDocument"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "XMLDocumentTests",
"module_type" : "SwiftTarget",
"name" : "XMLDocumentTests",
"path" : "Tests/XMLDocumentTests",
"sources" : [
"XCTestManifests.swift",
"XMLDocumentTests.swift"
],
"target_dependencies" : [
"XMLDocument"
],
"type" : "test"
},
{
"c99name" : "XMLDocument",
"module_type" : "SwiftTarget",
"name" : "XMLDocument",
"path" : "Sources/XMLDocument",
"product_memberships" : [
"XMLDocument"
],
"sources" : [
"XMLDocument.swift"
],
"target_dependencies" : [
"libxml2XMLDocument"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module XMLDocument
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:9: note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
| `- note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
14 | #include <stdio.h>
15 | #include <libxml/xmlversion.h>
16 | #include <libxml/tree.h>
| `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
17 | #include <libxml/HTMLparser.h>
18 |
/usr/include/libxml2/libxml/tree.h:1307:10: note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1305 | #endif
1306 | #ifndef __XML_PARSER_H__
1307 | #include <libxml/xmlmemory.h>
| `- note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1308 | #endif
1309 |
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
| `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
| `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
16 |
17 | #include <libxml/xmlversion.h>
18 | #include <libxml/parser.h>
| `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
19 | #include <libxml/xmlerror.h>
20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
810 | #endif
811 |
812 | #include <libxml/encoding.h>
| `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
813 | #include <libxml/xmlIO.h>
814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
29 | #endif
30 | #ifdef LIBXML_ICU_ENABLED
31 | #include <unicode/ucnv.h>
| `- error: 'unicode/ucnv.h' file not found
32 | #endif
33 | #ifdef __cplusplus
/host/spi-builder-workspace/Sources/XMLDocument/XMLDocument.swift:24:8: error: could not build C module 'libxml2XMLDocument'
22 |
23 | import Foundation
24 | import libxml2XMLDocument
| `- error: could not build C module 'libxml2XMLDocument'
25 |
26 | public enum XMLError: Error {
[4/4] Compiling XMLDocument XMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:9: note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
| `- note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
14 | #include <stdio.h>
15 | #include <libxml/xmlversion.h>
16 | #include <libxml/tree.h>
| `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
17 | #include <libxml/HTMLparser.h>
18 |
/usr/include/libxml2/libxml/tree.h:1307:10: note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1305 | #endif
1306 | #ifndef __XML_PARSER_H__
1307 | #include <libxml/xmlmemory.h>
| `- note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1308 | #endif
1309 |
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
| `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
| `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
16 |
17 | #include <libxml/xmlversion.h>
18 | #include <libxml/parser.h>
| `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
19 | #include <libxml/xmlerror.h>
20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
810 | #endif
811 |
812 | #include <libxml/encoding.h>
| `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
813 | #include <libxml/xmlIO.h>
814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
29 | #endif
30 | #ifdef LIBXML_ICU_ENABLED
31 | #include <unicode/ucnv.h>
| `- error: 'unicode/ucnv.h' file not found
32 | #endif
33 | #ifdef __cplusplus
/host/spi-builder-workspace/Sources/XMLDocument/XMLDocument.swift:24:8: error: could not build C module 'libxml2XMLDocument'
22 |
23 | import Foundation
24 | import libxml2XMLDocument
| `- error: could not build C module 'libxml2XMLDocument'
25 |
26 | public enum XMLError: Error {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module XMLDocument
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:9: note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
| `- note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
14 | #include <stdio.h>
15 | #include <libxml/xmlversion.h>
16 | #include <libxml/tree.h>
| `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
17 | #include <libxml/HTMLparser.h>
18 |
/usr/include/libxml2/libxml/tree.h:1307:10: note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1305 | #endif
1306 | #ifndef __XML_PARSER_H__
1307 | #include <libxml/xmlmemory.h>
| `- note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1308 | #endif
1309 |
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
| `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
| `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
16 |
17 | #include <libxml/xmlversion.h>
18 | #include <libxml/parser.h>
| `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
19 | #include <libxml/xmlerror.h>
20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
810 | #endif
811 |
812 | #include <libxml/encoding.h>
| `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
813 | #include <libxml/xmlIO.h>
814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
29 | #endif
30 | #ifdef LIBXML_ICU_ENABLED
31 | #include <unicode/ucnv.h>
| `- error: 'unicode/ucnv.h' file not found
32 | #endif
33 | #ifdef __cplusplus
/host/spi-builder-workspace/Sources/XMLDocument/XMLDocument.swift:24:8: error: could not build C module 'libxml2XMLDocument'
22 |
23 | import Foundation
24 | import libxml2XMLDocument
| `- error: could not build C module 'libxml2XMLDocument'
25 |
26 | public enum XMLError: Error {
[3/3] Compiling XMLDocument XMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:9: note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
| `- note: in file included from /host/spi-builder-workspace/Sources/libxml2/libxml2.h:1:
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
14 | #include <stdio.h>
15 | #include <libxml/xmlversion.h>
16 | #include <libxml/tree.h>
| `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/libxml2/libxml/HTMLtree.h:16:
17 | #include <libxml/HTMLparser.h>
18 |
/usr/include/libxml2/libxml/tree.h:1307:10: note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1305 | #endif
1306 | #ifndef __XML_PARSER_H__
1307 | #include <libxml/xmlmemory.h>
| `- note: in file included from /usr/include/libxml2/libxml/tree.h:1307:
1308 | #endif
1309 |
/usr/include/libxml2/libxml/xmlmemory.h:218:10: note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
216 | #ifndef __XML_GLOBALS_H
217 | #ifndef __XML_THREADS_H__
218 | #include <libxml/threads.h>
| `- note: in file included from /usr/include/libxml2/libxml/xmlmemory.h:218:
219 | #include <libxml/globals.h>
220 | #endif
/usr/include/libxml2/libxml/threads.h:35:10: note: in file included from /usr/include/libxml2/libxml/threads.h:35:
33 | }
34 | #endif
35 | #include <libxml/globals.h>
| `- note: in file included from /usr/include/libxml2/libxml/threads.h:35:
36 | #ifdef __cplusplus
37 | extern "C" {
/usr/include/libxml2/libxml/globals.h:18:10: note: in file included from /usr/include/libxml2/libxml/globals.h:18:
16 |
17 | #include <libxml/xmlversion.h>
18 | #include <libxml/parser.h>
| `- note: in file included from /usr/include/libxml2/libxml/globals.h:18:
19 | #include <libxml/xmlerror.h>
20 | #include <libxml/SAX2.h>
/usr/include/libxml2/libxml/parser.h:812:10: note: in file included from /usr/include/libxml2/libxml/parser.h:812:
810 | #endif
811 |
812 | #include <libxml/encoding.h>
| `- note: in file included from /usr/include/libxml2/libxml/parser.h:812:
813 | #include <libxml/xmlIO.h>
814 | #include <libxml/globals.h>
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
29 | #endif
30 | #ifdef LIBXML_ICU_ENABLED
31 | #include <unicode/ucnv.h>
| `- error: 'unicode/ucnv.h' file not found
32 | #endif
33 | #ifdef __cplusplus
/host/spi-builder-workspace/Sources/XMLDocument/XMLDocument.swift:24:8: error: could not build C module 'libxml2XMLDocument'
22 |
23 | import Foundation
24 | import libxml2XMLDocument
| `- error: could not build C module 'libxml2XMLDocument'
25 |
26 | public enum XMLError: Error {
BUILD FAILURE 6.1 android