The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Erik with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/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.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/phimage/Erik.git
Reference: 5.1.0
Cloned https://github.com/phimage/Erik.git into spi-builder-workspace
SUCCESS checkout https://github.com/phimage/Erik.git at 5.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/tid-kijyun/Kanna.git
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/nvzqz/FileKit.git
[1/4067] Fetching brightfutures
[42/6244] Fetching brightfutures, kanna
[695/9354] Fetching brightfutures, kanna, filekit
Fetched https://github.com/tid-kijyun/Kanna.git (0.85s)
Fetched https://github.com/nvzqz/FileKit.git (0.86s)
Fetched https://github.com/Thomvis/BrightFutures.git (0.87s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.0.0 (0.34s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.0.1 (0.59s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.0.0 (0.56s)
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.0.1
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.0.0
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.0.0
warning: you may be able to install libxml-2.0 using your system-packager:
    apt-get install libxml2-dev
Building for debugging...
[1/22] Compiling Kanna libxmlParserOption.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-kanna.h"
         ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
#import <libxml2/libxml/HTMLtree.h>
        ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:27:8: error: could not build C module 'libxmlKanna'
import libxmlKanna
       ^
[2/22] Compiling BrightFutures InvalidationToken.swift
[3/22] Compiling BrightFutures MutableAsyncType+ResultType.swift
[4/24] Compiling Kanna libxmlHTMLNode.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-kanna.h"
         ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
#import <libxml2/libxml/HTMLtree.h>
        ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:27:8: error: could not build C module 'libxmlKanna'
import libxmlKanna
       ^
[5/24] Compiling BrightFutures Promise.swift
[6/24] Compiling BrightFutures Result+BrightFutures.swift
[7/24] Compiling BrightFutures Dispatch+BrightFutures.swift
[8/24] Compiling BrightFutures Errors.swift
[9/24] Compiling BrightFutures ExecutionContext.swift
[10/24] Compiling BrightFutures Future.swift
[11/24] Compiling BrightFutures MutableAsyncType.swift
[12/24] Compiling BrightFutures NSOperationQueue+BrightFutures.swift
[13/24] Compiling BrightFutures AsyncType+ResultType.swift
[14/24] Compiling BrightFutures AsyncType.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/24] Emitting module Kanna
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-kanna.h"
         ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
#import <libxml2/libxml/HTMLtree.h>
        ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:27:8: error: could not build C module 'libxmlKanna'
import libxmlKanna
       ^
[16/24] Compiling Kanna CSS.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-kanna.h"
         ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
#import <libxml2/libxml/HTMLtree.h>
        ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:27:8: error: could not build C module 'libxmlKanna'
import libxmlKanna
       ^
[17/24] Compiling Kanna Deprecated.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-kanna.h"
         ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
#import <libxml2/libxml/HTMLtree.h>
        ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:27:8: error: could not build C module 'libxmlKanna'
import libxmlKanna
       ^
[18/24] Compiling Kanna Kanna.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-kanna.h"
         ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
#import <libxml2/libxml/HTMLtree.h>
        ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:27:8: error: could not build C module 'libxmlKanna'
import libxmlKanna
       ^
[19/24] Compiling Kanna libxmlHTMLDocument.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "libxml2-kanna.h"
         ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Modules/libxml2-kanna.h:1:9: error: 'libxml2/libxml/HTMLtree.h' file not found
#import <libxml2/libxml/HTMLtree.h>
        ^
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:27:8: error: could not build C module 'libxmlKanna'
import libxmlKanna
       ^
[20/24] Emitting module BrightFutures
[21/24] Compiling BrightFutures Async.swift
[22/24] Compiling BrightFutures AsyncType+Debug.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2