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 Markup, reference main (1ae88d), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 04:27:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/Markup.git
Reference: main
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/SwiftDocOrg/Markup
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1ae88db Update README.md
Cloned https://github.com/SwiftDocOrg/Markup.git
Revision (git rev-parse @):
1ae88db3de6b549aec9cb45e6a88f675b51e2460
SUCCESS checkout https://github.com/SwiftDocOrg/Markup.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SwiftDocOrg/Markup.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/23] Compiling DOM ProcessingInstruction.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[9/24] Emitting module XSLT
[10/24] Compiling XSLT XSLT.swift
[11/25] Emitting module XInclude
[12/25] Compiling XInclude XInclude.swift
[13/25] Compiling DOM Node.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[15/26] Compiling DOM Element.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[16/26] Compiling DOM Error.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[17/26] Compiling DOM DocumentFragment.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[18/26] Compiling DOM DocumentType.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[19/26] Compiling DOM Comment.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[20/26] Compiling DOM Document.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[21/26] Compiling DOM String+Extensions.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[23/26] Compiling DOM Text.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/26] Emitting module DOM
/host/spi-builder-workspace/Sources/DOM/Builders/DOMBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 1 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 2 | public struct DOMBuilder {
 3 |
/host/spi-builder-workspace/Sources/DOM/Builders/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 1 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 2 | public struct StringBuilder {
 3 |     // MARK: buildBlock
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-markup.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[25/26] Compiling DOM DOMBuilder.swift
/host/spi-builder-workspace/Sources/DOM/Builders/DOMBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 1 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 2 | public struct DOMBuilder {
 3 |
/host/spi-builder-workspace/Sources/DOM/Builders/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 1 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 2 | public struct StringBuilder {
 3 |     // MARK: buildBlock
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-markup.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
[26/26] Compiling DOM StringBuilder.swift
/host/spi-builder-workspace/Sources/DOM/Builders/DOMBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 1 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 2 | public struct DOMBuilder {
 3 |
/host/spi-builder-workspace/Sources/DOM/Builders/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 1 | @_functionBuilder
   |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
 2 | public struct StringBuilder {
 3 |     // MARK: buildBlock
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-markup.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
 1 | #ifndef LIBXML2_MARKUP_H
 2 | #define LIBXML2_MARKUP_H
 3 | #include <libxml2/libxml/tree.h>
   |          `- error: 'libxml2/libxml/tree.h' file not found
 4 | #include <libxml2/libxml/xmlreader.h>
 5 | #include <libxml2/libxml/xpath.h>
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
 1 | import libxml2
   |        `- error: could not build C module 'libxml2'
 2 |
 3 | public final class Comment: Node {
BUILD FAILURE 6.2 wasm