Build Information
Successful build of Netswift, reference develop (876603
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:50:26 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MrSkwiggs/Netswift.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MrSkwiggs/Netswift
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 8766031 🔀 Merge pull request #47 from MrSkwiggs/bleeding_edge
Cloned https://github.com/MrSkwiggs/Netswift.git
Revision (git rev-parse @):
87660311fe0619caf900a4a14b16aa633377e684
SUCCESS checkout https://github.com/MrSkwiggs/Netswift.git at develop
========================================
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": "netswift",
"name": "Netswift",
"url": "https://github.com/MrSkwiggs/Netswift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Netswift",
"dependencies": [
]
}
]
}
Fetching https://github.com/MrSkwiggs/Netswift.git
[1/1663] Fetching netswift
Fetched https://github.com/MrSkwiggs/Netswift.git from cache (0.89s)
Creating working copy for https://github.com/MrSkwiggs/Netswift.git
Working copy of https://github.com/MrSkwiggs/Netswift.git resolved at develop (8766031)
warning: '.resolve-product-dependencies': dependency 'netswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/MrSkwiggs/Netswift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/23] Compiling Netswift RequestHeader.swift
[4/23] Compiling Netswift URLRequestExtension.swift
[5/23] Compiling Netswift NetswiftHeaders.swift
[6/23] Compiling Netswift NetswiftNetworkPerformer.swift
[7/23] Emitting module Netswift
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:14:16: warning: stored property 'category' of 'Sendable'-conforming struct 'NetswiftError' has non-sendable type 'NetswiftError.Category'; this is an error in the Swift 6 language mode
12 |
13 | /// The category for the error
14 | public let category: Category
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'NetswiftError' has non-sendable type 'NetswiftError.Category'; this is an error in the Swift 6 language mode
15 | /// Additonal information about the error
16 | public let payload: Data?
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError+Category.swift:13:10: note: consider making enum 'Category' conform to the 'Sendable' protocol
11 | public extension NetswiftError {
12 | /// All the errors that can be raised while performing HTTP requests
13 | enum Category: CustomDebugStringConvertible {
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
14 |
15 | /// The request couldn't be serialised before being sent out
[8/23] Compiling Netswift NetswiftError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:14:16: warning: stored property 'category' of 'Sendable'-conforming struct 'NetswiftError' has non-sendable type 'NetswiftError.Category'; this is an error in the Swift 6 language mode
12 |
13 | /// The category for the error
14 | public let category: Category
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'NetswiftError' has non-sendable type 'NetswiftError.Category'; this is an error in the Swift 6 language mode
15 | /// Additonal information about the error
16 | public let payload: Data?
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError+Category.swift:13:10: note: consider making enum 'Category' conform to the 'Sendable' protocol
11 | public extension NetswiftError {
12 | /// All the errors that can be raised while performing HTTP requests
13 | enum Category: CustomDebugStringConvertible {
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
14 |
15 | /// The request couldn't be serialised before being sent out
[9/23] Compiling Netswift NetswiftHTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError.swift:14:16: warning: stored property 'category' of 'Sendable'-conforming struct 'NetswiftError' has non-sendable type 'NetswiftError.Category'; this is an error in the Swift 6 language mode
12 |
13 | /// The category for the error
14 | public let category: Category
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'NetswiftError' has non-sendable type 'NetswiftError.Category'; this is an error in the Swift 6 language mode
15 | /// Additonal information about the error
16 | public let payload: Data?
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftError/NetswiftError+Category.swift:13:10: note: consider making enum 'Category' conform to the 'Sendable' protocol
11 | public extension NetswiftError {
12 | /// All the errors that can be raised while performing HTTP requests
13 | enum Category: CustomDebugStringConvertible {
| `- note: consider making enum 'Category' conform to the 'Sendable' protocol
14 |
15 | /// The request couldn't be serialised before being sent out
[10/25] Compiling Netswift GenericScheme.swift
[11/25] Compiling Netswift HTTPPerformer.swift
[12/25] Compiling Netswift MimeType.swift
[13/25] Compiling Netswift NetswiftSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:30:13: warning: capture of 'handler' with non-sendable type 'URLSession.RequestHandler' (aka '(NetswiftHTTPResponse) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
29 | let task = dataTask(with: urlRequest) { data, response, error in
30 | handler(.init(data: data, response: response, error: error))
| |- warning: capture of 'handler' with non-sendable type 'URLSession.RequestHandler' (aka '(NetswiftHTTPResponse) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 | }
32 | task.resume()
[14/25] Compiling Netswift NetswiftTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/Netswift/Core/NetswiftSession.swift:30:13: warning: capture of 'handler' with non-sendable type 'URLSession.RequestHandler' (aka '(NetswiftHTTPResponse) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | public func perform(_ urlRequest: URLRequest, handler: @escaping RequestHandler) -> NetswiftTask {
29 | let task = dataTask(with: urlRequest) { data, response, error in
30 | handler(.init(data: data, response: response, error: error))
| |- warning: capture of 'handler' with non-sendable type 'URLSession.RequestHandler' (aka '(NetswiftHTTPResponse) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 | }
32 | task.resume()
[15/25] Compiling Netswift NetswiftRequest.swift
[16/25] Compiling Netswift NetswiftRequestPerformable.swift
[17/25] Compiling Netswift NetswiftHTTPResponse.swift
[18/25] Compiling Netswift NetswiftHandler.swift
[19/25] Compiling Netswift NetswiftAuthorizationType.swift
[20/25] Compiling Netswift NetswiftEncoder.swift
[21/25] Compiling Netswift NetswiftError+Category.swift
[22/25] Compiling Netswift NetswiftResult.swift
[23/25] Compiling Netswift NetswiftRoute.swift
[24/25] Compiling Netswift NetswiftHTTPPerformer.swift
[25/25] Compiling Netswift NetswiftPerformer.swift
Build complete! (12.83s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Netswift",
"name" : "Netswift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "Netswift",
"targets" : [
"Netswift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetswiftTests",
"module_type" : "SwiftTarget",
"name" : "NetswiftTests",
"path" : "Tests/NetswiftTests",
"sources" : [
"NetswiftTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Netswift"
],
"type" : "test"
},
{
"c99name" : "Netswift",
"module_type" : "SwiftTarget",
"name" : "Netswift",
"path" : "Sources/Netswift",
"product_memberships" : [
"Netswift"
],
"sources" : [
"Core/GenericScheme.swift",
"Core/HTTPPerformer.swift",
"Core/MimeType.swift",
"Core/NetswiftAuthorizationType.swift",
"Core/NetswiftEncoder.swift",
"Core/NetswiftError/NetswiftError+Category.swift",
"Core/NetswiftError/NetswiftError.swift",
"Core/NetswiftHTTPMethod.swift",
"Core/NetswiftHTTPResponse.swift",
"Core/NetswiftHandler.swift",
"Core/NetswiftHeaders.swift",
"Core/NetswiftNetworkPerformer.swift",
"Core/NetswiftRequest.swift",
"Core/NetswiftRequestPerformable.swift",
"Core/NetswiftResult.swift",
"Core/NetswiftRoute.swift",
"Core/NetswiftSession.swift",
"Core/NetswiftTask.swift",
"Core/RequestHeader.swift",
"Core/URLRequestExtension.swift",
"NetswiftHTTPPerformer.swift",
"NetswiftPerformer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.