The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectXML, reference 3.1.3 (977d27), with Swift 6.3 for Android on 10 Apr 2026 08:54:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-xml.git
Reference: 3.1.3
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/perfectlysoft/perfect-xml
 * tag               3.1.3      -> FETCH_HEAD
HEAD is now at 977d277 Updated import
Cloned https://github.com/perfectlysoft/perfect-xml.git
Revision (git rev-parse @):
977d27770b74f8e73653b9f569b7dac1bfea4150
SUCCESS checkout https://github.com/perfectlysoft/perfect-xml.git at 3.1.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/perfectlysoft/perfect-xml.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git
[1/89] Fetching perfect-libxml2
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git from cache (0.20s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.66s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-libxml2.git
Working copy of https://github.com/PerfectlySoft/Perfect-libxml2.git resolved at 3.0.1
warning: 'perfect-libxml2': ignoring declared target(s) 'libxml2' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libxml2' is not used by any target
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
[3/8] Compiling PerfectXML XPath.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/.build/checkouts/Perfect-libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module PerfectXML
<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/.build/checkouts/Perfect-libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[5/8] Compiling PerfectXML XMLDOM.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/.build/checkouts/Perfect-libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[6/8] Compiling PerfectXML XMLStream.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/.build/checkouts/Perfect-libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[7/8] Compiling PerfectXML SAX.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/.build/checkouts/Perfect-libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
[8/8] Compiling PerfectXML Codable.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/.build/checkouts/Perfect-libxml2/libxml2.h:4:10: error: 'libxml2/libxml/tree.h' file not found
 2 | #ifndef _libxml2_h_
 3 | #define _libxml2_h_
 4 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 5 | #include <libxml2/libxml/xmlreader.h>
 6 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/PerfectXML/SAX.swift:8:8: error: could not build C module 'perfectxml2'
  6 | //
  7 |
  8 | import perfectxml2
    |        `- error: could not build C module 'perfectxml2'
  9 |
 10 | public struct SAXError: Error {
BUILD FAILURE 6.3 android