The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HPNetwork, reference 4.0.1 (a46290), with Swift 6.1 for Android on 29 May 2025 08:25:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/henrik-dmg/HPNetwork.git
Reference: 4.0.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/henrik-dmg/HPNetwork
 * tag               4.0.1      -> FETCH_HEAD
HEAD is now at a462903 Better Documentation (#5)
Cloned https://github.com/henrik-dmg/HPNetwork.git
Revision (git rev-parse @):
a4629039573f695f97fc044032c4e654b40671b0
SUCCESS checkout https://github.com/henrik-dmg/HPNetwork.git at 4.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/henrik-dmg/HPNetwork.git
https://github.com/henrik-dmg/HPNetwork.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types.git"
    }
  ],
  "manifest_display_name" : "HPNetwork",
  "name" : "HPNetwork",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "HPNetwork",
      "targets" : [
        "HPNetwork"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HPNetworkMock",
      "targets" : [
        "HPNetworkMock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HPNetworkTests",
      "module_type" : "SwiftTarget",
      "name" : "HPNetworkTests",
      "path" : "Tests/HPNetworkTests",
      "sources" : [
        "AuthorizationTests.swift",
        "ConnectionMonitorTests.swift",
        "DataRequestTests.swift",
        "DownloadRequestTests.swift",
        "HTTPFieldBuilderTests.swift",
        "Helpers/BasicDataRequest.swift",
        "Helpers/BasicDecodableRequest.swift",
        "Helpers/BasicDownloadRequest.swift",
        "Helpers/FaultyRequest.swift",
        "NetworkClientMockTests.swift",
        "NetworkRequestTests.swift"
      ],
      "target_dependencies" : [
        "HPNetwork",
        "HPNetworkMock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HPNetworkMock",
      "module_type" : "SwiftTarget",
      "name" : "HPNetworkMock",
      "path" : "Sources/HPNetworkMock",
      "product_memberships" : [
        "HPNetworkMock"
      ],
      "sources" : [
        "NetworkClientMock.swift",
        "URLSessionMock.swift"
      ],
      "target_dependencies" : [
        "HPNetwork"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HPNetwork",
      "module_type" : "SwiftTarget",
      "name" : "HPNetwork",
      "path" : "Sources/HPNetwork",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "product_memberships" : [
        "HPNetwork",
        "HPNetworkMock"
      ],
      "sources" : [
        "Authorization/Authorization.swift",
        "Authorization/BasicAuthorization.swift",
        "Authorization/BearerAuthorization.swift",
        "ConnectionMonitor.swift",
        "HTTPTypes+Proxy.swift",
        "Header Fields/ContentType+HTTPField.swift",
        "Header Fields/HTTPFieldBuilder.swift",
        "NetworkClient.swift",
        "Requests/DataRequest.swift",
        "Requests/DecodableRequest.swift",
        "Requests/DownloadRequest.swift",
        "Requests/NetworkRequest.swift",
        "Responses/NetworkResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/apple/swift-http-types.git
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.25s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.39s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/13] Compiling HTTPTypes ISOLatin1String.swift
[7/14] Compiling HTTPTypes HTTPRequest.swift
[8/14] Compiling HTTPTypes HTTPResponse.swift
[9/14] Compiling HTTPTypes HTTPParsedFields.swift
[10/14] Compiling HTTPTypes NIOLock.swift
[11/14] Emitting module HTTPTypes
[12/14] Compiling HTTPTypes HTTPField.swift
[13/14] Compiling HTTPTypes HTTPFields.swift
[14/14] Compiling HTTPTypes HTTPFieldName.swift
[16/21] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[17/21] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[18/21] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[19/21] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[20/21] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[21/21] Emitting module HTTPTypesFoundation
[23/35] Compiling HPNetwork HTTPFieldBuilder.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[24/35] Compiling HPNetwork NetworkClient.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[25/35] Compiling HPNetwork DataRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[26/35] Compiling HPNetwork DecodableRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/36] Compiling HPNetwork HTTPTypes+Proxy.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[28/36] Compiling HPNetwork ContentType+HTTPField.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[29/36] Emitting module HPNetwork
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[30/36] Compiling HPNetwork Authorization.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[31/36] Compiling HPNetwork BasicAuthorization.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[32/36] Compiling HPNetwork BearerAuthorization.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[33/36] Compiling HPNetwork ConnectionMonitor.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[34/36] Compiling HPNetwork DownloadRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[35/36] Compiling HPNetwork NetworkRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[36/36] Compiling HPNetwork NetworkResponse.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling HTTPTypes HTTPParsedFields.swift
[3/10] Compiling HTTPTypes ISOLatin1String.swift
[4/10] Emitting module HTTPTypes
[5/10] Compiling HTTPTypes NIOLock.swift
[6/10] Compiling HTTPTypes HTTPField.swift
[7/10] Compiling HTTPTypes HTTPRequest.swift
[8/10] Compiling HTTPTypes HTTPResponse.swift
[9/10] Compiling HTTPTypes HTTPFieldName.swift
[10/10] Compiling HTTPTypes HTTPFields.swift
[12/17] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[13/17] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[14/17] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[15/17] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[16/17] Emitting module HTTPTypesFoundation
[17/17] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[19/31] Compiling HPNetwork BearerAuthorization.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[20/31] Compiling HPNetwork ConnectionMonitor.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[21/31] Compiling HPNetwork HTTPTypes+Proxy.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[22/31] Compiling HPNetwork ContentType+HTTPField.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[23/32] Compiling HPNetwork HTTPFieldBuilder.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[24/32] Compiling HPNetwork NetworkClient.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[25/32] Compiling HPNetwork Authorization.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[26/32] Compiling HPNetwork BasicAuthorization.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/32] Emitting module HPNetwork
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[28/32] Compiling HPNetwork NetworkRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[29/32] Compiling HPNetwork DataRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[30/32] Compiling HPNetwork DecodableRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[31/32] Compiling HPNetwork DownloadRequest.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
[32/32] Compiling HPNetwork NetworkResponse.swift
/host/spi-builder-workspace/Sources/HPNetwork/ConnectionMonitor.swift:2:8: error: no such module 'Network'
 1 | import Foundation
 2 | import Network
   |        `- error: no such module 'Network'
 3 |
 4 | public final class ConnectionMonitor: ObservableObject {
BUILD FAILURE 6.1 android