The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftlyNetFlex, reference master (b42775), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 01:18:29 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/namazii/SwiftlyNetFlex.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/namazii/SwiftlyNetFlex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b427756 staging into master 1.0.0
Cloned https://github.com/namazii/SwiftlyNetFlex.git
Revision (git rev-parse @):
b427756ec38099e1ed77d8f81e6248a8d055ba44
SUCCESS checkout https://github.com/namazii/SwiftlyNetFlex.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftlynetflex",
      "name": "SwiftlyNetFlex",
      "url": "https://github.com/namazii/SwiftlyNetFlex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftlyNetFlex",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/namazii/SwiftlyNetFlex.git
[1/38] Fetching swiftlynetflex
Fetched https://github.com/namazii/SwiftlyNetFlex.git from cache (0.63s)
Creating working copy for https://github.com/namazii/SwiftlyNetFlex.git
Working copy of https://github.com/namazii/SwiftlyNetFlex.git resolved at master (b427756)
warning: '.resolve-product-dependencies': dependency 'swiftlynetflex' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/namazii/SwiftlyNetFlex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/21] Compiling SwiftlyNetFlex NetworkResponse.swift
[4/21] Compiling SwiftlyNetFlex CompletionRequest.swift
[5/21] Compiling SwiftlyNetFlex ParserNetworkData.swift
[6/21] Compiling SwiftlyNetFlex ResultRequest.swift
[7/21] Compiling SwiftlyNetFlex JSONParameterEncoder.swift
[8/21] Compiling SwiftlyNetFlex ParameterEncoding.swift
[9/21] Compiling SwiftlyNetFlex URLParameterEncoding.swift
[10/21] Compiling SwiftlyNetFlex FailureData.swift
[11/21] Compiling SwiftlyNetFlex NetworkEnvironment.swift
[12/21] Compiling SwiftlyNetFlex NetworkRequestError.swift
[13/21] Compiling SwiftlyNetFlex AtomicArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/SafedCollections/SafeArray.swift:34:13: warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
25 | import Foundation
26 |
27 | final class SafeArray<T> {
   |             `- note: generic class 'SafeArray' does not conform to the 'Sendable' protocol
28 |
29 |     private var array = [T]()
   :
32 |     public func append(_ value: T) {
33 |         dispatchQueue.async(flags: .barrier) {
34 |             self.array.append(value)
   |             `- warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
35 |         }
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/SafedCollections/SafeArray.swift:34:31: warning: capture of 'value' with non-Sendable type 'T' in a '@Sendable' closure [#SendableClosureCaptures]
25 | import Foundation
26 |
27 | final class SafeArray<T> {
   |                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 |
29 |     private var array = [T]()
   :
32 |     public func append(_ value: T) {
33 |         dispatchQueue.async(flags: .barrier) {
34 |             self.array.append(value)
   |                               `- warning: capture of 'value' with non-Sendable type 'T' in a '@Sendable' closure [#SendableClosureCaptures]
35 |         }
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/SafedCollections/SafeArray.swift:48:13: warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
25 | import Foundation
26 |
27 | final class SafeArray<T> {
   |             `- note: generic class 'SafeArray' does not conform to the 'Sendable' protocol
28 |
29 |     private var array = [T]()
   :
46 |     public func removeAll() {
47 |         dispatchQueue.async(flags: .barrier) {
48 |             self.array.removeAll()
   |             `- warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
49 |         }
50 |     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[14/21] Compiling SwiftlyNetFlex SafeArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/SafedCollections/SafeArray.swift:34:13: warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
25 | import Foundation
26 |
27 | final class SafeArray<T> {
   |             `- note: generic class 'SafeArray' does not conform to the 'Sendable' protocol
28 |
29 |     private var array = [T]()
   :
32 |     public func append(_ value: T) {
33 |         dispatchQueue.async(flags: .barrier) {
34 |             self.array.append(value)
   |             `- warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
35 |         }
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/SafedCollections/SafeArray.swift:34:31: warning: capture of 'value' with non-Sendable type 'T' in a '@Sendable' closure [#SendableClosureCaptures]
25 | import Foundation
26 |
27 | final class SafeArray<T> {
   |                       `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
28 |
29 |     private var array = [T]()
   :
32 |     public func append(_ value: T) {
33 |         dispatchQueue.async(flags: .barrier) {
34 |             self.array.append(value)
   |                               `- warning: capture of 'value' with non-Sendable type 'T' in a '@Sendable' closure [#SendableClosureCaptures]
35 |         }
36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/SafedCollections/SafeArray.swift:48:13: warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
25 | import Foundation
26 |
27 | final class SafeArray<T> {
   |             `- note: generic class 'SafeArray' does not conform to the 'Sendable' protocol
28 |
29 |     private var array = [T]()
   :
46 |     public func removeAll() {
47 |         dispatchQueue.async(flags: .barrier) {
48 |             self.array.removeAll()
   |             `- warning: capture of 'self' with non-Sendable type 'SafeArray<T>' in a '@Sendable' closure [#SendableClosureCaptures]
49 |         }
50 |     }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[15/21] Compiling SwiftlyNetFlex EndPointType.swift
[16/21] Compiling SwiftlyNetFlex HTTPMethod.swift
[17/21] Compiling SwiftlyNetFlex HTTPTask.swift
[18/21] Compiling SwiftlyNetFlex Log.swift
[19/21] Emitting module SwiftlyNetFlex
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:33:26: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
31 |
32 |     private let queue = DispatchQueue(label: "NetworkConnectivityMonitor")
33 |     private let monitor: NWPathMonitor
   |                          `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
34 |
35 |     private(set) var isConnected = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:37:45: error: 'NWInterface' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
35 |     private(set) var isConnected = false
36 |     private(set) var isExpensive = false
37 |     private(set) var currentConnectionType: NWInterface.InterfaceType?
   |                                             `- error: 'NWInterface' is only available in macOS 10.14 or newer
38 |
39 |     private init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:66:34: error: 'NWInterface' is only available in macOS 10.14 or newer
62 | }
63 |
64 | extension NWInterface.InterfaceType: @retroactive CaseIterable {
   | `- note: add '@available' attribute to enclosing extension
65 |
66 |     public static let allCases: [NWInterface.InterfaceType] = [
   |                       |          `- error: 'NWInterface' is only available in macOS 10.14 or newer
   |                       `- note: add '@available' attribute to enclosing static property
67 |         .other,
68 |         .wifi,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:64:11: error: 'NWInterface' is only available in macOS 10.14 or newer
62 | }
63 |
64 | extension NWInterface.InterfaceType: @retroactive CaseIterable {
   | |         `- error: 'NWInterface' is only available in macOS 10.14 or newer
   | `- note: add '@available' attribute to enclosing extension
65 |
66 |     public static let allCases: [NWInterface.InterfaceType] = [
[20/21] Compiling SwiftlyNetFlex NetworkConnectivityManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:33:26: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
31 |
32 |     private let queue = DispatchQueue(label: "NetworkConnectivityMonitor")
33 |     private let monitor: NWPathMonitor
   |                          `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
34 |
35 |     private(set) var isConnected = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:37:45: error: 'NWInterface' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
35 |     private(set) var isConnected = false
36 |     private(set) var isExpensive = false
37 |     private(set) var currentConnectionType: NWInterface.InterfaceType?
   |                                             `- error: 'NWInterface' is only available in macOS 10.14 or newer
38 |
39 |     private init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:66:34: error: 'NWInterface' is only available in macOS 10.14 or newer
62 | }
63 |
64 | extension NWInterface.InterfaceType: @retroactive CaseIterable {
   | `- note: add '@available' attribute to enclosing extension
65 |
66 |     public static let allCases: [NWInterface.InterfaceType] = [
   |                       |          `- error: 'NWInterface' is only available in macOS 10.14 or newer
   |                       `- note: add '@available' attribute to enclosing static property
67 |         .other,
68 |         .wifi,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:64:11: error: 'NWInterface' is only available in macOS 10.14 or newer
62 | }
63 |
64 | extension NWInterface.InterfaceType: @retroactive CaseIterable {
   | |         `- error: 'NWInterface' is only available in macOS 10.14 or newer
   | `- note: add '@available' attribute to enclosing extension
65 |
66 |     public static let allCases: [NWInterface.InterfaceType] = [
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:40:19: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
37 |     private(set) var currentConnectionType: NWInterface.InterfaceType?
38 |
39 |     private init() {
   |             `- note: add '@available' attribute to enclosing initializer
40 |         monitor = NWPathMonitor()
   |                   |- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
   |                   `- note: add 'if #available' version check
41 |     }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:51:44: error: conformance of 'NWPath.Status' to 'Equatable' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
45 |     }
46 |
47 |     public func startMonitoring() {
   |                 `- note: add '@available' attribute to enclosing instance method
48 |         monitor.pathUpdateHandler = { [weak self] path in
49 |             guard let self = self else { return }
50 |
51 |             self.isConnected = path.status != .unsatisfied
   |                                            |- error: conformance of 'NWPath.Status' to 'Equatable' is only available in macOS 10.14 or newer
   |                                            `- note: add 'if #available' version check
52 |             self.isExpensive = path.isExpensive
53 |             self.currentConnectionType = NWInterface.InterfaceType.allCases.filter { path.usesInterfaceType($0) }.first
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:53:42: error: 'NWInterface' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
45 |     }
46 |
47 |     public func startMonitoring() {
   |                 `- note: add '@available' attribute to enclosing instance method
48 |         monitor.pathUpdateHandler = { [weak self] path in
49 |             guard let self = self else { return }
   :
51 |             self.isConnected = path.status != .unsatisfied
52 |             self.isExpensive = path.isExpensive
53 |             self.currentConnectionType = NWInterface.InterfaceType.allCases.filter { path.usesInterfaceType($0) }.first
   |                                          |- error: 'NWInterface' is only available in macOS 10.14 or newer
   |                                          `- note: add 'if #available' version check
54 |         }
55 |         monitor.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:66:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 63 |
 64 |     // MARK: Modern Concurrency Wrapping
 65 |     public func request<T: Codable&Sendable>(_ dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 66 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 67 |             request(route, result: { (result: ResultRequestCase<T>) in
 68 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:66:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:66:51: note: expanded code originates here
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 63 |
 64 |     // MARK: Modern Concurrency Wrapping
 65 |     public func request<T: Codable&Sendable>(_ dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 66 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift
    |64 |
    |65 |
    |66 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +--------------------------------------------------------------------------------------------------
 67 |             request(route, result: { (result: ResultRequestCase<T>) in
 68 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:99:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 96 |     }
 97 |
 98 |     public func request<T: Codable&Sendable>(dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 99 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
100 |             request(route, resultHandler: { (result: ResultRequestCase<T>) in
101 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:99:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:99:51: note: expanded code originates here
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 96 |     }
 97 |
 98 |     public func request<T: Codable&Sendable>(dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 99 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift
    |97 |
    |98 |
    |99 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +--------------------------------------------------------------------------------------------------
100 |             request(route, resultHandler: { (result: ResultRequestCase<T>) in
101 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:123:34: warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>?' in a '@Sendable' closure [#SendableClosureCaptures]
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: generic class 'NetworkRouter' does not conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: Dependencies
    :
121 |
122 |             task = session.dataTask(with: request) { [weak self] data, response, error in
123 |                 guard let self = self, let task = task, (error as NSError?)?.code != -999 else {
    |                                  `- warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>?' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                     Log.error("Router: Task completion result invoke faild \nMaybe self or task is nil")
125 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:81: warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                 `- warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/EndPoint/EndPointType.swift:27:17: note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 25 | import Foundation
 26 |
 27 | public protocol EndPointType {
    |                 `- note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 28 |     var baseURL: URL { get }
 29 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:100: warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                                    |- warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
    |                                                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:123:34: warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
121 |
122 |             task = session.dataTask(with: request) { [weak self] data, response, error in
123 |                 guard let self = self, let task = task, (error as NSError?)?.code != -999 else {
    |                                  `- warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
124 |                     Log.error("Router: Task completion result invoke faild \nMaybe self or task is nil")
125 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:123:51: warning: reference to captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
121 |
122 |             task = session.dataTask(with: request) { [weak self] data, response, error in
123 |                 guard let self = self, let task = task, (error as NSError?)?.code != -999 else {
    |                                                   `- warning: reference to captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
124 |                     Log.error("Router: Task completion result invoke faild \nMaybe self or task is nil")
125 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:25: warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>' in a '@Sendable' closure [#SendableClosureCaptures]
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: generic class 'NetworkRouter' does not conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: Dependencies
    :
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                         `- warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>' in a '@Sendable' closure [#SendableClosureCaptures]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:81: warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                 `- warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/EndPoint/EndPointType.swift:27:17: note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 25 | import Foundation
 26 |
 27 | public protocol EndPointType {
    |                 `- note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 28 |     var baseURL: URL { get }
 29 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:100: warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                                    |- warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
    |                                                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:30: warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                              `- warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[21/21] Compiling SwiftlyNetFlex NetworkRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:33:26: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
31 |
32 |     private let queue = DispatchQueue(label: "NetworkConnectivityMonitor")
33 |     private let monitor: NWPathMonitor
   |                          `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
34 |
35 |     private(set) var isConnected = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:37:45: error: 'NWInterface' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
35 |     private(set) var isConnected = false
36 |     private(set) var isExpensive = false
37 |     private(set) var currentConnectionType: NWInterface.InterfaceType?
   |                                             `- error: 'NWInterface' is only available in macOS 10.14 or newer
38 |
39 |     private init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:66:34: error: 'NWInterface' is only available in macOS 10.14 or newer
62 | }
63 |
64 | extension NWInterface.InterfaceType: @retroactive CaseIterable {
   | `- note: add '@available' attribute to enclosing extension
65 |
66 |     public static let allCases: [NWInterface.InterfaceType] = [
   |                       |          `- error: 'NWInterface' is only available in macOS 10.14 or newer
   |                       `- note: add '@available' attribute to enclosing static property
67 |         .other,
68 |         .wifi,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:64:11: error: 'NWInterface' is only available in macOS 10.14 or newer
62 | }
63 |
64 | extension NWInterface.InterfaceType: @retroactive CaseIterable {
   | |         `- error: 'NWInterface' is only available in macOS 10.14 or newer
   | `- note: add '@available' attribute to enclosing extension
65 |
66 |     public static let allCases: [NWInterface.InterfaceType] = [
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:40:19: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
37 |     private(set) var currentConnectionType: NWInterface.InterfaceType?
38 |
39 |     private init() {
   |             `- note: add '@available' attribute to enclosing initializer
40 |         monitor = NWPathMonitor()
   |                   |- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
   |                   `- note: add 'if #available' version check
41 |     }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:51:44: error: conformance of 'NWPath.Status' to 'Equatable' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
45 |     }
46 |
47 |     public func startMonitoring() {
   |                 `- note: add '@available' attribute to enclosing instance method
48 |         monitor.pathUpdateHandler = { [weak self] path in
49 |             guard let self = self else { return }
50 |
51 |             self.isConnected = path.status != .unsatisfied
   |                                            |- error: conformance of 'NWPath.Status' to 'Equatable' is only available in macOS 10.14 or newer
   |                                            `- note: add 'if #available' version check
52 |             self.isExpensive = path.isExpensive
53 |             self.currentConnectionType = NWInterface.InterfaceType.allCases.filter { path.usesInterfaceType($0) }.first
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkConnectivityManager.swift:53:42: error: 'NWInterface' is only available in macOS 10.14 or newer
26 | import Network
27 |
28 | public final class NetworkMonitor: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
29 |
30 |     public static let shared = NetworkMonitor()
   :
45 |     }
46 |
47 |     public func startMonitoring() {
   |                 `- note: add '@available' attribute to enclosing instance method
48 |         monitor.pathUpdateHandler = { [weak self] path in
49 |             guard let self = self else { return }
   :
51 |             self.isConnected = path.status != .unsatisfied
52 |             self.isExpensive = path.isExpensive
53 |             self.currentConnectionType = NWInterface.InterfaceType.allCases.filter { path.usesInterfaceType($0) }.first
   |                                          |- error: 'NWInterface' is only available in macOS 10.14 or newer
   |                                          `- note: add 'if #available' version check
54 |         }
55 |         monitor.start(queue: queue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:66:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 63 |
 64 |     // MARK: Modern Concurrency Wrapping
 65 |     public func request<T: Codable&Sendable>(_ dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 66 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 67 |             request(route, result: { (result: ResultRequestCase<T>) in
 68 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:66:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:66:51: note: expanded code originates here
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 63 |
 64 |     // MARK: Modern Concurrency Wrapping
 65 |     public func request<T: Codable&Sendable>(_ dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 66 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift
    |64 |
    |65 |
    |66 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +--------------------------------------------------------------------------------------------------
 67 |             request(route, result: { (result: ResultRequestCase<T>) in
 68 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:99:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 96 |     }
 97 |
 98 |     public func request<T: Codable&Sendable>(dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 99 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
100 |             request(route, resultHandler: { (result: ResultRequestCase<T>) in
101 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:99:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:99:51: note: expanded code originates here
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: add '@available' attribute to enclosing generic class
 41 |
 42 |     // MARK: Dependencies
    :
 96 |     }
 97 |
 98 |     public func request<T: Codable&Sendable>(dataType: T.Type, _ route: EndPointType) async throws -> T {
    |                 `- note: add '@available' attribute to enclosing instance method
 99 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift
    |97 |
    |98 |
    |99 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +--------------------------------------------------------------------------------------------------
100 |             request(route, resultHandler: { (result: ResultRequestCase<T>) in
101 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:123:34: warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>?' in a '@Sendable' closure [#SendableClosureCaptures]
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: generic class 'NetworkRouter' does not conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: Dependencies
    :
121 |
122 |             task = session.dataTask(with: request) { [weak self] data, response, error in
123 |                 guard let self = self, let task = task, (error as NSError?)?.code != -999 else {
    |                                  `- warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>?' in a '@Sendable' closure [#SendableClosureCaptures]
124 |                     Log.error("Router: Task completion result invoke faild \nMaybe self or task is nil")
125 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:81: warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                 `- warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/EndPoint/EndPointType.swift:27:17: note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 25 | import Foundation
 26 |
 27 | public protocol EndPointType {
    |                 `- note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 28 |     var baseURL: URL { get }
 29 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:100: warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                                    |- warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
    |                                                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:123:34: warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
121 |
122 |             task = session.dataTask(with: request) { [weak self] data, response, error in
123 |                 guard let self = self, let task = task, (error as NSError?)?.code != -999 else {
    |                                  `- warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
124 |                     Log.error("Router: Task completion result invoke faild \nMaybe self or task is nil")
125 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:123:51: warning: reference to captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
121 |
122 |             task = session.dataTask(with: request) { [weak self] data, response, error in
123 |                 guard let self = self, let task = task, (error as NSError?)?.code != -999 else {
    |                                                   `- warning: reference to captured var 'task' in concurrently-executing code [#SendableClosureCaptures]
124 |                     Log.error("Router: Task completion result invoke faild \nMaybe self or task is nil")
125 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:25: warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>' in a '@Sendable' closure [#SendableClosureCaptures]
 38 | }
 39 |
 40 | public final class NetworkRouter<Config: TokenRefreshConfiguration>: NSObject, NetworkRouterProtocol where Config.ResponseType: Codable {
    |                    `- note: generic class 'NetworkRouter' does not conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: Dependencies
    :
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                         `- warning: capture of 'self' with non-Sendable type 'NetworkRouter<Config>' in a '@Sendable' closure [#SendableClosureCaptures]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:81: warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                 `- warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/EndPoint/EndPointType.swift:27:17: note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 25 | import Foundation
 26 |
 27 | public protocol EndPointType {
    |                 `- note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 28 |     var baseURL: URL { get }
 29 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:100: warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                                                                                                    |- warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
    |                                                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:131:30: warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
129 |
130 |                     self.queue.async { [weak task] in
131 |                         self.tokenAuthorizator.updateTokens(router: self, with: route, completion: completion)
    |                              `- warning: capture of non-Sendable type 'Config.Type' in an isolated closure [#SendableMetatypes]
132 |                         guard let task = task else { return }
133 |                         self.tasks.cancelAll(where: { $0 == task })
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[22/22] Compiling SwiftlyNetFlex TokenAuthorizator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:70:21: warning: initialization of immutable value 'values' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 68 |                 let data = TokenAuthorizatorData(router: router, route: route, isLog: isLog, completion: completion)
 69 |                 self.requests.append(data)
 70 |                 let values = self.requests.arrayValues.compactMap({ $0.route.path }).joined(separator: ", ")
    |                     `- warning: initialization of immutable value 'values' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 71 |                 return
 72 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:76:17: warning: initialization of immutable value 'values' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 74 |             let data = TokenAuthorizatorData(router: router, route: route, isLog: isLog, completion: completion)
 75 |             self.requests.append(data)
 76 |             let values = self.requests.arrayValues.compactMap({ $0.route.path }).joined(separator: ", ")
    |                 `- warning: initialization of immutable value 'values' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
 77 |
 78 |             self.refreshToken(router: router, using: self.configuration) { [weak self] result in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:84:38: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
 82 |                     self?.retryQueuedRequests(token: data)
 83 |
 84 |                 case .errorLocal(let error):
    |                                      `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
 85 |                     self?.configuration.onTokenRefreshFailed?()
 86 |                     self?.requests.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:88:40: warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
 86 |                     self?.requests.removeAll()
 87 |
 88 |                 case .errorNetwork(let error):
    |                                        `- warning: immutable value 'error' was never used; consider replacing with '_' or removing it [#no-usage]
 89 |                     self?.configuration.onTokenRefreshFailed?()
 90 |                     self?.requests.removeAll()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:68:58: warning: capture of 'router' with non-Sendable type 'any NetworkRouterProtocol' in a '@Sendable' closure [#SendableClosureCaptures]
 66 |
 67 |             guard self.requests.arrayValues.isEmpty else {
 68 |                 let data = TokenAuthorizatorData(router: router, route: route, isLog: isLog, completion: completion)
    |                                                          `- warning: capture of 'router' with non-Sendable type 'any NetworkRouterProtocol' in a '@Sendable' closure [#SendableClosureCaptures]
 69 |                 self.requests.append(data)
 70 |                 let values = self.requests.arrayValues.compactMap({ $0.route.path }).joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/NetworkRouter.swift:30:17: note: protocol 'NetworkRouterProtocol' does not conform to the 'Sendable' protocol
 28 |
 29 | // MARK: - NetworkRouter
 30 | public protocol NetworkRouterProtocol: AnyObject {
    |                 `- note: protocol 'NetworkRouterProtocol' does not conform to the 'Sendable' protocol
 31 |     func request<T: Codable>(_ dataType: T.Type, _ route: EndPointType) async throws -> T
 32 |     func request<T: Codable>(dataType: T.Type, _ route: EndPointType) async throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:68:73: warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
 66 |
 67 |             guard self.requests.arrayValues.isEmpty else {
 68 |                 let data = TokenAuthorizatorData(router: router, route: route, isLog: isLog, completion: completion)
    |                                                                         `- warning: capture of 'route' with non-Sendable type 'any EndPointType' in a '@Sendable' closure [#SendableClosureCaptures]
 69 |                 self.requests.append(data)
 70 |                 let values = self.requests.arrayValues.compactMap({ $0.route.path }).joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/EndPoint/EndPointType.swift:27:17: note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 25 | import Foundation
 26 |
 27 | public protocol EndPointType {
    |                 `- note: protocol 'EndPointType' does not conform to the 'Sendable' protocol
 28 |     var baseURL: URL { get }
 29 |     var path: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:68:106: warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
 66 |
 67 |             guard self.requests.arrayValues.isEmpty else {
 68 |                 let data = TokenAuthorizatorData(router: router, route: route, isLog: isLog, completion: completion)
    |                                                                                                          |- warning: capture of 'completion' with non-Sendable type 'NetworkRouterCompletion' (aka '(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure [#SendableClosureCaptures]
    |                                                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 69 |                 self.requests.append(data)
 70 |                 let values = self.requests.arrayValues.compactMap({ $0.route.path }).joined(separator: ", ")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:67:19: warning: capture of non-Sendable type 'ConfigurationType.Type' in an isolated closure [#SendableMetatypes]
 65 |         queue.async(flags: .barrier) {
 66 |
 67 |             guard self.requests.arrayValues.isEmpty else {
    |                   `- warning: capture of non-Sendable type 'ConfigurationType.Type' in an isolated closure [#SendableMetatypes]
 68 |                 let data = TokenAuthorizatorData(router: router, route: route, isLog: isLog, completion: completion)
 69 |                 self.requests.append(data)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyNetFlex/Service/TokenAuthorizator.swift:78:18: warning: capture of non-Sendable type 'ConfigurationType.ResponseType.Type' in an isolated closure [#SendableMetatypes]
 76 |             let values = self.requests.arrayValues.compactMap({ $0.route.path }).joined(separator: ", ")
 77 |
 78 |             self.refreshToken(router: router, using: self.configuration) { [weak self] result in
    |                  `- warning: capture of non-Sendable type 'ConfigurationType.ResponseType.Type' in an isolated closure [#SendableMetatypes]
 79 |                 switch result {
 80 |                 case .success(let data):
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
BUILD FAILURE 6.3 macosSpm