Build Information
Successful build of HPNetwork, reference main (1bfc33
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 11:31:30 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/henrik-dmg/HPNetwork.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/henrik-dmg/HPNetwork
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1bfc33b Update dependencies
Cloned https://github.com/henrik-dmg/HPNetwork.git
Revision (git rev-parse @):
1bfc33b997bbbf9f76aab135b09c612eaf8aefbe
SUCCESS checkout https://github.com/henrik-dmg/HPNetwork.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/henrik-dmg/HPNetwork.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/14] Compiling HTTPTypes HTTPField.swift
[7/14] Emitting module HTTPTypes
[8/14] Compiling HTTPTypes HTTPFieldName.swift
[9/14] Compiling HTTPTypes HTTPResponse.swift
[10/14] Compiling HTTPTypes HTTPParsedFields.swift
[11/14] Compiling HTTPTypes HTTPRequest.swift
[12/14] Compiling HTTPTypes HTTPFields.swift
[13/14] Compiling HTTPTypes NIOLock.swift
[14/14] Compiling HTTPTypes ISOLatin1String.swift
[15/20] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[16/20] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[17/20] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[18/20] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[19/20] Emitting module HTTPTypesFoundation
[20/20] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[21/33] Compiling HPNetwork DownloadRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:80:32: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 | ) -> Task<Void, Never> {
79 | Task {
80 | let result = await result(urlSession: urlSession, delegate: delegate)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 | finishingQueue.async {
82 | completion(result)
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:73:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public func schedule(
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | urlSession: URLSession,
75 | delegate: (any URLSessionTaskDelegate)?,
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:82:28: warning: capture of 'result' with non-sendable type 'Result<NetworkResponse<URL>, any Error>' in a '@Sendable' closure [#SendableClosureCaptures]
80 | let result = await result(urlSession: urlSession, delegate: delegate)
81 | finishingQueue.async {
82 | completion(result)
| `- warning: capture of 'result' with non-sendable type 'Result<NetworkResponse<URL>, any Error>' in a '@Sendable' closure [#SendableClosureCaptures]
83 | }
84 | }
/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.
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DownloadRequest.swift:77:9: warning: capture of non-sendable type 'Self.Type' in an isolated closure
75 | delegate: (any URLSessionTaskDelegate)?,
76 | finishingQueue: DispatchQueue = .main,
77 | completion: @escaping (RequestResult) -> Void
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
78 | ) -> Task<Void, Never> {
79 | Task {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[22/33] Compiling HPNetwork NetworkRequest.swift
[23/34] Compiling HPNetwork NetworkClient.swift
[24/34] Compiling HPNetwork DecodableRequest.swift
[25/34] Compiling HPNetwork HTTPTypes+Proxy.swift
[26/34] Compiling HPNetwork ContentType+HTTPField.swift
[27/34] Compiling HPNetwork DataRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:118:32: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
116 | ) -> Task<Void, Never> {
117 | Task {
118 | let result = await result(urlSession: urlSession, delegate: delegate)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
119 | finishingQueue.async {
120 | completion(result)
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:111:36: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
109 | }
110 |
111 | @discardableResult public func schedule(
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | urlSession: URLSession,
113 | delegate: (any URLSessionTaskDelegate)?,
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:120:28: warning: capture of 'result' with non-sendable type 'Result<NetworkResponse<Self.Output>, any Error>' in a '@Sendable' closure [#SendableClosureCaptures]
118 | let result = await result(urlSession: urlSession, delegate: delegate)
119 | finishingQueue.async {
120 | completion(result)
| `- warning: capture of 'result' with non-sendable type 'Result<NetworkResponse<Self.Output>, any Error>' in a '@Sendable' closure [#SendableClosureCaptures]
121 | }
122 | }
/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.
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Requests/DataRequest.swift:115:9: warning: capture of non-sendable type 'Self.Type' in an isolated closure
113 | delegate: (any URLSessionTaskDelegate)?,
114 | finishingQueue: DispatchQueue = .main,
115 | completion: @escaping (RequestResult) -> Void
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
116 | ) -> Task<Void, Never> {
117 | Task {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[28/34] Compiling HPNetwork HTTPFieldBuilder.swift
[29/34] Compiling HPNetwork NetworkResponse.swift
[30/34] Compiling HPNetwork Authorization.swift
[31/34] Compiling HPNetwork BasicAuthorization.swift
[32/34] Emitting module HPNetwork
[33/34] Compiling HPNetwork BearerAuthorization.swift
[34/34] Compiling HPNetwork ConnectionMonitor.swift
[35/37] Compiling HPNetworkMock NetworkClientMock.swift
/Users/admin/builder/spi-builder-workspace/Sources/HPNetworkMock/NetworkClientMock.swift:71:32: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 | ) -> Task<Void, Never> {
70 | Task {
71 | let result = await result(request, delegate: delegate)
| `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | finishingQueue.async {
73 | completion(result)
/Users/admin/builder/spi-builder-workspace/Sources/HPNetworkMock/NetworkClientMock.swift:65:11: warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
63 |
64 | public func schedule<Request: NetworkRequest>(
65 | _ request: Request,
| `- warning: capture of non-sendable type 'Request.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | delegate: (any URLSessionTaskDelegate)? = nil,
67 | finishingQueue: DispatchQueue = .main,
/Users/admin/builder/spi-builder-workspace/Sources/HPNetworkMock/NetworkClientMock.swift:73:28: warning: capture of 'result' with non-sendable type 'Result<NetworkResponse<Request.Output>, any Error>' in a '@Sendable' closure [#SendableClosureCaptures]
71 | let result = await result(request, delegate: delegate)
72 | finishingQueue.async {
73 | completion(result)
| `- warning: capture of 'result' with non-sendable type 'Result<NetworkResponse<Request.Output>, any Error>' in a '@Sendable' closure [#SendableClosureCaptures]
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Sources/HPNetwork/Responses/NetworkResponse.swift:5:15: note: generic struct 'NetworkResponse' does not conform to the 'Sendable' protocol
3 |
4 | /// A wrapper type representing the result of a network request.
5 | public struct NetworkResponse<Output> {
| `- note: generic struct 'NetworkResponse' does not conform to the 'Sendable' protocol
6 |
7 | /// The actual output of the network request.
/Users/admin/builder/spi-builder-workspace/Sources/HPNetworkMock/NetworkClientMock.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HPNetwork'
1 | import Foundation
2 | import HPNetwork
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HPNetwork'
3 | import HTTPTypes
4 |
/Users/admin/builder/spi-builder-workspace/Sources/HPNetworkMock/NetworkClientMock.swift:68:9: warning: capture of non-sendable type 'Request.Type' in an isolated closure
66 | delegate: (any URLSessionTaskDelegate)? = nil,
67 | finishingQueue: DispatchQueue = .main,
68 | completion: @escaping (Request.RequestResult) -> Void
| `- warning: capture of non-sendable type 'Request.Type' in an isolated closure
69 | ) -> Task<Void, Never> {
70 | Task {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[36/37] Compiling HPNetworkMock URLSessionMock.swift
[37/37] Emitting module HPNetworkMock
Build complete! (15.68s)
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.79s)
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.24s)
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
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.10"
}
Done.