The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Markup with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftDocOrg/Markup.git
Reference: main
Cloned https://github.com/SwiftDocOrg/Markup.git into spi-builder-workspace
SUCCESS checkout https://github.com/SwiftDocOrg/Markup.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
warning: you may be able to install libxml-2.0 using your system-packager:
    apt-get install libxml2-dev
Building for debugging...
[1/16] Emitting module XSLT
[2/16] Compiling XSLT XSLT.swift
[4/18] Compiling DOM Element.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[5/18] Compiling DOM Error.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[7/19] Compiling DOM Text.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/19] Compiling DOM DOMBuilder.swift
/host/spi-builder-workspace/Sources/DOM/Builders/DOMBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
/host/spi-builder-workspace/Sources/DOM/Builders/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-markup.h"
         ^
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[9/19] Compiling DOM StringBuilder.swift
/host/spi-builder-workspace/Sources/DOM/Builders/DOMBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
/host/spi-builder-workspace/Sources/DOM/Builders/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-markup.h"
         ^
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[10/19] Emitting module DOM
/host/spi-builder-workspace/Sources/DOM/Builders/DOMBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
/host/spi-builder-workspace/Sources/DOM/Builders/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
@_functionBuilder
 ^~~~~~~~~~~~~~~~
 resultBuilder
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-markup.h"
         ^
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[11/19] Emitting module XInclude
[12/19] Compiling XInclude XInclude.swift
[15/21] Compiling DOM Node.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[16/21] Compiling DOM String+Extensions.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[17/21] Compiling DOM ProcessingInstruction.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[18/21] Compiling DOM DocumentFragment.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[19/21] Compiling DOM DocumentType.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[20/21] Compiling DOM Comment.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
[21/21] Compiling DOM Document.swift
/host/spi-builder-workspace/Modules/libxml2-markup.h:3:10: error: 'libxml2/libxml/tree.h' file not found
#include <libxml2/libxml/tree.h>
         ^
/host/spi-builder-workspace/Sources/DOM/Comment.swift:1:8: error: could not build C module 'libxml2'
import libxml2
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1