The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Kanna, reference master (959ae6), with Swift 6.1 for Android on 31 May 2025 00:07:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/tid-kijyun/Kanna.git
Reference: master
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/tid-kijyun/Kanna
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 959ae69 Update README.md
Cloned https://github.com/tid-kijyun/Kanna.git
Revision (git rev-parse @):
959ae698674bba9d395f1481e60ab8f943daea3e
SUCCESS checkout https://github.com/tid-kijyun/Kanna.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tid-kijyun/Kanna.git
https://github.com/tid-kijyun/Kanna.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Kanna",
  "name" : "Kanna",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Kanna",
      "targets" : [
        "Kanna"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libxml2",
      "module_type" : "SystemLibraryTarget",
      "name" : "libxml2",
      "path" : "Modules",
      "product_memberships" : [
        "Kanna"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "KannaTests",
      "module_type" : "SwiftTarget",
      "name" : "KannaTests",
      "path" : "Tests/KannaTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/KannaTests/Data/libraries.xml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/KannaTests/Data/pptx-presentation.xml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/KannaTests/Data/pptx-presentation.xml.rels",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/KannaTests/Data/sample.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/KannaTests/Data/test_HTML4.html",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/KannaTests/Data/test_XML_ExcelWorkbook.xml",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/KannaTests/Data/versions.xml",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Bundle+.swift",
        "KannaCSSTests.swift",
        "KannaHTMLModifyingTests.swift",
        "KannaHTMLTests.swift",
        "KannaTutorialsTest.swift",
        "KannaXMLModifyingTests.swift",
        "KannaXMLTests.swift"
      ],
      "target_dependencies" : [
        "Kanna"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Kanna",
      "module_type" : "SwiftTarget",
      "name" : "Kanna",
      "path" : "Sources",
      "product_memberships" : [
        "Kanna"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Kanna/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Kanna/CSS.swift",
        "Kanna/Deprecated.swift",
        "Kanna/Kanna.swift",
        "Kanna/libxmlHTMLDocument.swift",
        "Kanna/libxmlHTMLNode.swift",
        "Kanna/libxmlParserOption.swift"
      ],
      "target_dependencies" : [
        "libxml2"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module Kanna
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[5/11] Compiling Kanna CSS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[6/11] Compiling Kanna libxmlHTMLNode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[7/11] Compiling Kanna libxmlParserOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[8/11] Compiling Kanna resource_bundle_accessor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[9/11] Compiling Kanna Kanna.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[10/11] Compiling Kanna libxmlHTMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[11/11] Compiling Kanna Deprecated.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[2/9] Compiling Kanna resource_bundle_accessor.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[3/9] Compiling Kanna libxmlParserOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[4/9] Compiling Kanna Kanna.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module Kanna
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[6/9] Compiling Kanna CSS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[7/9] Compiling Kanna libxmlHTMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[8/9] Compiling Kanna libxmlHTMLNode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
[9/9] Compiling Kanna Deprecated.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-kanna.h:1:9: note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.h:1:
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- note: in file included from /host/spi-builder-workspace/Modules/libxml2-kanna.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/Kanna/CSS.swift:26:8: error: could not build C module 'libxml2'
 24 | */
 25 | import Foundation
 26 | import libxml2
    |        `- error: could not build C module 'libxml2'
 27 |
 28 | typealias AKRegularExpression  = NSRegularExpression
BUILD FAILURE 6.1 android