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-0":/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: develop
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
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 55ec742 Merge pull request #69 from MinaShehata/fix/RD-67-some-request-canceled-when-RD-is-enabled
Cloned https://github.com/netguru/ResponseDetective.git
Revision (git rev-parse @):
55ec742268b86da5e293fa55eecb545e186303b1
SUCCESS checkout https://github.com/netguru/ResponseDetective.git at develop
========================================
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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/432] Fetching cwlcatchexception
[433/1668] Fetching cwlcatchexception, cwlpreconditiontesting
[1669/15877] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[2096/23572] Fetching cwlcatchexception, cwlpreconditiontesting, quick, ohhttpstubs
[23573/40863] Fetching cwlcatchexception, cwlpreconditiontesting, quick, ohhttpstubs, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.62s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.62s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (1.62s)
Fetched https://github.com/Quick/Quick.git from cache (1.62s)
Fetched https://github.com/Quick/Nimble.git from cache (1.64s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.42s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.42s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.0.0 (0.44s)
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/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/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/RDTHTMLBodyDeserializer.m:8:9: fatal error: 'libxml/HTMLtree.h' file not found
#import <libxml/HTMLtree.h>
        ^~~~~~~~~~~~~~~~~~~
1 error generated.
[1/4] Compiling RDTHTMLBodyDeserializer.m
/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
[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
/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.
[0/3] Compiling RDTXMLBodyDeserializer.m
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 1