The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ResponseDetective, reference 1.5.1 (f4c120), with Swift 6.1 for Android on 28 May 2025 08:54:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/netguru/ResponseDetective.git
https://github.com/netguru/ResponseDetective.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "exact" : [
          "3.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "exact" : [
          "9.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "exact" : [
          "9.1.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs.git"
    }
  ],
  "manifest_display_name" : "ResponseDetective",
  "name" : "ResponseDetective",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "ResponseDetective",
      "targets" : [
        "ResponseDetective",
        "ResponseDetectiveObjC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ResponseDetectiveTests",
      "module_type" : "SwiftTarget",
      "name" : "ResponseDetectiveTests",
      "path" : "ResponseDetective",
      "product_dependencies" : [
        "Quick",
        "Nimble",
        "OHHTTPStubs"
      ],
      "sources" : [
        "Tests/Additions/TestBodyDeserializer.swift",
        "Tests/Specs/BufferOutputFacilitySpec.swift",
        "Tests/Specs/ConsoleOutputFacilitySpec.swift",
        "Tests/Specs/ErrorRepresentationSpec.swift",
        "Tests/Specs/HTMLBodyDeserializerSpec.swift",
        "Tests/Specs/ImageBodyDeserializerSpec.swift",
        "Tests/Specs/JSONBodyDeserializerSpec.swift",
        "Tests/Specs/PlaintextBodyDeserializerSpec.swift",
        "Tests/Specs/RequestRepresentationSpec.swift",
        "Tests/Specs/ResponseDetectiveSpec.swift",
        "Tests/Specs/ResponseRepresentationSpec.swift",
        "Tests/Specs/URLEncodedBodyDeserializerSpec.swift",
        "Tests/Specs/XMLBodyDeserializerSpec.swift"
      ],
      "target_dependencies" : [
        "ResponseDetective",
        "ResponseDetectiveObjC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ResponseDetectiveObjC",
      "module_type" : "ClangTarget",
      "name" : "ResponseDetectiveObjC",
      "path" : "ResponseDetective",
      "product_memberships" : [
        "ResponseDetective"
      ],
      "sources" : [
        "Sources/RDTHTMLBodyDeserializer.m",
        "Sources/RDTXMLBodyDeserializer.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ResponseDetective",
      "module_type" : "SwiftTarget",
      "name" : "ResponseDetective",
      "path" : "ResponseDetective",
      "product_memberships" : [
        "ResponseDetective"
      ],
      "sources" : [
        "Sources/BufferOutputFacility.swift",
        "Sources/ConsoleOutputFacility.swift",
        "Sources/Dictionary.swift",
        "Sources/ErrorRepresentation.swift",
        "Sources/ImageBodyDeserializer.swift",
        "Sources/JSONBodyDeserializer.swift",
        "Sources/OutputFacility.swift",
        "Sources/PlaintextBodyDeserializer.swift",
        "Sources/RequestRepresentation.swift",
        "Sources/ResponseDetective.swift",
        "Sources/ResponseRepresentation.swift",
        "Sources/URLEncodedBodyDeserializer.swift",
        "Sources/URLProtocol.swift"
      ],
      "target_dependencies" : [
        "ResponseDetectiveObjC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/7900] Fetching ohhttpstubs
[475/22655] Fetching ohhttpstubs, quick
[19263/42239] Fetching ohhttpstubs, quick, nimble
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.55s)
[16322/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.52s)
Fetched https://github.com/Quick/Nimble.git from cache (1.54s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (2.15s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.67s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.0.0 (0.77s)
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
    8 | #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
    8 | #import <libxml/tree.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[1/4] Compiling RDTXMLBodyDeserializer.m
[1/4] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[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
    8 | #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
    8 | #import <libxml/tree.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling RDTXMLBodyDeserializer.m
[0/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android