Build Information
Failed to build SkavokNetworking, reference main (df65f7), with Swift 6.1 for macOS (SPM) on 3 Sep 2026 15:26:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Livsy90/SkavokNetworking.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Livsy90/SkavokNetworking
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at df65f7a Update .gitignore
Cloned https://github.com/Livsy90/SkavokNetworking.git
Revision (git rev-parse @):
df65f7a5b1f9475fed04a50c43e5f592b69cf16b
SUCCESS checkout https://github.com/Livsy90/SkavokNetworking.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Livsy90/SkavokNetworking.git
https://github.com/Livsy90/SkavokNetworking.git
{
"dependencies" : [
],
"manifest_display_name" : "SkavokNetworking",
"name" : "SkavokNetworking",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SkavokNetworking",
"targets" : [
"SkavokNetworking"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "SkavokNetworkingTests",
"module_type" : "SwiftTarget",
"name" : "SkavokNetworkingTests",
"path" : "Tests/SkavokNetworkingTests",
"sources" : [
"APIClientTests.swift",
"MockURLProtocol.swift"
],
"target_dependencies" : [
"SkavokNetworking"
],
"type" : "test"
},
{
"c99name" : "SkavokNetworking",
"module_type" : "SwiftTarget",
"name" : "SkavokNetworking",
"path" : "Sources/SkavokNetworking",
"product_memberships" : [
"SkavokNetworking"
],
"sources" : [
"APIClient.swift",
"APIClientDelegate.swift",
"APIClientProtocol.swift",
"DataLoader.swift",
"Models/APIError.swift",
"Models/Request.swift",
"Models/Response.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling SkavokNetworking Request.swift
[4/10] Compiling SkavokNetworking Response.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module SkavokNetworking
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:116:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
114 | /// - returns: A response with a decoded body. If the response type is
115 | /// optional and the response body is empty, returns `nil`.
116 | @discardableResult public func send<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
117 | _ request: Request<T>,
118 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:4:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
2 |
3 | public protocol APIClientProtocol: Sendable {
4 | func send<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
5 | _ request: Request<T>,
6 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:133:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
131 | ///
132 | /// - returns: A response with an empty value.
133 | @discardableResult public func send(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
134 | _ request: Request<Void>,
135 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:10:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
8 | ) async throws -> Response<T>
9 |
10 | func send(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
11 | _ request: Request<Void>,
12 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:150:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
148 | ///
149 | /// - returns: A response with a raw response data.
150 | public func data<T>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
151 | for request: Request<T>,
152 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:16:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
14 | ) async throws -> Response<Void>
15 |
16 | func data<T>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 | for request: Request<T>,
18 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:184:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
182 | /// - delegate: A task-specific delegate for authentication, redirection, and metrics.
183 | /// - configure: Modifies the underlying `URLRequest` before sending it.
184 | public func download(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
185 | for request: Request<Void>,
186 | destination: URL? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:23:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 | /// Downloads a response body directly to a temporary or explicit file URL.
23 | func download(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | for request: Request<Void>,
25 | destination: URL?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:234:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
232 | /// - returns: A response with a decoded body. If the response type is
233 | /// optional and the response body is empty, returns `nil`.
234 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
235 | for request: Request<T>,
236 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:41:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | /// - returns: A response with a decoded body. If the response type is
40 | /// optional and the response body is empty, returns `nil`.
41 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | for request: Request<T>,
43 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:253:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
251 | ///
252 | /// - returns: Empty response.
253 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
254 | for request: Request<Void>,
255 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:57:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | ///
56 | /// - returns: Empty response.
57 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 | for request: Request<Void>,
59 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:295:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
293 | /// - returns: A response with a decoded body. If the response type is
294 | /// optional and the response body is empty, returns `nil`.
295 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
296 | for request: Request<T>,
297 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:75:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | /// - returns: A response with a decoded body. If the response type is
74 | /// optional and the response body is empty, returns `nil`.
75 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | for request: Request<T>,
77 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:314:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
312 | ///
313 | /// Returns decoded response.
314 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
315 | for request: Request<Void>,
316 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:91:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
89 | ///
90 | /// Returns decoded response.
91 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | for request: Request<Void>,
93 | from data: Data,
[6/10] Compiling SkavokNetworking APIError.swift
[7/10] Compiling SkavokNetworking DataLoader.swift
[8/10] Compiling SkavokNetworking APIClientProtocol.swift
[9/10] Compiling SkavokNetworking APIClientDelegate.swift
[10/10] Compiling SkavokNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:116:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
114 | /// - returns: A response with a decoded body. If the response type is
115 | /// optional and the response body is empty, returns `nil`.
116 | @discardableResult public func send<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
117 | _ request: Request<T>,
118 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:4:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
2 |
3 | public protocol APIClientProtocol: Sendable {
4 | func send<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
5 | _ request: Request<T>,
6 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:133:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
131 | ///
132 | /// - returns: A response with an empty value.
133 | @discardableResult public func send(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
134 | _ request: Request<Void>,
135 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:10:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
8 | ) async throws -> Response<T>
9 |
10 | func send(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
11 | _ request: Request<Void>,
12 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:150:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
148 | ///
149 | /// - returns: A response with a raw response data.
150 | public func data<T>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
151 | for request: Request<T>,
152 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:16:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
14 | ) async throws -> Response<Void>
15 |
16 | func data<T>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 | for request: Request<T>,
18 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:184:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
182 | /// - delegate: A task-specific delegate for authentication, redirection, and metrics.
183 | /// - configure: Modifies the underlying `URLRequest` before sending it.
184 | public func download(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
185 | for request: Request<Void>,
186 | destination: URL? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:23:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 | /// Downloads a response body directly to a temporary or explicit file URL.
23 | func download(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | for request: Request<Void>,
25 | destination: URL?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:234:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
232 | /// - returns: A response with a decoded body. If the response type is
233 | /// optional and the response body is empty, returns `nil`.
234 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
235 | for request: Request<T>,
236 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:41:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | /// - returns: A response with a decoded body. If the response type is
40 | /// optional and the response body is empty, returns `nil`.
41 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | for request: Request<T>,
43 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:253:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
251 | ///
252 | /// - returns: Empty response.
253 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
254 | for request: Request<Void>,
255 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:57:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | ///
56 | /// - returns: Empty response.
57 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 | for request: Request<Void>,
59 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:295:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
293 | /// - returns: A response with a decoded body. If the response type is
294 | /// optional and the response body is empty, returns `nil`.
295 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
296 | for request: Request<T>,
297 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:75:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | /// - returns: A response with a decoded body. If the response type is
74 | /// optional and the response body is empty, returns `nil`.
75 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | for request: Request<T>,
77 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:314:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
312 | ///
313 | /// Returns decoded response.
314 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
315 | for request: Request<Void>,
316 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:91:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
89 | ///
90 | /// Returns decoded response.
91 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | for request: Request<Void>,
93 | from data: Data,
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling SkavokNetworking Response.swift
[3/9] Compiling SkavokNetworking Request.swift
[4/9] Compiling SkavokNetworking APIError.swift
[5/9] Compiling SkavokNetworking APIClientProtocol.swift
[6/9] Compiling SkavokNetworking APIClientDelegate.swift
[7/9] Compiling SkavokNetworking DataLoader.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module SkavokNetworking
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:116:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
114 | /// - returns: A response with a decoded body. If the response type is
115 | /// optional and the response body is empty, returns `nil`.
116 | @discardableResult public func send<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
117 | _ request: Request<T>,
118 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:4:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
2 |
3 | public protocol APIClientProtocol: Sendable {
4 | func send<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
5 | _ request: Request<T>,
6 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:133:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
131 | ///
132 | /// - returns: A response with an empty value.
133 | @discardableResult public func send(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
134 | _ request: Request<Void>,
135 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:10:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
8 | ) async throws -> Response<T>
9 |
10 | func send(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
11 | _ request: Request<Void>,
12 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:150:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
148 | ///
149 | /// - returns: A response with a raw response data.
150 | public func data<T>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
151 | for request: Request<T>,
152 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:16:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
14 | ) async throws -> Response<Void>
15 |
16 | func data<T>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 | for request: Request<T>,
18 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:184:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
182 | /// - delegate: A task-specific delegate for authentication, redirection, and metrics.
183 | /// - configure: Modifies the underlying `URLRequest` before sending it.
184 | public func download(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
185 | for request: Request<Void>,
186 | destination: URL? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:23:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 | /// Downloads a response body directly to a temporary or explicit file URL.
23 | func download(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | for request: Request<Void>,
25 | destination: URL?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:234:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
232 | /// - returns: A response with a decoded body. If the response type is
233 | /// optional and the response body is empty, returns `nil`.
234 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
235 | for request: Request<T>,
236 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:41:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | /// - returns: A response with a decoded body. If the response type is
40 | /// optional and the response body is empty, returns `nil`.
41 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | for request: Request<T>,
43 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:253:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
251 | ///
252 | /// - returns: Empty response.
253 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
254 | for request: Request<Void>,
255 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:57:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | ///
56 | /// - returns: Empty response.
57 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 | for request: Request<Void>,
59 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:295:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
293 | /// - returns: A response with a decoded body. If the response type is
294 | /// optional and the response body is empty, returns `nil`.
295 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
296 | for request: Request<T>,
297 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:75:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | /// - returns: A response with a decoded body. If the response type is
74 | /// optional and the response body is empty, returns `nil`.
75 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | for request: Request<T>,
77 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:314:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
312 | ///
313 | /// Returns decoded response.
314 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
315 | for request: Request<Void>,
316 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:91:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
89 | ///
90 | /// Returns decoded response.
91 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | for request: Request<Void>,
93 | from data: Data,
[9/9] Compiling SkavokNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:116:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
114 | /// - returns: A response with a decoded body. If the response type is
115 | /// optional and the response body is empty, returns `nil`.
116 | @discardableResult public func send<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
117 | _ request: Request<T>,
118 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:4:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
2 |
3 | public protocol APIClientProtocol: Sendable {
4 | func send<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
5 | _ request: Request<T>,
6 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:133:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
131 | ///
132 | /// - returns: A response with an empty value.
133 | @discardableResult public func send(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'send(_:delegate:configure:)' into actor-isolated implementation
134 | _ request: Request<Void>,
135 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:10:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
8 | ) async throws -> Response<T>
9 |
10 | func send(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
11 | _ request: Request<Void>,
12 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:150:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
148 | ///
149 | /// - returns: A response with a raw response data.
150 | public func data<T>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'data(for:delegate:configure:)' into actor-isolated implementation
151 | for request: Request<T>,
152 | delegate: URLSessionTaskDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:16:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
14 | ) async throws -> Response<Void>
15 |
16 | func data<T>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 | for request: Request<T>,
18 | delegate: URLSessionTaskDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:184:17: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
182 | /// - delegate: A task-specific delegate for authentication, redirection, and metrics.
183 | /// - configure: Modifies the underlying `URLRequest` before sending it.
184 | public func download(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'download(for:destination:delegate:configure:)' into actor-isolated implementation
185 | for request: Request<Void>,
186 | destination: URL? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:23:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 | /// Downloads a response body directly to a temporary or explicit file URL.
23 | func download(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 | for request: Request<Void>,
25 | destination: URL?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:234:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
232 | /// - returns: A response with a decoded body. If the response type is
233 | /// optional and the response body is empty, returns `nil`.
234 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
235 | for request: Request<T>,
236 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:41:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | /// - returns: A response with a decoded body. If the response type is
40 | /// optional and the response body is empty, returns `nil`.
41 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | for request: Request<T>,
43 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:253:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
251 | ///
252 | /// - returns: Empty response.
253 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:fromFile:delegate:configure:)' into actor-isolated implementation
254 | for request: Request<Void>,
255 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:57:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | ///
56 | /// - returns: Empty response.
57 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
58 | for request: Request<Void>,
59 | fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:295:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
293 | /// - returns: A response with a decoded body. If the response type is
294 | /// optional and the response body is empty, returns `nil`.
295 | @discardableResult public func upload<T: Decodable & Sendable>(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
296 | for request: Request<T>,
297 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:75:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | /// - returns: A response with a decoded body. If the response type is
74 | /// optional and the response body is empty, returns `nil`.
75 | func upload<T: Decodable & Sendable>(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | for request: Request<T>,
77 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:314:36: error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
312 | ///
313 | /// Returns decoded response.
314 | @discardableResult public func upload(
| `- error: non-sendable parameter type '((inout URLRequest) throws -> Void)?' cannot be sent from caller of protocol requirement 'upload(for:from:delegate:configure:)' into actor-isolated implementation
315 | for request: Request<Void>,
316 | from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:91:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
89 | ///
90 | /// Returns decoded response.
91 | func upload(
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
92 | for request: Request<Void>,
93 | from data: Data,
BUILD FAILURE 6.1 macosSpm