This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 NetworkXI with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/presscorp/NetworkXI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/presscorp/NetworkXI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e2e3010 major: Made setup of adapter's additionalHTTPHeaders via session configuration (#5)
Cloned https://github.com/presscorp/NetworkXI.git
Revision (git rev-parse @):
e2e3010ccdb96e3fccde2c4a79d73adf4a8290ed
SUCCESS checkout https://github.com/presscorp/NetworkXI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/presscorp/NetworkXI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/37] Emitting module NetworkXI
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 8 | import Network
 9 |
10 | protocol NetworkConnectionChecker: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     var connectionMonitor: NWPathMonitor { get }
   |         |                  `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     var connectionMonitorQueue: DispatchQueue { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:33:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
 12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
 13 | public class ClassicNetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
    |              `- note: add @available attribute to enclosing class
 14 |
 15 |     public var defaultSSLChallengeEnabled = false
    :
 31 |     var networkIsReachable = false
 32 |
 33 |     let connectionMonitor = NWPathMonitor()
    |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 34 |
 35 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:31:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public class NetworkSessionAdapter: SessionAuthChallenger, NetworkConnectionChecker {
   |              `- note: add @available attribute to enclosing class
14 |
15 |     public var defaultSSLChallengeEnabled = false
   :
29 |     var networkIsReachable = false
30 |
31 |     let connectionMonitor = NWPathMonitor()
   |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
32 |
33 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:10:7: warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class SessionDelegationHandler: NSObject {
   |       `- warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:12:14: warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
10 | class SessionDelegationHandler: NSObject {
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
   |              `- warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
13 |
14 |     weak var lifeCycle: SessionLifeCycleService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:64:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
63 |         _ session: URLSession,
64 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
65 |         didOpenWithProtocol protocol: String?
66 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:72:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
74 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:73:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
74 |         reason: Data?
75 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:14:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
13 |         _ session: URLSession,
14 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 |         didOpenWithProtocol protocol: String?
16 |     )
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:20:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
22 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:21:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
22 |         reason: Data?
23 |     )
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:14:33: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
   |               |                 `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
15 |
16 |     ///  Establishing web-socket connection
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:11:35: error: 'AsyncSequence' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 |                 `- error: 'AsyncSequence' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:18: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                  `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:84: error: 'Iterator' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                                                                                    `- error: 'Iterator' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:26:38: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 24 |     private let sessionDelegate = SessionDelegationHandler()
 25 |
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
    |                                      `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:28:41: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
    |                                         `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 29 |
 30 |     public required init() {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:58:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:85:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 84 |         _ session: URLSession,
 85 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 86 |         didOpenWithProtocol protocol: String?
 87 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:93:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
 95 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:94:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
    |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 95 |         reason: Data?
 96 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionInterface.swift:34:44: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Interface between fundamental network session and its worker (web-socket service)
11 | public protocol WebSocketSessionInterface: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
12 |
13 |     /// Common HTTP headers applied to connection made within this session
   :
32 |
33 |     @discardableResult
34 |     func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode
   |          |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:12:20: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   |         |          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:14:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:16:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:20:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
19 |
20 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
   |                 `- note: 'receive()' declared here
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
 6 |     }
 7 |     public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
   |                 `- note: 'send' declared here
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
24 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:80:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 76 | }
 77 |
 78 | extension WebSocketWorker: WebSocketService {
    | `- note: add @available attribute to enclosing extension
 79 |
 80 |     public typealias Element = URLSessionWebSocketTask.Message
    |                      |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing type alias
 81 |
 82 |     public func makeAsyncIterator() -> AsyncIterator {
[4/40] Compiling NetworkXI SessionLifeCycle.swift
[5/40] Compiling NetworkXI SessionLifeCycleService.swift
[6/40] Compiling NetworkXI SessionRenewalService.swift
[7/40] Compiling NetworkXI SessionTaskKeeper.swift
[8/40] Compiling NetworkXI SuccessResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
   |             `- note: add @available attribute to enclosing extension
40 |
41 |     func getJsonString(pretty: Bool = false) -> String? {
   |          `- note: add @available attribute to enclosing instance method
42 |         var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 |         if pretty {
44 |             writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
   |                                                                                  |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
   |                                                                                  `- note: add 'if #available' version check
45 |         }
46 |
[9/40] Compiling NetworkXI Data+extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
   |             `- note: add @available attribute to enclosing extension
40 |
41 |     func getJsonString(pretty: Bool = false) -> String? {
   |          `- note: add @available attribute to enclosing instance method
42 |         var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 |         if pretty {
44 |             writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
   |                                                                                  |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
   |                                                                                  `- note: add 'if #available' version check
45 |         }
46 |
[10/40] Compiling NetworkXI PathInitializable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
   |             `- note: add @available attribute to enclosing extension
40 |
41 |     func getJsonString(pretty: Bool = false) -> String? {
   |          `- note: add @available attribute to enclosing instance method
42 |         var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 |         if pretty {
44 |             writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
   |                                                                                  |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
   |                                                                                  `- note: add 'if #available' version check
45 |         }
46 |
[11/40] Compiling NetworkXI String+extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Utils/Data+extension.swift:44:82: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
37 | }
38 |
39 | fileprivate extension Data {
   |             `- note: add @available attribute to enclosing extension
40 |
41 |     func getJsonString(pretty: Bool = false) -> String? {
   |          `- note: add @available attribute to enclosing instance method
42 |         var writingOptions: JSONSerialization.WritingOptions = [.fragmentsAllowed]
43 |         if pretty {
44 |             writingOptions = writingOptions.union([.prettyPrinted, .sortedKeys, .withoutEscapingSlashes])
   |                                                                                  |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
   |                                                                                  `- note: add 'if #available' version check
45 |         }
46 |
[12/40] Compiling NetworkXI ConsoleLogger.swift
[13/40] Compiling NetworkXI FailureResponse.swift
[14/40] Compiling NetworkXI MultipartFormDataRequest.swift
[15/40] Compiling NetworkXI NetworkCompose.swift
[16/40] Compiling NetworkXI WebSocketLifeCycleService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:14:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
13 |         _ session: URLSession,
14 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 |         didOpenWithProtocol protocol: String?
16 |     )
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:20:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
22 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:21:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
22 |         reason: Data?
23 |     )
[17/40] Compiling NetworkXI WebSocketLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:14:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
13 |         _ session: URLSession,
14 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 |         didOpenWithProtocol protocol: String?
16 |     )
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:20:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
22 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:21:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
22 |         reason: Data?
23 |     )
[18/40] Compiling NetworkXI WebSocketRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:14:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
13 |         _ session: URLSession,
14 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 |         didOpenWithProtocol protocol: String?
16 |     )
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:20:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
22 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketLifeCycleService.swift:21:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | protocol WebSocketLifeCycleService: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     func urlSession(
   :
16 |     )
17 |
18 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
19 |         _ session: URLSession,
20 |         webSocketTask: URLSessionWebSocketTask,
21 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
22 |         reason: Data?
23 |     )
[19/40] Compiling NetworkXI WebSocketService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:14:33: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
   |               |                 `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
15 |
16 |     ///  Establishing web-socket connection
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:11:35: error: 'AsyncSequence' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 |                 `- error: 'AsyncSequence' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:18: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                  `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:84: error: 'Iterator' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                                                                                    `- error: 'Iterator' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:26:38: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 24 |     private let sessionDelegate = SessionDelegationHandler()
 25 |
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
    |                                      `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:28:41: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
    |                                         `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 29 |
 30 |     public required init() {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:58:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:85:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 84 |         _ session: URLSession,
 85 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 86 |         didOpenWithProtocol protocol: String?
 87 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:93:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
 95 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:94:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
    |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 95 |         reason: Data?
 96 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:45:28: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    |                            |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 46 |         task.resume()
 47 |         session.finishTasksAndInvalidate()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    :
 52 |         }
 53 |
 54 |         return try await withCheckedThrowingContinuation { [weak self] in self?.connectContinuation = $0 }
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    :
 52 |         }
 53 |
 54 |         return try await withCheckedThrowingContinuation { [weak self] in self?.connectContinuation = $0 }
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |52 |
    |53 |
    |54 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |58 |
    |59 |
    |60 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:75:30: error: 'resume()' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
 75 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 76 |             }
 77 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |70 |
    |71 |
    |72 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionInterface.swift:34:44: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Interface between fundamental network session and its worker (web-socket service)
11 | public protocol WebSocketSessionInterface: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
12 |
13 |     /// Common HTTP headers applied to connection made within this session
   :
32 |
33 |     @discardableResult
34 |     func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode
   |          |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 | }
36 |
[20/40] Compiling NetworkXI WebSocketSessionAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:14:33: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
   |               |                 `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
15 |
16 |     ///  Establishing web-socket connection
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:11:35: error: 'AsyncSequence' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 |                 `- error: 'AsyncSequence' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:18: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                  `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:84: error: 'Iterator' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                                                                                    `- error: 'Iterator' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:26:38: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 24 |     private let sessionDelegate = SessionDelegationHandler()
 25 |
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
    |                                      `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:28:41: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
    |                                         `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 29 |
 30 |     public required init() {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:58:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:85:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 84 |         _ session: URLSession,
 85 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 86 |         didOpenWithProtocol protocol: String?
 87 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:93:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
 95 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:94:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
    |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 95 |         reason: Data?
 96 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:45:28: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    |                            |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 46 |         task.resume()
 47 |         session.finishTasksAndInvalidate()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    :
 52 |         }
 53 |
 54 |         return try await withCheckedThrowingContinuation { [weak self] in self?.connectContinuation = $0 }
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    :
 52 |         }
 53 |
 54 |         return try await withCheckedThrowingContinuation { [weak self] in self?.connectContinuation = $0 }
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |52 |
    |53 |
    |54 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |58 |
    |59 |
    |60 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:75:30: error: 'resume()' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
 75 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 76 |             }
 77 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |70 |
    |71 |
    |72 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionInterface.swift:34:44: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Interface between fundamental network session and its worker (web-socket service)
11 | public protocol WebSocketSessionInterface: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
12 |
13 |     /// Common HTTP headers applied to connection made within this session
   :
32 |
33 |     @discardableResult
34 |     func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode
   |          |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 | }
36 |
[21/40] Compiling NetworkXI WebSocketSessionInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:14:33: error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
   |               |                 `- error: 'AsyncThrowingStream' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
15 |
16 |     ///  Establishing web-socket connection
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:11:35: error: 'AsyncSequence' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 |                 `- error: 'AsyncSequence' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
13 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:18: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                  `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketService.swift:12:84: error: 'Iterator' is only available in macOS 10.15 or newer
 9 |
10 | /// Base service for web-socket message exchange
11 | public protocol WebSocketService: AsyncSequence
   |                 `- note: add @available attribute to enclosing protocol
12 | where Element == URLSessionWebSocketTask.Message, AsyncIterator == WebSocketStream.Iterator {
   |                                                                                    `- error: 'Iterator' is only available in macOS 10.15 or newer
13 |
14 |     typealias WebSocketStream = AsyncThrowingStream<Element, Error>
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:26:38: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 24 |     private let sessionDelegate = SessionDelegationHandler()
 25 |
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
    |                                      `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:28:41: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 10 | /// Adapter between fundamental web-socket and its worker (socket service);
 11 | /// It's much better to use worker (WebSocketWorker) instead of applying adapter directly for socket message exchange
 12 | public class WebSocketSessionAdapter: SessionAuthChallenger {
    |              `- note: add @available attribute to enclosing class
 13 |
 14 |     public var additionalHTTPHeaders = [String: String]()
    :
 26 |     private var connectContinuation: CheckedContinuation<WebSocketTask, Error>?
 27 |
 28 |     private var disconnectContinuation: CheckedContinuation<URLSessionWebSocketTask.CloseCode, Error>?
    |                                         `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 29 |
 30 |     public required init() {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:58:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:85:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 84 |         _ session: URLSession,
 85 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 86 |         didOpenWithProtocol protocol: String?
 87 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:93:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
    |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
 95 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:94:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 79 | }
 80 |
 81 | extension WebSocketSessionAdapter: WebSocketLifeCycleService {
    | `- note: add @available attribute to enclosing extension
 82 |
 83 |     func urlSession(
    :
 89 |     }
 90 |
 91 |     func urlSession(
    |          `- note: add @available attribute to enclosing instance method
 92 |         _ session: URLSession,
 93 |         webSocketTask: URLSessionWebSocketTask,
 94 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
    |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 95 |         reason: Data?
 96 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:45:28: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    |                            |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 46 |         task.resume()
 47 |         session.finishTasksAndInvalidate()
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    :
 52 |         }
 53 |
 54 |         return try await withCheckedThrowingContinuation { [weak self] in self?.connectContinuation = $0 }
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:54:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    |                 `- note: add @available attribute to enclosing instance method
 44 |         let session = URLSession(configuration: .ephemeral, delegate: sessionDelegate, delegateQueue: .main)
 45 |         let task = session.webSocketTask(with: request)
    :
 52 |         }
 53 |
 54 |         return try await withCheckedThrowingContinuation { [weak self] in self?.connectContinuation = $0 }
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |52 |
    |53 |
    |54 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:60:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 56 |
 57 |     @discardableResult
 58 |     public func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode {
    |                 `- note: add @available attribute to enclosing instance method
 59 |         defer { disconnectContinuation = nil }
 60 |         return try await withCheckedThrowingContinuation { [weak self] in self?.disconnectContinuation = $0 }
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |58 |
    |59 |
    |60 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:75:30: error: 'resume()' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
 75 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 76 |             }
 77 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift:72:58: note: expanded code originates here
 39 | }
 40 |
 41 | extension WebSocketSessionAdapter: WebSocketSessionInterface {
    | `- note: add @available attribute to enclosing extension
 42 |
 43 |     public func resumedTask(with request: URLRequest) async throws -> WebSocketTask {
    :
 69 |     }
 70 |
 71 |     public func ping(via task: WebSocketTask) async throws {
    |                 `- note: add @available attribute to enclosing instance method
 72 |         return try await withCheckedThrowingContinuation { [weak task] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionAdapter.swift
    |70 |
    |71 |
    |72 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 73 |             task?.sendPing { error in
 74 |                 if let error { return continuation.resume(throwing: error) }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketSessionInterface.swift:34:44: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 9 |
10 | /// Interface between fundamental network session and its worker (web-socket service)
11 | public protocol WebSocketSessionInterface: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
12 |
13 |     /// Common HTTP headers applied to connection made within this session
   :
32 |
33 |     @discardableResult
34 |     func awaitDisconnect() async throws -> URLSessionWebSocketTask.CloseCode
   |          |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 | }
36 |
[22/40] Compiling NetworkXI NetworkResponse.swift
[23/40] Compiling NetworkXI NetworkService.swift
[24/40] Compiling NetworkXI NetworkWorker.swift
[25/40] Compiling NetworkXI RequestContentEncoding.swift
[26/40] Compiling NetworkXI WebSocketTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:12:20: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   |         |          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:14:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:16:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:20:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
19 |
20 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
   |                 `- note: 'receive()' declared here
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
 6 |     }
 7 |     public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
   |                 `- note: 'send' declared here
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
24 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:80:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 76 | }
 77 |
 78 | extension WebSocketWorker: WebSocketService {
    | `- note: add @available attribute to enclosing extension
 79 |
 80 |     public typealias Element = URLSessionWebSocketTask.Message
    |                      |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing type alias
 81 |
 82 |     public func makeAsyncIterator() -> AsyncIterator {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:26: warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |                          `- warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:30:28: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 28 |                     while task.closeCode == .invalid {
 29 |                         let message = try await task.receive()
 30 |                         if sessionInterface.loggingEnabled {
    |                            `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 31 |                             if case .string(let string) = message {
 32 |                                 WebSocketLogger.log(receivedMessage: string)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:41:24: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 39 |                     }
 40 |                 } catch {
 41 |                     if sessionInterface.loggingEnabled { WebSocketLogger.log(error: error) }
    |                        `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 42 |                     continuation.finish(throwing: error)
 43 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:13: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 19 |     private var stream: WebSocketStream?
 20 |
 21 |     private var newStream: WebSocketStream {
    |                 `- note: add @available attribute to enclosing property
 22 |         return WebSocketStream { [weak self] continuation in
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |             |- error: 'Task' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:13: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 19 |     private var stream: WebSocketStream?
 20 |
 21 |     private var newStream: WebSocketStream {
    |                 `- note: add @available attribute to enclosing property
 22 |         return WebSocketStream { [weak self] continuation in
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |             |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:26:27: warning: capture of 'task' with non-sendable type '(any WebSocketTask)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 |
 25 |             Task { [weak task] in
 26 |                 guard let task else { return }
    |                           `- warning: capture of 'task' with non-sendable type '(any WebSocketTask)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |                 do {
 28 |                     while task.closeCode == .invalid {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:10:17: note: protocol 'WebSocketTask' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: protocol 'WebSocketTask' does not conform to the 'Sendable' protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:30:28: warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: class 'WebSocketWorker' does not conform to the 'Sendable' protocol
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 28 |                     while task.closeCode == .invalid {
 29 |                         let message = try await task.receive()
 30 |                         if sessionInterface.loggingEnabled {
    |                            `- warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 |                             if case .string(let string) = message {
 32 |                                 WebSocketLogger.log(receivedMessage: string)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:9: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:26: warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: class 'WebSocketWorker' does not conform to the 'Sendable' protocol
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |                          `- warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:88:23: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
 76 | }
 77 |
 78 | extension WebSocketWorker: WebSocketService {
    | `- note: add @available attribute to enclosing extension
 79 |
 80 |     public typealias Element = URLSessionWebSocketTask.Message
 81 |
 82 |     public func makeAsyncIterator() -> AsyncIterator {
    |                 `- note: add @available attribute to enclosing instance method
 83 |         guard let stream else {
 84 |             stream = newStream
    :
 86 |         }
 87 |
 88 |         return stream.makeAsyncIterator()
    |                       |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 89 |     }
 90 |
[27/40] Compiling NetworkXI WebSocketURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:12:20: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   |         |          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:14:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:16:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:20:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
19 |
20 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
   |                 `- note: 'receive()' declared here
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
 6 |     }
 7 |     public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
   |                 `- note: 'send' declared here
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
24 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:80:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 76 | }
 77 |
 78 | extension WebSocketWorker: WebSocketService {
    | `- note: add @available attribute to enclosing extension
 79 |
 80 |     public typealias Element = URLSessionWebSocketTask.Message
    |                      |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing type alias
 81 |
 82 |     public func makeAsyncIterator() -> AsyncIterator {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:26: warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |                          `- warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:30:28: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 28 |                     while task.closeCode == .invalid {
 29 |                         let message = try await task.receive()
 30 |                         if sessionInterface.loggingEnabled {
    |                            `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 31 |                             if case .string(let string) = message {
 32 |                                 WebSocketLogger.log(receivedMessage: string)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:41:24: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 39 |                     }
 40 |                 } catch {
 41 |                     if sessionInterface.loggingEnabled { WebSocketLogger.log(error: error) }
    |                        `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 42 |                     continuation.finish(throwing: error)
 43 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:13: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 19 |     private var stream: WebSocketStream?
 20 |
 21 |     private var newStream: WebSocketStream {
    |                 `- note: add @available attribute to enclosing property
 22 |         return WebSocketStream { [weak self] continuation in
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |             |- error: 'Task' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:13: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 19 |     private var stream: WebSocketStream?
 20 |
 21 |     private var newStream: WebSocketStream {
    |                 `- note: add @available attribute to enclosing property
 22 |         return WebSocketStream { [weak self] continuation in
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |             |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:26:27: warning: capture of 'task' with non-sendable type '(any WebSocketTask)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 |
 25 |             Task { [weak task] in
 26 |                 guard let task else { return }
    |                           `- warning: capture of 'task' with non-sendable type '(any WebSocketTask)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |                 do {
 28 |                     while task.closeCode == .invalid {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:10:17: note: protocol 'WebSocketTask' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: protocol 'WebSocketTask' does not conform to the 'Sendable' protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:30:28: warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: class 'WebSocketWorker' does not conform to the 'Sendable' protocol
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 28 |                     while task.closeCode == .invalid {
 29 |                         let message = try await task.receive()
 30 |                         if sessionInterface.loggingEnabled {
    |                            `- warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 |                             if case .string(let string) = message {
 32 |                                 WebSocketLogger.log(receivedMessage: string)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:9: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:26: warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: class 'WebSocketWorker' does not conform to the 'Sendable' protocol
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |                          `- warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:88:23: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
 76 | }
 77 |
 78 | extension WebSocketWorker: WebSocketService {
    | `- note: add @available attribute to enclosing extension
 79 |
 80 |     public typealias Element = URLSessionWebSocketTask.Message
 81 |
 82 |     public func makeAsyncIterator() -> AsyncIterator {
    |                 `- note: add @available attribute to enclosing instance method
 83 |         guard let stream else {
 84 |             stream = newStream
    :
 86 |         }
 87 |
 88 |         return stream.makeAsyncIterator()
    |                       |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 89 |     }
 90 |
[28/40] Compiling NetworkXI WebSocketWorker.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:12:20: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   |         |          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:14:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:16:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:20:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
   :
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
19 |
20 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
13 |
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'receive()' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:10:17: note: 'receive()' declared here
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
   |                 `- note: 'receive()' declared here
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:1: error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
14 |     func receive() async throws -> URLSessionWebSocketTask.Message
15 |
16 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
17 |
18 |     func sendPing(pongReceiveHandler: @escaping @Sendable (Error?) -> Void)
   :
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | `- error: protocol 'WebSocketTask' requires 'send' to be available in macOS 10.13 and newer
24 |
Foundation.URLSessionWebSocketTask:8:17: note: 'send' declared here
 6 |     }
 7 |     public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping ((any Error)?) -> Void)
 8 |     public func send(_ message: URLSessionWebSocketTask.Message) async throws
   |                 `- note: 'send' declared here
 9 |     public func receive(completionHandler: @escaping (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)
10 |     public func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:23:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension URLSessionWebSocketTask: WebSocketTask {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
24 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:80:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 76 | }
 77 |
 78 | extension WebSocketWorker: WebSocketService {
    | `- note: add @available attribute to enclosing extension
 79 |
 80 |     public typealias Element = URLSessionWebSocketTask.Message
    |                      |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                      `- note: add @available attribute to enclosing type alias
 81 |
 82 |     public func makeAsyncIterator() -> AsyncIterator {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:26: warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |                          `- warning: reference to property 'task' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:30:28: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 28 |                     while task.closeCode == .invalid {
 29 |                         let message = try await task.receive()
 30 |                         if sessionInterface.loggingEnabled {
    |                            `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 31 |                             if case .string(let string) = message {
 32 |                                 WebSocketLogger.log(receivedMessage: string)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:41:24: warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 39 |                     }
 40 |                 } catch {
 41 |                     if sessionInterface.loggingEnabled { WebSocketLogger.log(error: error) }
    |                        `- warning: reference to property 'sessionInterface' in closure requires explicit use of 'self' to make capture semantics explicit; this is an error in the Swift 6 language mode
 42 |                     continuation.finish(throwing: error)
 43 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:13: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 19 |     private var stream: WebSocketStream?
 20 |
 21 |     private var newStream: WebSocketStream {
    |                 `- note: add @available attribute to enclosing property
 22 |         return WebSocketStream { [weak self] continuation in
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |             |- error: 'Task' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:25:13: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 19 |     private var stream: WebSocketStream?
 20 |
 21 |     private var newStream: WebSocketStream {
    |                 `- note: add @available attribute to enclosing property
 22 |         return WebSocketStream { [weak self] continuation in
 23 |             self?.streamContinuation = continuation
 24 |
 25 |             Task { [weak task] in
    |             |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 26 |                 guard let task else { return }
 27 |                 do {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:26:27: warning: capture of 'task' with non-sendable type '(any WebSocketTask)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 |
 25 |             Task { [weak task] in
 26 |                 guard let task else { return }
    |                           `- warning: capture of 'task' with non-sendable type '(any WebSocketTask)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |                 do {
 28 |                     while task.closeCode == .invalid {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketTask.swift:10:17: note: protocol 'WebSocketTask' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public protocol WebSocketTask: AnyObject {
   |                 `- note: protocol 'WebSocketTask' does not conform to the 'Sendable' protocol
11 |
12 |     var closeCode: URLSessionWebSocketTask.CloseCode { get }
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:30:28: warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: class 'WebSocketWorker' does not conform to the 'Sendable' protocol
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 28 |                     while task.closeCode == .invalid {
 29 |                         let message = try await task.receive()
 30 |                         if sessionInterface.loggingEnabled {
    |                            `- warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 |                             if case .string(let string) = message {
 32 |                                 WebSocketLogger.log(receivedMessage: string)
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:9: error: 'Task' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: add @available attribute to enclosing class
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:55:26: warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// Worker class intended for web-socket tasks
 11 | public class WebSocketWorker {
    |              `- note: class 'WebSocketWorker' does not conform to the 'Sendable' protocol
 12 |
 13 |     private let sessionInterface: WebSocketSessionInterface
    :
 53 |
 54 |     deinit {
 55 |         Task { try await disconnect() }
    |                          `- warning: capture of 'self' with non-sendable type 'WebSocketWorker' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 |     }
 57 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/WebSocket/WebSocketWorker.swift:88:23: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
 76 | }
 77 |
 78 | extension WebSocketWorker: WebSocketService {
    | `- note: add @available attribute to enclosing extension
 79 |
 80 |     public typealias Element = URLSessionWebSocketTask.Message
 81 |
 82 |     public func makeAsyncIterator() -> AsyncIterator {
    |                 `- note: add @available attribute to enclosing instance method
 83 |         guard let stream else {
 84 |             stream = newStream
    :
 86 |         }
 87 |
 88 |         return stream.makeAsyncIterator()
    |                       |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 89 |     }
 90 |
[29/40] Compiling NetworkXI NetworkSessionInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionAuthChallenger.swift:28:29: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
   | `- note: add @available attribute to enclosing extension
13 |
14 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
15 |         _ session: URLSession,
16 |         didReceive challenge: URLAuthenticationChallenge
   :
26 |         if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
27 |         let serverTrust = challenge.protectionSpace.serverTrust {
28 |             let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
   |                             |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
   |                             `- note: add 'if #available' version check
29 |
30 |             if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:10:7: warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class SessionDelegationHandler: NSObject {
   |       `- warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:12:14: warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
10 | class SessionDelegationHandler: NSObject {
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
   |              `- warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
13 |
14 |     weak var lifeCycle: SessionLifeCycleService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:64:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
63 |         _ session: URLSession,
64 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
65 |         didOpenWithProtocol protocol: String?
66 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:72:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
74 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:73:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
74 |         reason: Data?
75 |     ) {
[30/40] Compiling NetworkXI SessionAuthChallengeService.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionAuthChallenger.swift:28:29: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
   | `- note: add @available attribute to enclosing extension
13 |
14 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
15 |         _ session: URLSession,
16 |         didReceive challenge: URLAuthenticationChallenge
   :
26 |         if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
27 |         let serverTrust = challenge.protectionSpace.serverTrust {
28 |             let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
   |                             |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
   |                             `- note: add 'if #available' version check
29 |
30 |             if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:10:7: warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class SessionDelegationHandler: NSObject {
   |       `- warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:12:14: warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
10 | class SessionDelegationHandler: NSObject {
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
   |              `- warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
13 |
14 |     weak var lifeCycle: SessionLifeCycleService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:64:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
63 |         _ session: URLSession,
64 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
65 |         didOpenWithProtocol protocol: String?
66 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:72:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
74 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:73:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
74 |         reason: Data?
75 |     ) {
[31/40] Compiling NetworkXI SessionAuthChallenger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionAuthChallenger.swift:28:29: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
   | `- note: add @available attribute to enclosing extension
13 |
14 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
15 |         _ session: URLSession,
16 |         didReceive challenge: URLAuthenticationChallenge
   :
26 |         if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
27 |         let serverTrust = challenge.protectionSpace.serverTrust {
28 |             let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
   |                             |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
   |                             `- note: add 'if #available' version check
29 |
30 |             if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:10:7: warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class SessionDelegationHandler: NSObject {
   |       `- warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:12:14: warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
10 | class SessionDelegationHandler: NSObject {
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
   |              `- warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
13 |
14 |     weak var lifeCycle: SessionLifeCycleService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:64:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
63 |         _ session: URLSession,
64 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
65 |         didOpenWithProtocol protocol: String?
66 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:72:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
74 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:73:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
74 |         reason: Data?
75 |     ) {
[32/40] Compiling NetworkXI SessionDelegationHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionAuthChallenger.swift:28:29: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
10 | protocol SessionAuthChallenger: SessionAuthChallengeService {}
11 |
12 | extension SessionAuthChallenger {
   | `- note: add @available attribute to enclosing extension
13 |
14 |     func urlSession(
   |          `- note: add @available attribute to enclosing instance method
15 |         _ session: URLSession,
16 |         didReceive challenge: URLAuthenticationChallenge
   :
26 |         if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
27 |         let serverTrust = challenge.protectionSpace.serverTrust {
28 |             let isTrusted = SecTrustEvaluateWithError(serverTrust, nil)
   |                             |- error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
   |                             `- note: add 'if #available' version check
29 |
30 |             if isTrusted, let serverCertificate = SecTrustGetCertificateAtIndex(serverTrust, 0) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:10:7: warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class SessionDelegationHandler: NSObject {
   |       `- warning: non-final class 'SessionDelegationHandler' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:12:14: warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
10 | class SessionDelegationHandler: NSObject {
11 |
12 |     weak var authChallenge: SessionAuthChallengeService?
   |              `- warning: stored property 'authChallenge' of 'Sendable'-conforming class 'SessionDelegationHandler' is mutable; this is an error in the Swift 6 language mode
13 |
14 |     weak var lifeCycle: SessionLifeCycleService?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:64:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
63 |         _ session: URLSession,
64 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
65 |         didOpenWithProtocol protocol: String?
66 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:72:24: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
   |                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
74 |         reason: Data?
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session/SessionDelegationHandler.swift:73:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
58 | }
59 |
60 | extension SessionDelegationHandler: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
61 |
62 |     public func urlSession(
   :
68 |     }
69 |
70 |     public func urlSession(
   |                 `- note: add @available attribute to enclosing instance method
71 |         _ session: URLSession,
72 |         webSocketTask: URLSessionWebSocketTask,
73 |         didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
74 |         reason: Data?
75 |     ) {
[33/40] Compiling NetworkXI RequestMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:33:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
 12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
 13 | public class ClassicNetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
    |              `- note: add @available attribute to enclosing class
 14 |
 15 |     public var defaultSSLChallengeEnabled = false
    :
 31 |     var networkIsReachable = false
 32 |
 33 |     let connectionMonitor = NWPathMonitor()
    |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 34 |
 35 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |94 |
    |95 |
    |96 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |111 |
    |112 |
    |113 |                                                          #isolation
    |    |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:31:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public class NetworkSessionAdapter: SessionAuthChallenger, NetworkConnectionChecker {
   |              `- note: add @available attribute to enclosing class
14 |
15 |     public var defaultSSLChallengeEnabled = false
   :
29 |     var networkIsReachable = false
30 |
31 |     let connectionMonitor = NWPathMonitor()
   |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
32 |
33 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:72:34: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
69 |     }
70 |
71 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
72 |         return try await session.data(for: request)
   |                                  |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:76:34: error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
73 |     }
74 |
75 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
76 |         return try await session.upload(for: request, from: bodyData)
   |                                  |- error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
77 |     }
78 |
[34/40] Compiling NetworkXI RequestURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:33:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
 12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
 13 | public class ClassicNetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
    |              `- note: add @available attribute to enclosing class
 14 |
 15 |     public var defaultSSLChallengeEnabled = false
    :
 31 |     var networkIsReachable = false
 32 |
 33 |     let connectionMonitor = NWPathMonitor()
    |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 34 |
 35 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |94 |
    |95 |
    |96 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |111 |
    |112 |
    |113 |                                                          #isolation
    |    |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:31:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public class NetworkSessionAdapter: SessionAuthChallenger, NetworkConnectionChecker {
   |              `- note: add @available attribute to enclosing class
14 |
15 |     public var defaultSSLChallengeEnabled = false
   :
29 |     var networkIsReachable = false
30 |
31 |     let connectionMonitor = NWPathMonitor()
   |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
32 |
33 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:72:34: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
69 |     }
70 |
71 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
72 |         return try await session.data(for: request)
   |                                  |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:76:34: error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
73 |     }
74 |
75 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
76 |         return try await session.upload(for: request, from: bodyData)
   |                                  |- error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
77 |     }
78 |
[35/40] Compiling NetworkXI ClassicNetworkSessionAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:33:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
 12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
 13 | public class ClassicNetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
    |              `- note: add @available attribute to enclosing class
 14 |
 15 |     public var defaultSSLChallengeEnabled = false
    :
 31 |     var networkIsReachable = false
 32 |
 33 |     let connectionMonitor = NWPathMonitor()
    |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 34 |
 35 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |94 |
    |95 |
    |96 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |111 |
    |112 |
    |113 |                                                          #isolation
    |    |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:31:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public class NetworkSessionAdapter: SessionAuthChallenger, NetworkConnectionChecker {
   |              `- note: add @available attribute to enclosing class
14 |
15 |     public var defaultSSLChallengeEnabled = false
   :
29 |     var networkIsReachable = false
30 |
31 |     let connectionMonitor = NWPathMonitor()
   |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
32 |
33 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:72:34: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
69 |     }
70 |
71 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
72 |         return try await session.data(for: request)
   |                                  |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:76:34: error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
73 |     }
74 |
75 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
76 |         return try await session.upload(for: request, from: bodyData)
   |                                  |- error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
77 |     }
78 |
[36/40] Compiling NetworkXI NetworkSessionAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:33:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 11 | /// Classic implementation of adapter between fundamental network session and its worker (request maker);
 12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
 13 | public class ClassicNetworkSessionAdapter: SessionAuthChallenger, SessionLifeCycle, NetworkConnectionChecker {
    |              `- note: add @available attribute to enclosing class
 14 |
 15 |     public var defaultSSLChallengeEnabled = false
    :
 31 |     var networkIsReachable = false
 32 |
 33 |     let connectionMonitor = NWPathMonitor()
    |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 34 |
 35 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:96:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
 93 |     }
 94 |
 95 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
 96 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |94 |
    |95 |
    |96 |                                                          #isolation
    |   |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
 97 |             guard let adapter = self else { return }
 98 |             adapter.dataTask(with: request) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:26: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    |                          |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:59: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift:113:58: note: expanded code originates here
 67 | }
 68 |
 69 | extension ClassicNetworkSessionAdapter: NetworkSessionInterface {
    | `- note: add @available attribute to enclosing extension
 70 |
 71 |     @discardableResult
    :
110 |     }
111 |
112 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
    |                 `- note: add @available attribute to enclosing instance method
113 |         return try await withCheckedThrowingContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/ClassicNetworkSessionAdapter.swift
    |111 |
    |112 |
    |113 |                                                          #isolation
    |    |                                                           `- error: 'isolation()' is only available in macOS 10.15 or newer
    +----------------------------------------------------------------------------------------------------------------------
114 |             guard let adapter = self else { return }
115 |             adapter.uploadTask(with: request, from: bodyData) { data, response, error in
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:31:29: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
11 | /// Adapter between fundamental network session and its worker (request maker);
12 | /// It's much better to use worker (NetworkService) instead of applying adapter directly for network tasks
13 | public class NetworkSessionAdapter: SessionAuthChallenger, NetworkConnectionChecker {
   |              `- note: add @available attribute to enclosing class
14 |
15 |     public var defaultSSLChallengeEnabled = false
   :
29 |     var networkIsReachable = false
30 |
31 |     let connectionMonitor = NWPathMonitor()
   |                             `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
32 |
33 |     let connectionMonitorQueue = DispatchQueue(label: String(describing: NetworkConnectionChecker.self))
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:72:34: error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
69 |     }
70 |
71 |     public func make(_ request: URLRequest) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
72 |         return try await session.data(for: request)
   |                                  |- error: 'data(for:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/Session interface/NetworkSessionAdapter.swift:76:34: error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
43 | }
44 |
45 | extension NetworkSessionAdapter: NetworkSessionInterface {
   | `- note: add @available attribute to enclosing extension
46 |
47 |     @discardableResult
   :
73 |     }
74 |
75 |     public func make(_ request: URLRequest, with bodyData: Data) async throws -> (Data, URLResponse) {
   |                 `- note: add @available attribute to enclosing instance method
76 |         return try await session.upload(for: request, from: bodyData)
   |                                  |- error: 'upload(for:from:delegate:)' is only available in macOS 12.0 or newer
   |                                  `- note: add 'if #available' version check
77 |     }
78 |
[37/40] Compiling NetworkXI NetworkConnectionChecker.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 8 | import Network
 9 |
10 | protocol NetworkConnectionChecker: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     var connectionMonitor: NWPathMonitor { get }
   |         |                  `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     var connectionMonitorQueue: DispatchQueue { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:23:43: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |     func runConnectionMonitor() {
22 |         connectionMonitor.pathUpdateHandler = { [weak self] newPath in
23 |             guard let connectionMonitor = self else { return }
   |                                           `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |             connectionMonitor.networkIsReachable = newPath.status == .satisfied
25 |         }
[38/40] Compiling NetworkXI NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 8 | import Network
 9 |
10 | protocol NetworkConnectionChecker: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     var connectionMonitor: NWPathMonitor { get }
   |         |                  `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     var connectionMonitorQueue: DispatchQueue { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:23:43: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |     func runConnectionMonitor() {
22 |         connectionMonitor.pathUpdateHandler = { [weak self] newPath in
23 |             guard let connectionMonitor = self else { return }
   |                                           `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |             connectionMonitor.networkIsReachable = newPath.status == .satisfied
25 |         }
[39/40] Compiling NetworkXI NetworkLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 8 | import Network
 9 |
10 | protocol NetworkConnectionChecker: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     var connectionMonitor: NWPathMonitor { get }
   |         |                  `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     var connectionMonitorQueue: DispatchQueue { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:23:43: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |     func runConnectionMonitor() {
22 |         connectionMonitor.pathUpdateHandler = { [weak self] newPath in
23 |             guard let connectionMonitor = self else { return }
   |                                           `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |             connectionMonitor.networkIsReachable = newPath.status == .satisfied
25 |         }
[40/40] Compiling NetworkXI NetworkRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:12:28: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
 8 | import Network
 9 |
10 | protocol NetworkConnectionChecker: AnyObject {
   |          `- note: add @available attribute to enclosing protocol
11 |
12 |     var connectionMonitor: NWPathMonitor { get }
   |         |                  `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
   |         `- note: add @available attribute to enclosing property
13 |
14 |     var connectionMonitorQueue: DispatchQueue { get }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/NetworkXI/NetworkConnectionChecker.swift:23:43: warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |     func runConnectionMonitor() {
22 |         connectionMonitor.pathUpdateHandler = { [weak self] newPath in
23 |             guard let connectionMonitor = self else { return }
   |                                           `- warning: capture of 'self' with non-sendable type 'Self?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 |             connectionMonitor.networkIsReachable = newPath.status == .satisfied
25 |         }
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.