Build Information
Successful build of swift-networking, reference 1.2.1 (699c4f
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 10:36:34 UTC.
Swift 6 data race errors: 0
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/telemtobi/swift-networking.git
Reference: 1.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/telemtobi/swift-networking
* tag 1.2.1 -> FETCH_HEAD
HEAD is now at 699c4fe Merge pull request #14 from TelemTobi/patch/sendable_issue
Cloned https://github.com/telemtobi/swift-networking.git
Revision (git rev-parse @):
699c4fe5c8c4b09b2bf9a7b6ef7e2596950b3018
SUCCESS checkout https://github.com/telemtobi/swift-networking.git at 1.2.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/telemtobi/swift-networking.git
https://github.com/telemtobi/swift-networking.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-networking",
"name" : "swift-networking",
"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" : "Networking",
"targets" : [
"Networking"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetworkingTests",
"module_type" : "SwiftTarget",
"name" : "NetworkingTests",
"path" : "Tests/NetworkingTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleBadResponse.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleResponse.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Helpers/TestAuthenticator.swift",
"Helpers/TestBody.swift",
"Helpers/TestEndpoint.swift",
"Helpers/TestError.swift",
"Helpers/TestResponse.swift",
"NetworkingControllerTests.swift",
"URLRequestTests.swift"
],
"target_dependencies" : [
"Networking"
],
"type" : "test"
},
{
"c99name" : "Networking",
"module_type" : "SwiftTarget",
"name" : "Networking",
"path" : "Sources/Networking",
"product_memberships" : [
"Networking"
],
"sources" : [
"Authenticator.swift",
"Controller/NetworkingController+Logging.swift",
"Controller/NetworkingController+Mapping.swift",
"Controller/NetworkingController.swift",
"DecodableError.swift",
"Endpoint.swift",
"Extensions/Data+Networking.swift",
"Extensions/URL+Networking.swift",
"Extensions/URLRequest+Networking.swift",
"Extensions/URLResponse+Networking.swift",
"HttpMethod.swift",
"HttpStatus.swift",
"HttpTask.swift",
"Internal/AnyEncodable.swift",
"Internal/Error+Extension.swift",
"Internal/String+Extension.swift",
"Internal/Task+Extension.swift",
"JsonMapper.swift",
"Networking.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
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/21] Compiling Networking Task+Extension.swift
[4/21] Compiling Networking JsonMapper.swift
[5/22] Compiling Networking Error+Extension.swift
[6/22] Compiling Networking String+Extension.swift
[7/22] Compiling Networking Authenticator.swift
[8/22] Compiling Networking NetworkingController+Logging.swift
[9/22] Compiling Networking DecodableError.swift
[10/22] Compiling Networking Endpoint.swift
[11/22] Emitting module Networking
[12/22] Compiling Networking NetworkingController+Mapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:83:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
81 | /// On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F`.
82 | public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
83 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
84 | do {
85 | let result: T = try await request(endpoint)
86 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
87 | } catch {
88 | let error = error as? F ?? .unknownError(error.description)
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:100:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
98 | /// On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F` describing the issue.
99 | public func request<T: Decodable & Sendable>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
100 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | do {
102 | let result: T = try await request(endpoint)
103 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
104 | } catch {
105 | let error = error as? F ?? .unknownError(error.description)
[13/22] Compiling Networking NetworkingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController+Mapping.swift:83:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
81 | /// On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F`.
82 | public func request<T: Decodable & Sendable & JsonMapper>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
83 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
84 | do {
85 | let result: T = try await request(endpoint)
86 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
87 | } catch {
88 | let error = error as? F ?? .unknownError(error.description)
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Controller/NetworkingController.swift:100:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
98 | /// On success, the result contains the decoded model of type `T`. On failure, it contains an error of type `F` describing the issue.
99 | public func request<T: Decodable & Sendable>(_ endpoint: E, completion: @escaping (Result<T, F>) -> Void) {
100 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
101 | do {
102 | let result: T = try await request(endpoint)
103 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
104 | } catch {
105 | let error = error as? F ?? .unknownError(error.description)
[14/22] Compiling Networking HttpMethod.swift
[15/22] Compiling Networking HttpStatus.swift
[16/22] Compiling Networking HttpTask.swift
[17/22] Compiling Networking AnyEncodable.swift
[18/22] Compiling Networking URLRequest+Networking.swift
[19/22] Compiling Networking URLResponse+Networking.swift
[20/22] Compiling Networking Data+Networking.swift
[21/22] Compiling Networking URL+Networking.swift
[22/22] Compiling Networking Networking.swift
Build complete! (6.13s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-networking",
"name" : "swift-networking",
"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" : "Networking",
"targets" : [
"Networking"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NetworkingTests",
"module_type" : "SwiftTarget",
"name" : "NetworkingTests",
"path" : "Tests/NetworkingTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleBadResponse.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/NetworkingTests/Resources/SampleResponse.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Helpers/TestAuthenticator.swift",
"Helpers/TestBody.swift",
"Helpers/TestEndpoint.swift",
"Helpers/TestError.swift",
"Helpers/TestResponse.swift",
"NetworkingControllerTests.swift",
"URLRequestTests.swift"
],
"target_dependencies" : [
"Networking"
],
"type" : "test"
},
{
"c99name" : "Networking",
"module_type" : "SwiftTarget",
"name" : "Networking",
"path" : "Sources/Networking",
"product_memberships" : [
"Networking"
],
"sources" : [
"Authenticator.swift",
"Controller/NetworkingController+Logging.swift",
"Controller/NetworkingController+Mapping.swift",
"Controller/NetworkingController.swift",
"DecodableError.swift",
"Endpoint.swift",
"Extensions/Data+Networking.swift",
"Extensions/URL+Networking.swift",
"Extensions/URLRequest+Networking.swift",
"Extensions/URLResponse+Networking.swift",
"HttpMethod.swift",
"HttpStatus.swift",
"HttpTask.swift",
"Internal/AnyEncodable.swift",
"Internal/Error+Extension.swift",
"Internal/String+Extension.swift",
"Internal/Task+Extension.swift",
"JsonMapper.swift",
"Networking.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.