The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResponseDetective with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/netguru/ResponseDetective.git
Reference: 1.5.1
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/netguru/ResponseDetective
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at f4c120e Merge pull request #64 from mattboran/feature/swiftpm
Cloned https://github.com/netguru/ResponseDetective.git
Revision (git rev-parse @):
f4c120ea136221cdb12e690bcc87cf987a66ef0f
SUCCESS checkout https://github.com/netguru/ResponseDetective.git at 1.5.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/netguru/ResponseDetective.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
[1/1236] Fetching cwlpreconditiontesting
[1237/1668] Fetching cwlpreconditiontesting, cwlcatchexception
[1669/9363] Fetching cwlpreconditiontesting, cwlcatchexception, ohhttpstubs
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.27s)
[3203/8127] Fetching cwlcatchexception, ohhttpstubs
[6282/22336] Fetching cwlcatchexception, ohhttpstubs, quick
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.42s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.43s)
[11510/14209] Fetching quick
[14210/31500] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.36s)
Fetched https://github.com/Quick/Nimble.git from cache (1.38s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.46s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.44s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.0.0 (0.51s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.0.0
Building for debugging...
[0/4] Write sources
/host/spi-builder-workspace/ResponseDetective/Sources/RDTXMLBodyDeserializer.m:8:9: fatal error: 'libxml/tree.h' file not found
#import <libxml/tree.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[1/4] Compiling RDTXMLBodyDeserializer.m
/host/spi-builder-workspace/ResponseDetective/Sources/RDTHTMLBodyDeserializer.m:8:9: fatal error: 'libxml/HTMLtree.h' file not found
#import <libxml/HTMLtree.h>
        ^~~~~~~~~~~~~~~~~~~
1 error generated.
[1/4] Compiling RDTHTMLBodyDeserializer.m
[1/4] Write swift-version-24593BA9C3E375BF.txt
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/ResponseDetective/Sources/RDTHTMLBodyDeserializer.m:8:9: fatal error: 'libxml/HTMLtree.h' file not found
#import <libxml/HTMLtree.h>
        ^~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling RDTHTMLBodyDeserializer.m
[0/3] Compiling RDTXMLBodyDeserializer.m
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1