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-4606859-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.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/phimage/Erik.git
Reference: master
Cloned https://github.com/phimage/Erik.git into spi-builder-workspace
SUCCESS checkout https://github.com/phimage/Erik.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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/nvzqz/FileKit.git
Fetching https://github.com/Thomvis/BrightFutures.git
[1/4067] Fetching brightfutures
[164/6244] Fetching brightfutures, kanna
[3022/9354] Fetching brightfutures, kanna, filekit
Fetched https://github.com/tid-kijyun/Kanna.git (0.75s)
Fetched https://github.com/nvzqz/FileKit.git (0.75s)
Fetched https://github.com/Thomvis/BrightFutures.git (0.78s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.0.0 (0.26s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.0.1 (0.25s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.0.0 (0.27s)
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
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.0.1
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 MutableAsyncType.swift
[3/22] Compiling BrightFutures NSOperationQueue+BrightFutures.swift
[4/22] Compiling BrightFutures Promise.swift
[5/22] Compiling BrightFutures Result+BrightFutures.swift
[6/22] 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
       ^
[7/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
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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
       ^
[9/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
       ^
[10/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
       ^
[11/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
       ^
[12/24] Compiling BrightFutures AsyncType+ResultType.swift
[13/24] Compiling BrightFutures AsyncType.swift
[14/24] Compiling BrightFutures Async.swift
[15/24] Compiling BrightFutures AsyncType+Debug.swift
[16/24] Emitting module BrightFutures
[17/24] Compiling BrightFutures ResultProtocol.swift
[18/24] Compiling BrightFutures SequenceType+BrightFutures.swift
[19/24] Compiling BrightFutures Dispatch+BrightFutures.swift
[20/24] Compiling BrightFutures Errors.swift
[21/24] Compiling BrightFutures ExecutionContext.swift
[22/24] Compiling BrightFutures Future.swift
[23/24] Compiling BrightFutures InvalidationToken.swift
[24/24] Compiling BrightFutures MutableAsyncType+ResultType.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1