The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HPNetwork, reference 4.0.1 (a46290), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 15:53:32 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/henrik-dmg/HPNetwork.git
Reference: 4.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/henrik-dmg/HPNetwork.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[38 / 72]
[39 / 73] HTTPTypes
[49 / 118]
[54 / 118]
[57 / 118]
[58 / 118]
[62 / 118]
[64 / 118]
[67 / 118]
[70 / 118]
[72 / 118]
[73 / 118]
[84 / 118] HTTPTypes
[90 / 118] HTTPTypes
[91 / 119] HTTPTypes
[91 / 119] HTTPTypesFoundation
[97 / 125] HTTPTypesFoundation
[104 / 126] HPNetwork
[113 / 175]
[116 / 175]
[119 / 175]
[127 / 175]
[128 / 175]
[132 / 175]
[134 / 175]
[138 / 175]
[142 / 175]
[144 / 175]
[145 / 175]
[157 / 175] HPNetwork
[164 / 176] HPNetwork
[167 / 176] HPNetworkMock
[179 / 209]
[185 / 209]
[188 / 209]
[190 / 209]
[192 / 209]
[193 / 209]
[196 / 209]
[197 / 209]
[200 / 209] HPNetworkMock
[206 / 209] HPNetworkMock
Build complete! (12.45 sec)
Fetching https://github.com/apple/swift-http-types.git
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (1.04s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (1.69s)
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.8.0
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:114:28: warning: capture of 'result' with non-Sendable type 'Result<NetworkResponse<Self.Output>, any Error>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
112 |             let result = await result(urlSession: urlSession, delegate: delegate)
113 |             finishingQueue.async {
114 |                 completion(result)
    |                            `- warning: capture of 'result' with non-Sendable type 'Result<NetworkResponse<Self.Output>, any Error>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
115 |             }
116 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Responses/NetworkResponse.swift:5:15: note: consider making generic struct 'NetworkResponse' conform to the 'Sendable' protocol
 3 |
 4 | /// A wrapper type representing the result of a network request.
 5 | public struct NetworkResponse<Output> {
   |               `- note: consider making generic struct 'NetworkResponse' conform to the 'Sendable' protocol
 6 |
 7 |     /// The actual output of the network request.
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:77:28: warning: capture of 'result' with non-Sendable type 'Result<NetworkResponse<URL>, any Error>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
75 |             let result = await result(urlSession: urlSession, delegate: delegate)
76 |             finishingQueue.async {
77 |                 completion(result)
   |                            `- warning: capture of 'result' with non-Sendable type 'Result<NetworkResponse<URL>, any Error>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
78 |             }
79 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Responses/NetworkResponse.swift:5:15: note: consider making generic struct 'NetworkResponse' conform to the 'Sendable' protocol
 3 |
 4 | /// A wrapper type representing the result of a network request.
 5 | public struct NetworkResponse<Output> {
   |               `- note: consider making generic struct 'NetworkResponse' conform to the 'Sendable' protocol
 6 |
 7 |     /// The actual output of the network request.
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/HPNetworkMock/NetworkClientMock.swift:71:28: warning: capture of 'result' with non-Sendable type 'Result<NetworkResponse<Request.Output>, any Error>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
69 |             let result = await result(request, delegate: delegate)
70 |             finishingQueue.async {
71 |                 completion(result)
   |                            `- warning: capture of 'result' with non-Sendable type 'Result<NetworkResponse<Request.Output>, any Error>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
72 |             }
73 |         }
HPNetwork.NetworkResponse:1:15: note: generic struct 'NetworkResponse' does not conform to the 'Sendable' protocol
1 | public struct NetworkResponse<Output> {
  |               `- note: generic struct 'NetworkResponse' does not conform to the 'Sendable' protocol
2 |     public let output: Output
3 |     public let response: HTTPTypes.HTTPResponse
/Users/admin/builder/spi-builder-workspace/Sources/HPNetworkMock/NetworkClientMock.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HPNetwork' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 1 | import Foundation
 2 | import HPNetwork
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HPNetwork' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 3 | import HTTPTypes
 4 |
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete.
{
  "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" : "/Users/admin/builder/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"
}
Done.