Build Information
Successful build of HTTPKit, reference 1.4.2 (99a50c
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 20:26:05 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Chandlerdea/HTTPKit.git
Reference: 1.4.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Chandlerdea/HTTPKit
* tag 1.4.2 -> FETCH_HEAD
HEAD is now at 99a50c6 Adding convenince methods to URLRequest
Cloned https://github.com/Chandlerdea/HTTPKit.git
Revision (git rev-parse @):
99a50c6d6792b4cb1615e3d1a8658a1c88d257d6
SUCCESS checkout https://github.com/Chandlerdea/HTTPKit.git at 1.4.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "httpkit",
"name": "HTTPKit",
"url": "https://github.com/Chandlerdea/HTTPKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HTTPKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/Chandlerdea/HTTPKit.git
[1/394] Fetching httpkit
Fetched https://github.com/Chandlerdea/HTTPKit.git from cache (0.64s)
Creating working copy for https://github.com/Chandlerdea/HTTPKit.git
Working copy of https://github.com/Chandlerdea/HTTPKit.git resolved at 1.4.2 (99a50c6)
warning: '.resolve-product-dependencies': dependency 'httpkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Chandlerdea/HTTPKit.git
https://github.com/Chandlerdea/HTTPKit.git
{
"dependencies" : [
],
"manifest_display_name" : "HTTPKit",
"name" : "HTTPKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "HTTPKit",
"targets" : [
"HTTPKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HTTPKitTests",
"module_type" : "SwiftTarget",
"name" : "HTTPKitTests",
"path" : "Tests/HTTPKitTests",
"sources" : [
"HTTPHeaderTests.swift",
"HTTPMethodTests.swift",
"HTTPModelControllerTests.swift",
"HTTPNetworkControllerTests.swift",
"HTTPRequestBuilderTests.swift",
"HTTPResponseStatusTests.swift",
"MockNetworkTestable.swift",
"MockURLProtocol.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"HTTPKit"
],
"type" : "test"
},
{
"c99name" : "HTTPKit",
"module_type" : "SwiftTarget",
"name" : "HTTPKit",
"path" : "Sources/HTTPKit",
"product_memberships" : [
"HTTPKit"
],
"sources" : [
"HTTP.swift",
"HTTPCacheControl.swift",
"HTTPContentType.swift",
"HTTPHeader.swift",
"HTTPMethod.swift",
"HTTPModelController.swift",
"HTTPNetworkController.swift",
"HTTPRequestBuilder.swift",
"HTTPResponseStatus.swift",
"URLRequest+additions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling HTTPKit HTTPRequestBuilder.swift
[4/12] Compiling HTTPKit HTTPMethod.swift
[5/12] Compiling HTTPKit HTTPHeader.swift
[6/12] Compiling HTTPKit HTTP.swift
[7/12] Compiling HTTPKit HTTPCacheControl.swift
[8/12] Compiling HTTPKit HTTPModelController.swift
[9/12] Compiling HTTPKit HTTPNetworkController.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:93:47: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
91 | ) {
92 | let task: URLSessionTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
93 | let result: Result<Data, Error> = self.handleCompletion(request, data, response, error)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
94 | switch result {
95 | case .success(let data):
HTTPKit.HTTPNetworkController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol HTTPNetworkController {
2 | Self : HTTPKit.HTTPNetworkController}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:99:21: warning: capture of 'completion' with non-sendable type '(Result<T, any Error>) -> Void' in a '@Sendable' closure
97 | do {
98 | let object: T = try decoder.decode(T.self, from: data)
99 | completion(.success(object))
| |- warning: capture of 'completion' with non-sendable type '(Result<T, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
100 | } catch {
101 | completion(.failure(HTTP.ResponseContentError.failureDecodingResponse))
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:116:47: warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
114 | ) {
115 | let task: URLSessionTask = session.dataTask(with: request) { (data: Data?, response: URLResponse?, error: Error?) in
116 | let result: Result<Data, Error> = self.handleCompletion(request, data, response, error)
| `- warning: capture of 'self' with non-sendable type 'Self' in a '@Sendable' closure
117 | switch result {
118 | case .success:
HTTPKit.HTTPNetworkController.Self:2:1: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
1 | protocol HTTPNetworkController {
2 | Self : HTTPKit.HTTPNetworkController}
| `- note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
3 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPNetworkController.swift:119:17: warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
117 | switch result {
118 | case .success:
119 | completion(.success(()))
| |- warning: capture of 'completion' with non-sendable type '(Result<Void, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 | case .failure(let error):
121 | completion(.failure(error))
[10/12] Emitting module HTTPKit
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPResponseStatus.swift:95:14: warning: associated value 'unexpectedStatus' of 'Sendable'-conforming enum 'BadResponseStatusError' has non-sendable type 'HTTP.ResponseStatus'; this is an error in the Swift 6 language mode
11 | extension HTTP {
12 |
13 | public enum ResponseStatus: Equatable {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
14 |
15 | case ok
:
93 | public enum BadResponseStatusError: Error, CustomStringConvertible {
94 |
95 | case unexpectedStatus(ResponseStatus)
| `- warning: associated value 'unexpectedStatus' of 'Sendable'-conforming enum 'BadResponseStatusError' has non-sendable type 'HTTP.ResponseStatus'; this is an error in the Swift 6 language mode
96 | case unknownResponseCode
97 |
[11/12] Compiling HTTPKit HTTPContentType.swift
[12/12] Compiling HTTPKit HTTPResponseStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPKit/HTTPResponseStatus.swift:95:14: warning: associated value 'unexpectedStatus' of 'Sendable'-conforming enum 'BadResponseStatusError' has non-sendable type 'HTTP.ResponseStatus'; this is an error in the Swift 6 language mode
11 | extension HTTP {
12 |
13 | public enum ResponseStatus: Equatable {
| `- note: consider making enum 'ResponseStatus' conform to the 'Sendable' protocol
14 |
15 | case ok
:
93 | public enum BadResponseStatusError: Error, CustomStringConvertible {
94 |
95 | case unexpectedStatus(ResponseStatus)
| `- warning: associated value 'unexpectedStatus' of 'Sendable'-conforming enum 'BadResponseStatusError' has non-sendable type 'HTTP.ResponseStatus'; this is an error in the Swift 6 language mode
96 | case unknownResponseCode
97 |
[13/13] Compiling HTTPKit URLRequest+additions.swift
Build complete! (5.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "HTTPKit",
"name" : "HTTPKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "HTTPKit",
"targets" : [
"HTTPKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HTTPKitTests",
"module_type" : "SwiftTarget",
"name" : "HTTPKitTests",
"path" : "Tests/HTTPKitTests",
"sources" : [
"HTTPHeaderTests.swift",
"HTTPMethodTests.swift",
"HTTPModelControllerTests.swift",
"HTTPNetworkControllerTests.swift",
"HTTPRequestBuilderTests.swift",
"HTTPResponseStatusTests.swift",
"MockNetworkTestable.swift",
"MockURLProtocol.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"HTTPKit"
],
"type" : "test"
},
{
"c99name" : "HTTPKit",
"module_type" : "SwiftTarget",
"name" : "HTTPKit",
"path" : "Sources/HTTPKit",
"product_memberships" : [
"HTTPKit"
],
"sources" : [
"HTTP.swift",
"HTTPCacheControl.swift",
"HTTPContentType.swift",
"HTTPHeader.swift",
"HTTPMethod.swift",
"HTTPModelController.swift",
"HTTPNetworkController.swift",
"HTTPRequestBuilder.swift",
"HTTPResponseStatus.swift",
"URLRequest+additions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.