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 Wasm on 31 May 2025 00:07:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 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:         wasm
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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)
[7/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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 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: error: 'libxml2/libxml/HTMLtree.h' file not found
1 | #import <libxml2/libxml/HTMLtree.h>
  |         `- error: 'libxml2/libxml/HTMLtree.h' file not found
2 | #import <libxml2/libxml/xpath.h>
3 | #import <libxml2/libxml/xpathInternals.h>
/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 wasm