The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SkavokNetworking, reference main (5a0db5), with Swift 6.0 for macOS (SPM) on 18 Sep 2024 10:06:22 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
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 5a0db5d Typo Fix
Cloned https://github.com/Livsy90/SkavokNetworking.git
Revision (git rev-parse @):
5a0db5d2a40bf6bff38f45f22baae8308224ca32
SUCCESS checkout https://github.com/Livsy90/SkavokNetworking.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Livsy90/SkavokNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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-117DEE11B69C53C9.txt
[3/10] Compiling SkavokNetworking DataLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:28:36: warning: converting a value of type '(__shared sending Result<Response<Data>, any Error>) -> ()' to type '(Result<Response<Data>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
 26 |             try await withUnsafeThrowingContinuation { continuation in
 27 |                 let handler = DataTaskHandler(delegate: delegate)
 28 |                 handler.completion = continuation.resume(with:)
    |                                    |- warning: converting a value of type '(__shared sending Result<Response<Data>, any Error>) -> ()' to type '(Result<Response<Data>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
 29 |                 self.handlers[task] = handler
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:25:19: error: 'withTaskCancellationHandler(operation:onCancel:isolation:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 22 |     }()
 23 |
 24 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 25 |         try await withTaskCancellationHandler(operation: {
    |                   |- error: 'withTaskCancellationHandler(operation:onCancel:isolation:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 26 |             try await withUnsafeThrowingContinuation { continuation in
 27 |                 let handler = DataTaskHandler(delegate: delegate)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:26:23: error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 22 |     }()
 23 |
 24 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 25 |         try await withTaskCancellationHandler(operation: {
 26 |             try await withUnsafeThrowingContinuation { continuation in
    |                       |- error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 27 |                 let handler = DataTaskHandler(delegate: delegate)
 28 |                 handler.completion = continuation.resume(with:)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:28:51: error: 'resume(with:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 22 |     }()
 23 |
 24 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 25 |         try await withTaskCancellationHandler(operation: {
 26 |             try await withUnsafeThrowingContinuation { continuation in
 27 |                 let handler = DataTaskHandler(delegate: delegate)
 28 |                 handler.completion = continuation.resume(with:)
    |                                                   |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                                                   `- note: add 'if #available' version check
 29 |                 self.handlers[task] = handler
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:26:55: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:26:54: note: expanded code originates here
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 22 |     }()
 23 |
 24 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 25 |         try await withTaskCancellationHandler(operation: {
 26 |             try await withUnsafeThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift
    |24 |
    |25 |
    |26 |                                                      #isolation
    |   |                                                       `- error: 'isolation()' is only available in macOS 10.15 or newer
    +-----------------------------------------------------------------------------------------
 27 |                 let handler = DataTaskHandler(delegate: delegate)
 28 |                 handler.completion = continuation.resume(with:)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:25:47: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:25:46: note: expanded code originates here
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 22 |     }()
 23 |
 24 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 25 |         try await withTaskCancellationHandler(operation: {
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift
    |23 |
    |24 |
    |25 |                                              #isolation
    |   |                                               `- error: 'isolation()' is only available in macOS 10.15 or newer
    +-----------------------------------------------------------------------------------------
 26 |             try await withUnsafeThrowingContinuation { continuation in
 27 |                 let handler = DataTaskHandler(delegate: delegate)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:42:36: warning: converting a value of type '(__shared sending Result<Response<URL>, any Error>) -> ()' to type '(Result<Response<URL>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
 40 |             try await withUnsafeThrowingContinuation { continuation in
 41 |                 let handler = DownloadTaskHandler(delegate: delegate)
 42 |                 handler.completion = continuation.resume(with:)
    |                                    |- warning: converting a value of type '(__shared sending Result<Response<URL>, any Error>) -> ()' to type '(Result<Response<URL>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
 43 |                 self.handlers[task] = handler
 44 |
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:39:19: error: 'withTaskCancellationHandler(operation:onCancel:isolation:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 36 |     }
 37 |
 38 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |          `- note: add @available attribute to enclosing instance method
 39 |         try await withTaskCancellationHandler(operation: {
    |                   |- error: 'withTaskCancellationHandler(operation:onCancel:isolation:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 40 |             try await withUnsafeThrowingContinuation { continuation in
 41 |                 let handler = DownloadTaskHandler(delegate: delegate)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:40:23: error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 36 |     }
 37 |
 38 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |          `- note: add @available attribute to enclosing instance method
 39 |         try await withTaskCancellationHandler(operation: {
 40 |             try await withUnsafeThrowingContinuation { continuation in
    |                       |- error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 41 |                 let handler = DownloadTaskHandler(delegate: delegate)
 42 |                 handler.completion = continuation.resume(with:)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:42:51: error: 'resume(with:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 36 |     }
 37 |
 38 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |          `- note: add @available attribute to enclosing instance method
 39 |         try await withTaskCancellationHandler(operation: {
 40 |             try await withUnsafeThrowingContinuation { continuation in
 41 |                 let handler = DownloadTaskHandler(delegate: delegate)
 42 |                 handler.completion = continuation.resume(with:)
    |                                                   |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                                                   `- note: add 'if #available' version check
 43 |                 self.handlers[task] = handler
 44 |
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:40:55: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:40:54: note: expanded code originates here
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 36 |     }
 37 |
 38 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |          `- note: add @available attribute to enclosing instance method
 39 |         try await withTaskCancellationHandler(operation: {
 40 |             try await withUnsafeThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift
    |38 |
    |39 |
    |40 |                                                      #isolation
    |   |                                                       `- error: 'isolation()' is only available in macOS 10.15 or newer
    +-----------------------------------------------------------------------------------------
 41 |                 let handler = DownloadTaskHandler(delegate: delegate)
 42 |                 handler.completion = continuation.resume(with:)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:39:47: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:39:46: note: expanded code originates here
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 36 |     }
 37 |
 38 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |          `- note: add @available attribute to enclosing instance method
 39 |         try await withTaskCancellationHandler(operation: {
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift
    |37 |
    |38 |
    |39 |                                              #isolation
    |   |                                               `- error: 'isolation()' is only available in macOS 10.15 or newer
    +-----------------------------------------------------------------------------------------
 40 |             try await withUnsafeThrowingContinuation { continuation in
 41 |                 let handler = DownloadTaskHandler(delegate: delegate)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:56:36: warning: converting a value of type '(__shared sending Result<Response<Data>, any Error>) -> ()' to type '(Result<Response<Data>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
 54 |             try await withUnsafeThrowingContinuation { continuation in
 55 |                 let handler = DataTaskHandler(delegate: delegate)
 56 |                 handler.completion = continuation.resume(with:)
    |                                    |- warning: converting a value of type '(__shared sending Result<Response<Data>, any Error>) -> ()' to type '(Result<Response<Data>, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                    `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
 57 |                 self.handlers[task] = handler
 58 |
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:53:19: error: 'withTaskCancellationHandler(operation:onCancel:isolation:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 50 |     }
 51 |
 52 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 53 |         try await withTaskCancellationHandler(operation: {
    |                   |- error: 'withTaskCancellationHandler(operation:onCancel:isolation:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 54 |             try await withUnsafeThrowingContinuation { continuation in
 55 |                 let handler = DataTaskHandler(delegate: delegate)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:54:23: error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 50 |     }
 51 |
 52 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             try await withUnsafeThrowingContinuation { continuation in
    |                       |- error: 'withUnsafeThrowingContinuation(isolation:_:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 55 |                 let handler = DataTaskHandler(delegate: delegate)
 56 |                 handler.completion = continuation.resume(with:)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:56:51: error: 'resume(with:)' is only available in macOS 10.15 or newer
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 50 |     }
 51 |
 52 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             try await withUnsafeThrowingContinuation { continuation in
 55 |                 let handler = DataTaskHandler(delegate: delegate)
 56 |                 handler.completion = continuation.resume(with:)
    |                                                   |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                                                   `- note: add 'if #available' version check
 57 |                 self.handlers[task] = handler
 58 |
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:54:55: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:54:54: note: expanded code originates here
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 50 |     }
 51 |
 52 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             try await withUnsafeThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift
    |52 |
    |53 |
    |54 |                                                      #isolation
    |   |                                                       `- error: 'isolation()' is only available in macOS 10.15 or newer
    +-----------------------------------------------------------------------------------------
 55 |                 let handler = DataTaskHandler(delegate: delegate)
 56 |                 handler.completion = continuation.resume(with:)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:53:47: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:53:46: note: expanded code originates here
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
    :
 50 |     }
 51 |
 52 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |          `- note: add @available attribute to enclosing instance method
 53 |         try await withTaskCancellationHandler(operation: {
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift
    |51 |
    |52 |
    |53 |                                              #isolation
    |   |                                               `- error: 'isolation()' is only available in macOS 10.15 or newer
    +-----------------------------------------------------------------------------------------
 54 |             try await withUnsafeThrowingContinuation { continuation in
 55 |                 let handler = DataTaskHandler(delegate: delegate)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:116:146: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
113 |     }
114 |
115 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                                        `- note: parameter 'completionHandler' is implicitly non-sendable
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
    |                                                                                                                                                  `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
117 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
118 |         completionHandler(request)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:117:138: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
113 |     }
114 |
115 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                                        `- note: parameter 'completionHandler' is implicitly non-sendable
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
    |                                                                                                                                          `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
118 |         completionHandler(request)
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:127:110: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
124 |     }
125 |
126 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                    `- note: parameter 'completionHandler' is implicitly non-sendable
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
    |                                                                                                              `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
128 |         userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
129 |         completionHandler(.performDefaultHandling, nil)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:128:102: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
124 |     }
125 |
126 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                    `- note: parameter 'completionHandler' is implicitly non-sendable
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
    |                                                                                                      `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
129 |         completionHandler(.performDefaultHandling, nil)
130 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:133:121: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
130 |     }
131 |
132 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                               `- note: parameter 'completionHandler' is implicitly non-sendable
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
    |                                                                                                                         `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
135 |         completionHandler(.continueLoading, nil)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:134:113: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
130 |     }
131 |
132 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                               `- note: parameter 'completionHandler' is implicitly non-sendable
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
    |                                                                                                                 `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
135 |         completionHandler(.continueLoading, nil)
136 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:140:147: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                            `- note: parameter 'completionHandler' is implicitly non-sendable
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
    |                                                                                                                                                   `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
141 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
142 |         completionHandler(.allow)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:141:109: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                            `- note: parameter 'completionHandler' is implicitly non-sendable
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
    |                                                                                                             `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
142 |         completionHandler(.allow)
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:159:162: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
156 |
157 |
158 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                                                 `- note: parameter 'completionHandler' is implicitly non-sendable
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
    |                                                                                                                                                                  `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
160 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
161 |         completionHandler(proposedResponse)
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:160:124: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
156 |
157 |
158 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                                                 `- note: parameter 'completionHandler' is implicitly non-sendable
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
    |                                                                                                                            `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
161 |         completionHandler(proposedResponse)
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:255:26: error: 'Task' is only available in macOS 10.15 or newer
247 | extension Optional: OptionalDecoding {}
248 |
249 | func encode(_ value: Encodable, using encoder: JSONEncoder) async throws -> Data? {
    |      `- note: add @available attribute to enclosing global function
250 |     if let data = value as? Data {
251 |         return data
    :
253 |         return string.data(using: .utf8)
254 |     } else {
255 |         return try await Task.detached {
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
256 |             try encoder.encode(AnyEncodable(value: value))
257 |         }.value
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:255:31: error: 'detached(priority:operation:)' is only available in macOS 10.15 or newer
247 | extension Optional: OptionalDecoding {}
248 |
249 | func encode(_ value: Encodable, using encoder: JSONEncoder) async throws -> Data? {
    |      `- note: add @available attribute to enclosing global function
250 |     if let data = value as? Data {
251 |         return data
    :
253 |         return string.data(using: .utf8)
254 |     } else {
255 |         return try await Task.detached {
    |                               |- error: 'detached(priority:operation:)' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
256 |             try encoder.encode(AnyEncodable(value: value))
257 |         }.value
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:257:11: error: 'value' is only available in macOS 10.15 or newer
247 | extension Optional: OptionalDecoding {}
248 |
249 | func encode(_ value: Encodable, using encoder: JSONEncoder) async throws -> Data? {
    |      `- note: add @available attribute to enclosing global function
250 |     if let data = value as? Data {
251 |         return data
    :
255 |         return try await Task.detached {
256 |             try encoder.encode(AnyEncodable(value: value))
257 |         }.value
    |           |- error: 'value' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
258 |     }
259 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:26: error: 'Task' is only available in macOS 10.15 or newer
259 | }
260 |
261 | func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
    |      `- note: add @available attribute to enclosing global function
262 |     if data.isEmpty, T.self is OptionalDecoding.Type {
263 |         return Optional<Decodable>.none as! T
    :
270 |         return string as! T
271 |     } else {
272 |         return try await Task.detached {
    |                          |- error: 'Task' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
273 |             try decoder.decode(T.self, from: data)
274 |         }.value
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:31: error: 'detached(priority:operation:)' is only available in macOS 10.15 or newer
259 | }
260 |
261 | func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
    |      `- note: add @available attribute to enclosing global function
262 |     if data.isEmpty, T.self is OptionalDecoding.Type {
263 |         return Optional<Decodable>.none as! T
    :
270 |         return string as! T
271 |     } else {
272 |         return try await Task.detached {
    |                               |- error: 'detached(priority:operation:)' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
273 |             try decoder.decode(T.self, from: data)
274 |         }.value
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:274:11: error: 'value' is only available in macOS 10.15 or newer
259 | }
260 |
261 | func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
    |      `- note: add @available attribute to enclosing global function
262 |     if data.isEmpty, T.self is OptionalDecoding.Type {
263 |         return Optional<Decodable>.none as! T
    :
272 |         return try await Task.detached {
273 |             try decoder.decode(T.self, from: data)
274 |         }.value
    |           |- error: 'value' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
275 |     }
276 | }
[4/10] Compiling SkavokNetworking Response.swift
[5/10] Compiling SkavokNetworking Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:115:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
113 |     }
114 |
115 |     public static let get: HTTPMethod = "GET"
    |                       |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:116:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
114 |
115 |     public static let get: HTTPMethod = "GET"
116 |     public static let post: HTTPMethod = "POST"
    |                       |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:117:23: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
115 |     public static let get: HTTPMethod = "GET"
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
    |                       |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:118:23: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
    |                       |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:119:23: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
    |                       |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:120:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
    |                       |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'options' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |     public static let head: HTTPMethod = "HEAD"
122 |     public static let trace: HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:121:23: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
    |                       |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |     public static let trace: HTTPMethod = "TRACE"
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:122:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
122 |     public static let trace: HTTPMethod = "TRACE"
    |                       |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
[6/10] Compiling SkavokNetworking APIClientDelegate.swift
[7/10] Compiling SkavokNetworking APIClientProtocol.swift
[8/10] Emitting module SkavokNetworking
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:82:36: warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'send(_:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
 80 |     /// - returns: A response with a decoded body. If the response type is
 81 |     /// optional and the response body is empty, returns `nil`.
 82 |     @discardableResult public func send<T: Decodable>(
    |                                    |    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                                    `- warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'send(_:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
 83 |         _ request: Request<T>,
 84 |         delegate: URLSessionDataDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:82:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 80 |     /// - returns: A response with a decoded body. If the response type is
 81 |     /// optional and the response body is empty, returns `nil`.
 82 |     @discardableResult public func send<T: Decodable>(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 83 |         _ request: Request<T>,
 84 |         delegate: URLSessionDataDelegate? = 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: AnyObject {
  4 |     func send<T: Decodable>(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionDataDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:101:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 99 |     ///
100 |     /// - returns: A response with an empty value.
101 |     @discardableResult public func send(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
102 |         _ request: Request<Void>,
103 |         delegate: URLSessionDataDelegate? = 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: URLSessionDataDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:118:17: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'data(for:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
116 |     ///
117 |     /// - returns: A response with a raw response data.
118 |     public func data<T>(
    |                 `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'data(for:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
119 |         for request: Request<T>,
120 |         delegate: URLSessionDataDelegate? = 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: URLSessionDataDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:149:36: warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
147 |     /// - returns: A response with a decoded body. If the response type is
148 |     /// optional and the response body is empty, returns `nil`.
149 |     @discardableResult public func upload<T: Decodable>(
    |                                    |      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                                    `- warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
150 |         for request: Request<T>,
151 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:149:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
147 |     /// - returns: A response with a decoded body. If the response type is
148 |     /// optional and the response body is empty, returns `nil`.
149 |     @discardableResult public func upload<T: Decodable>(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
150 |         for request: Request<T>,
151 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:33:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 31 |     /// - returns: A response with a decoded body. If the response type is
 32 |     /// optional and the response body is empty, returns `nil`.
 33 |     func upload<T: Decodable>(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 34 |         for request: Request<T>,
 35 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:170:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
168 |     ///
169 |     /// - returns: Empry response.
170 |     @discardableResult public func upload(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
171 |         for request: Request<Void>,
172 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:49:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |     ///
 48 |     /// - returns: Empry response.
 49 |     func upload(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         for request: Request<Void>,
 51 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:211:36: warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:from:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
209 |     /// - returns: A response with a decoded body. If the response type is
210 |     /// optional and the response body is empty, returns `nil`.
211 |     @discardableResult public func upload<T: Decodable>(
    |                                    |      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                                    `- warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:from:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
212 |         for request: Request<T>,
213 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:211:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
209 |     /// - returns: A response with a decoded body. If the response type is
210 |     /// optional and the response body is empty, returns `nil`.
211 |     @discardableResult public func upload<T: Decodable>(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
212 |         for request: Request<T>,
213 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:67:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |     /// - returns: A response with a decoded body. If the response type is
 66 |     /// optional and the response body is empty, returns `nil`.
 67 |     func upload<T: Decodable>(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 68 |         for request: Request<T>,
 69 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:232:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
230 |     ///
231 |     /// Returns decoded response.
232 |     @discardableResult public func upload(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
233 |         for request: Request<Void>,
234 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:83:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 81 |     ///
 82 |     /// Returns decoded response.
 83 |     func upload(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 84 |         for request: Request<Void>,
 85 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:115:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
113 |     }
114 |
115 |     public static let get: HTTPMethod = "GET"
    |                       |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:116:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
114 |
115 |     public static let get: HTTPMethod = "GET"
116 |     public static let post: HTTPMethod = "POST"
    |                       |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:117:23: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
115 |     public static let get: HTTPMethod = "GET"
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
    |                       |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:118:23: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
    |                       |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:119:23: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
    |                       |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:120:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
    |                       |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'options' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |     public static let head: HTTPMethod = "HEAD"
122 |     public static let trace: HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:121:23: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
    |                       |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |     public static let trace: HTTPMethod = "TRACE"
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:122:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
122 |     public static let trace: HTTPMethod = "TRACE"
    |                       |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
[9/10] Compiling SkavokNetworking APIClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:82:36: warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'send(_:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
 80 |     /// - returns: A response with a decoded body. If the response type is
 81 |     /// optional and the response body is empty, returns `nil`.
 82 |     @discardableResult public func send<T: Decodable>(
    |                                    |    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                                    `- warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'send(_:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
 83 |         _ request: Request<T>,
 84 |         delegate: URLSessionDataDelegate? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:82:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 80 |     /// - returns: A response with a decoded body. If the response type is
 81 |     /// optional and the response body is empty, returns `nil`.
 82 |     @discardableResult public func send<T: Decodable>(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 83 |         _ request: Request<T>,
 84 |         delegate: URLSessionDataDelegate? = 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: AnyObject {
  4 |     func send<T: Decodable>(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionDataDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:101:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 99 |     ///
100 |     /// - returns: A response with an empty value.
101 |     @discardableResult public func send(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'send(_:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
102 |         _ request: Request<Void>,
103 |         delegate: URLSessionDataDelegate? = 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: URLSessionDataDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:118:17: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'data(for:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
116 |     ///
117 |     /// - returns: A response with a raw response data.
118 |     public func data<T>(
    |                 `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'data(for:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
119 |         for request: Request<T>,
120 |         delegate: URLSessionDataDelegate? = 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: URLSessionDataDelegate?,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:149:36: warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
147 |     /// - returns: A response with a decoded body. If the response type is
148 |     /// optional and the response body is empty, returns `nil`.
149 |     @discardableResult public func upload<T: Decodable>(
    |                                    |      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                                    `- warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
150 |         for request: Request<T>,
151 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:149:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
147 |     /// - returns: A response with a decoded body. If the response type is
148 |     /// optional and the response body is empty, returns `nil`.
149 |     @discardableResult public func upload<T: Decodable>(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
150 |         for request: Request<T>,
151 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:33:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 31 |     /// - returns: A response with a decoded body. If the response type is
 32 |     /// optional and the response body is empty, returns `nil`.
 33 |     func upload<T: Decodable>(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 34 |         for request: Request<T>,
 35 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:170:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
168 |     ///
169 |     /// - returns: Empry response.
170 |     @discardableResult public func upload(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:fromFile:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
171 |         for request: Request<Void>,
172 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:49:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |     ///
 48 |     /// - returns: Empry response.
 49 |     func upload(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 50 |         for request: Request<Void>,
 51 |         fromFile fileURL: URL,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:211:36: warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:from:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
209 |     /// - returns: A response with a decoded body. If the response type is
210 |     /// optional and the response body is empty, returns `nil`.
211 |     @discardableResult public func upload<T: Decodable>(
    |                                    |      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
    |                                    `- warning: non-sendable type 'Response<T>' returned by actor-isolated instance method 'upload(for:from:delegate:configure:)' satisfying protocol requirement cannot cross actor boundary; this is an error in the Swift 6 language mode
212 |         for request: Request<T>,
213 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:211:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
209 |     /// - returns: A response with a decoded body. If the response type is
210 |     /// optional and the response body is empty, returns `nil`.
211 |     @discardableResult public func upload<T: Decodable>(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
212 |         for request: Request<T>,
213 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:67:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 65 |     /// - returns: A response with a decoded body. If the response type is
 66 |     /// optional and the response body is empty, returns `nil`.
 67 |     func upload<T: Decodable>(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 68 |         for request: Request<T>,
 69 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:232:36: warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
230 |     ///
231 |     /// Returns decoded response.
232 |     @discardableResult public func upload(
    |                                    `- warning: non-sendable type '((inout URLRequest) throws -> Void)?' in parameter of the protocol requirement satisfied by actor-isolated instance method 'upload(for:from:delegate:configure:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
233 |         for request: Request<Void>,
234 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:83:10: note: a function type must be marked '@Sendable' to conform to 'Sendable'
 81 |     ///
 82 |     /// Returns decoded response.
 83 |     func upload(
    |          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 84 |         for request: Request<Void>,
 85 |         from data: Data,
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:89:34: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 80 |     /// - returns: A response with a decoded body. If the response type is
 81 |     /// optional and the response body is empty, returns `nil`.
 82 |     @discardableResult public func send<T: Decodable>(
    |                                         `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 83 |         _ request: Request<T>,
 84 |         delegate: URLSessionDataDelegate? = nil,
    :
 87 |         let response = try await data(for: request, delegate: delegate, configure: configure)
 88 |         let decoder = self.delegate.client(self, decoderForRequest: request) ?? self.decoder
 89 |         let value: T = try await decode(response.data, using: decoder)
    |                                  `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
 90 |         return response.map { _ in value }
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:157:34: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
147 |     /// - returns: A response with a decoded body. If the response type is
148 |     /// optional and the response body is empty, returns `nil`.
149 |     @discardableResult public func upload<T: Decodable>(
    |                                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
150 |         for request: Request<T>,
151 |         fromFile fileURL: URL,
    :
155 |         let response = try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure)
156 |         let decoder = self.delegate.client(self, decoderForRequest: request) ?? self.decoder
157 |         let value: T = try await decode(response.data, using: decoder)
    |                                  `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
158 |         return response.map { _ in value }
159 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:219:34: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
209 |     /// - returns: A response with a decoded body. If the response type is
210 |     /// optional and the response body is empty, returns `nil`.
211 |     @discardableResult public func upload<T: Decodable>(
    |                                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
212 |         for request: Request<T>,
213 |         from data: Data,
    :
217 |         let response = try await _upload(for: request, from: data, delegate: delegate, configure: configure)
218 |         let decoder = self.delegate.client(self, decoderForRequest: request) ?? self.decoder
219 |         let value: T = try await decode(response.data, using: decoder)
    |                                  `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
220 |         return response.map { _ in value }
221 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:319:30: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
315 |
316 |     // MARK: Helpers
317 |     private func performRequest<T>(attempts: Int = 1, send: () async throws -> T) async throws -> T {
    |                                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
318 |         do {
319 |             return try await send()
    |                              `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
320 |         } catch {
321 |             guard let error = error as? DataLoaderError else {
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:324:38: warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
322 |                 throw error
323 |             }
324 |             guard try await delegate.client(self, shouldRetry: error.task, error: error.error, attempts: attempts) else {
    |                                      |- warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: sending 'self'-isolated 'self.delegate' to nonisolated instance method 'client(_:shouldRetry:error:attempts:)' risks causing data races between nonisolated and 'self'-isolated uses
325 |                 throw error.error
326 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:126:37: warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
124 |         return try await performRequest {
125 |             var request = request
126 |             try await self.delegate.client(self, willSendRequest: &request)
    |                                     |- warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending 'self'-isolated 'self.delegate' to nonisolated instance method 'client(_:willSendRequest:)' risks causing data races between nonisolated and 'self'-isolated uses
127 |             let task = session.dataTask(with: request)
128 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:188:37: warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
186 |         return try await performRequest {
187 |             var request = request
188 |             try await self.delegate.client(self, willSendRequest: &request)
    |                                     |- warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending 'self'-isolated 'self.delegate' to nonisolated instance method 'client(_:willSendRequest:)' risks causing data races between nonisolated and 'self'-isolated uses
189 |             let task = session.uploadTask(with: request, fromFile: fileURL)
190 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:250:37: warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
248 |         return try await performRequest {
249 |             var request = request
250 |             try await self.delegate.client(self, willSendRequest: &request)
    |                                     |- warning: sending 'self.delegate' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending 'self'-isolated 'self.delegate' to nonisolated instance method 'client(_:willSendRequest:)' risks causing data races between nonisolated and 'self'-isolated uses
251 |             let task = session.uploadTask(with: request, from: data)
252 |             do {
[10/10] Compiling SkavokNetworking APIConfiguration.swift
BUILD FAILURE 6.0 macosSpm