The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build EZNetworking, reference main (973335), with Swift 6.1 for macOS (SPM) on 15 Dec 2025 04:19:15 UTC.

Build Command

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

Build Log

 6 |     func uploadDataTask(_ data: Data, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
   |          |                                                                                             `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |     func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
 9 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:8:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol DataUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadDataTask(_ data: Data, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
 8 |     func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
   |          |                                                        `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:117: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 62 |     // MARK: Publisher
 63 |
 64 |     public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 |                                                                                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 65 |         Future { promise in
 66 |             _ = self._uploadFileTask(fileURL, with: request, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:80: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 73 |     // MARK: AsyncStream
 74 |
 75 |     public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
    |                 |                                                              `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 76 |         AsyncStream { continuation in
 77 |             let progressHandler: UploadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:43:18: warning: result of call to '_uploadFileTask(_:with:progress:completion:)' is unused
 41 |     public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
 42 |         try await withCheckedThrowingContinuation { continuation in
 43 |             self._uploadFileTask(fileURL, with: request, progress: progress) { result in
    |                  `- warning: result of call to '_uploadFileTask(_:with:progress:completion:)' is unused
 44 |                 switch result {
 45 |                 case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 39 |     // MARK: Async Await
 40 |
 41 |     public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
    |                 `- note: add @available attribute to enclosing instance method
 42 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 43 |             self._uploadFileTask(fileURL, with: request, progress: progress) { result in
 44 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:51: note: expanded code originates here
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 39 |     // MARK: Async Await
 40 |
 41 |     public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
    |                 `- note: add @available attribute to enclosing instance method
 42 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift
    |40 |
    |41 |
    |42 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------------------------
 43 |             self._uploadFileTask(fileURL, with: request, progress: progress) { result in
 44 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:65:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 62 |     // MARK: Publisher
 63 |
 64 |     public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 65 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 66 |             _ = self._uploadFileTask(fileURL, with: request, progress: progress) { result in
 67 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:70:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 62 |     // MARK: Publisher
 63 |
 64 |     public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 65 |         Future { promise in
 66 |             _ = self._uploadFileTask(fileURL, with: request, progress: progress) { result in
    :
 68 |             }
 69 |         }
 70 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 71 |     }
 72 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:76:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 73 |     // MARK: AsyncStream
 74 |
 75 |     public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 76 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 77 |             let progressHandler: UploadProgressHandler = { progress in
 78 |                 continuation.yield(.progress(progress))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:7:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol FileUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadFile(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadFileTask(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
   |          |                                                                                               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |     func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
 9 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:8:69: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol FileUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadFile(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadFileTask(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
 8 |     func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
   |          |                                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 | }
10 |
[19/62] Compiling EZNetworking FileUploadable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/Protocols/RequestPerformable.swift:7:96: error: 'AnyPublisher' is only available in macOS 10.15 or newer
2 | import Foundation
3 |
4 | public protocol RequestPerformable {
  |                 `- note: add @available attribute to enclosing protocol
5 |     func perform<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) async throws -> T
6 |     func performTask<T: Decodable>(request: Request, decodeTo decodableObject: T.Type, completion: @escaping((Result<T, NetworkingError>) -> Void)) -> URLSessionDataTask?
7 |     func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError>
  |          |                                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
  |          `- note: add @available attribute to enclosing instance method
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:58:103: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | public struct RequestPerformer: RequestPerformable {
   |               `- note: add @available attribute to enclosing struct
 5 |     private let urlSession: URLSessionTaskProtocol
 6 |     private let validator: ResponseValidator
   :
56 |
57 |     // MARK: Publisher
58 |     public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
   |                 |                                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
59 |         Future { promise in
60 |             performDataTask(request: request, decodeTo: decodableObject) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:39:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | public struct RequestPerformer: RequestPerformable {
   |               `- note: add @available attribute to enclosing struct
 5 |     private let urlSession: URLSessionTaskProtocol
 6 |     private let validator: ResponseValidator
   :
36 |
37 |     // MARK: Async Await
38 |     public func perform<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) async throws -> T {
   |                 `- note: add @available attribute to enclosing instance method
39 |         try await withCheckedThrowingContinuation { continuation in
   |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
40 |             performDataTask(request: request, decodeTo: decodableObject, completion: { result in
41 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:39:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:39:51: note: expanded code originates here
 2 | import Foundation
 3 |
 4 | public struct RequestPerformer: RequestPerformable {
   |               `- note: add @available attribute to enclosing struct
 5 |     private let urlSession: URLSessionTaskProtocol
 6 |     private let validator: ResponseValidator
   :
36 |
37 |     // MARK: Async Await
38 |     public func perform<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) async throws -> T {
   |                 `- note: add @available attribute to enclosing instance method
39 |         try await withCheckedThrowingContinuation { continuation in
   +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift
   |37 |
   |38 |
   |39 |                                                   #isolation
   |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
   +-----------------------------------------------------------------------------------------------------------
40 |             performDataTask(request: request, decodeTo: decodableObject, completion: { result in
41 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:59:9: error: 'Future' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | public struct RequestPerformer: RequestPerformable {
   |               `- note: add @available attribute to enclosing struct
 5 |     private let urlSession: URLSessionTaskProtocol
 6 |     private let validator: ResponseValidator
   :
56 |
57 |     // MARK: Publisher
58 |     public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
   |                 `- note: add @available attribute to enclosing instance method
59 |         Future { promise in
   |         |- error: 'Future' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
60 |             performDataTask(request: request, decodeTo: decodableObject) { result in
61 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:64:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | public struct RequestPerformer: RequestPerformable {
   |               `- note: add @available attribute to enclosing struct
 5 |     private let urlSession: URLSessionTaskProtocol
 6 |     private let validator: ResponseValidator
   :
56 |
57 |     // MARK: Publisher
58 |     public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
   |                 `- note: add @available attribute to enclosing instance method
59 |         Future { promise in
60 |             performDataTask(request: request, decodeTo: decodableObject) { result in
   :
62 |             }
63 |         }
64 |         .eraseToAnyPublisher()
   |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
65 |     }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:111: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 61 |     // MARK: Publisher
 62 |
 63 |     public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 |                                                                                             `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 64 |         Future { promise in
 65 |             _ = self._uploadDataTask(data, with: request, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:74: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 72 |     // MARK: Async Stream
 73 |
 74 |     public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
    |                 |                                                        `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 75 |         AsyncStream { continuation in
 76 |             let progressHandler: UploadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:42:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 39 |     // MARK: Async Await
 40 |
 41 |     public func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data {
    |                 `- note: add @available attribute to enclosing instance method
 42 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 43 |             self._uploadDataTask(data, with: request, progress: progress) { result in
 44 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:42:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:42:51: note: expanded code originates here
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 39 |     // MARK: Async Await
 40 |
 41 |     public func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data {
    |                 `- note: add @available attribute to enclosing instance method
 42 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift
    |40 |
    |41 |
    |42 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------------------------
 43 |             self._uploadDataTask(data, with: request, progress: progress) { result in
 44 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:64:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 61 |     // MARK: Publisher
 62 |
 63 |     public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 64 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 65 |             _ = self._uploadDataTask(data, with: request, progress: progress) { result in
 66 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:69:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 61 |     // MARK: Publisher
 62 |
 63 |     public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 64 |         Future { promise in
 65 |             _ = self._uploadDataTask(data, with: request, progress: progress) { result in
    :
 67 |             }
 68 |         }
 69 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 70 |     }
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:75:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 72 |     // MARK: Async Stream
 73 |
 74 |     public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 75 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             let progressHandler: UploadProgressHandler = { progress in
 77 |                 continuation.yield(.progress(progress))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:7:104: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol DataUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadDataTask(_ data: Data, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
   |          |                                                                                             `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |     func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
 9 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:8:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol DataUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadDataTask(_ data: Data, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
 8 |     func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
   |          |                                                        `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:117: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 62 |     // MARK: Publisher
 63 |
 64 |     public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 |                                                                                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 65 |         Future { promise in
 66 |             _ = self._uploadFileTask(fileURL, with: request, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:80: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 73 |     // MARK: AsyncStream
 74 |
 75 |     public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
    |                 |                                                              `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 76 |         AsyncStream { continuation in
 77 |             let progressHandler: UploadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:43:18: warning: result of call to '_uploadFileTask(_:with:progress:completion:)' is unused
 41 |     public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
 42 |         try await withCheckedThrowingContinuation { continuation in
 43 |             self._uploadFileTask(fileURL, with: request, progress: progress) { result in
    |                  `- warning: result of call to '_uploadFileTask(_:with:progress:completion:)' is unused
 44 |                 switch result {
 45 |                 case .success(let data):
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 39 |     // MARK: Async Await
 40 |
 41 |     public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
    |                 `- note: add @available attribute to enclosing instance method
 42 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 43 |             self._uploadFileTask(fileURL, with: request, progress: progress) { result in
 44 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:42:51: note: expanded code originates here
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 39 |     // MARK: Async Await
 40 |
 41 |     public func uploadFile(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) async throws -> Data {
    |                 `- note: add @available attribute to enclosing instance method
 42 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift
    |40 |
    |41 |
    |42 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------------------------
 43 |             self._uploadFileTask(fileURL, with: request, progress: progress) { result in
 44 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:65:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 62 |     // MARK: Publisher
 63 |
 64 |     public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 65 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 66 |             _ = self._uploadFileTask(fileURL, with: request, progress: progress) { result in
 67 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:70:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 62 |     // MARK: Publisher
 63 |
 64 |     public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 65 |         Future { promise in
 66 |             _ = self._uploadFileTask(fileURL, with: request, progress: progress) { result in
    :
 68 |             }
 69 |         }
 70 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 71 |     }
 72 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:76:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 73 |     // MARK: AsyncStream
 74 |
 75 |     public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 76 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 77 |             let progressHandler: UploadProgressHandler = { progress in
 78 |                 continuation.yield(.progress(progress))
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:7:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol FileUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadFile(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadFileTask(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
   |          |                                                                                               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |     func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
 9 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:8:69: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol FileUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadFile(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadFileTask(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
 8 |     func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
   |          |                                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 | }
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/62] Compiling EZNetworking RequestDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/HTTPError/HTTPError.swift:5:16: warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 3 | public struct HTTPError: Error {
 4 |     public let statusCode: Int
 5 |     public let headers: [AnyHashable: Any]
   |                `- warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 6 |     public let category: HTTPErrorCategory
 7 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[21/62] Compiling EZNetworking HTTPHeaderEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/HTTPError/HTTPError.swift:5:16: warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 3 | public struct HTTPError: Error {
 4 |     public let statusCode: Int
 5 |     public let headers: [AnyHashable: Any]
   |                `- warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 6 |     public let category: HTTPErrorCategory
 7 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[22/62] Compiling EZNetworking HTTPParameterEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/HTTPError/HTTPError.swift:5:16: warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 3 | public struct HTTPError: Error {
 4 |     public let statusCode: Int
 5 |     public let headers: [AnyHashable: Any]
   |                `- warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 6 |     public let category: HTTPErrorCategory
 7 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[23/62] Compiling EZNetworking HTTPError.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/HTTPError/HTTPError.swift:5:16: warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 3 | public struct HTTPError: Error {
 4 |     public let statusCode: Int
 5 |     public let headers: [AnyHashable: Any]
   |                `- warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 6 |     public let category: HTTPErrorCategory
 7 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[24/62] Compiling EZNetworking HTTPClientErrorStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/HTTPError/HTTPError.swift:5:16: warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 3 | public struct HTTPError: Error {
 4 |     public let statusCode: Int
 5 |     public let headers: [AnyHashable: Any]
   |                `- warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 6 |     public let category: HTTPErrorCategory
 7 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[25/62] Compiling EZNetworking HTTPInformationalStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/HTTPError/HTTPError.swift:5:16: warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 3 | public struct HTTPError: Error {
 4 |     public let statusCode: Int
 5 |     public let headers: [AnyHashable: Any]
   |                `- warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 6 |     public let category: HTTPErrorCategory
 7 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[26/62] Emitting module EZNetworking
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/HTTPError/HTTPError.swift:5:16: warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 3 | public struct HTTPError: Error {
 4 |     public let statusCode: Int
 5 |     public let headers: [AnyHashable: Any]
   |                `- warning: stored property 'headers' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type '[AnyHashable : Any]'; this is an error in the Swift 6 language mode
 6 |     public let category: HTTPErrorCategory
 7 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Error/WebSocketError/WebSocketError.swift:26:40: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
  1 | import Foundation
  2 |
  3 | public enum WebSocketError: Error {
    |             `- note: add @available attribute to enclosing enum
  4 |     // Connection errors
  5 |     case notConnected
    :
 24 |
 25 |     // Disconnection errors
 26 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
    |                                        `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 27 |     case forcedDisconnection
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public enum WebSocketTaskEvent {
   |             `- note: add @available attribute to enclosing enum
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
 5 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 6 |                           didOpenWithProtocol protocol: String?) {
 7 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
13 |                           reason: Data?) {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                                   `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |                           reason: Data?) {
14 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func resume()
 6 |     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
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     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
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     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
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          |                                                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:13: note: 'send' declared here
1 | class URLSessionWebSocketTask {
2 | public func send(_ message: URLSessionWebSocketTask.Message) async throws}
  |             `- note: 'send' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          `- note: protocol requirement here
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:29: note: 'send(_:completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable ((any Error)?) -> Void)}
  |                             `- note: 'send(_:completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:13: note: 'receive()' declared here
1 | class URLSessionWebSocketTask {
2 | public func receive() async throws -> URLSessionWebSocketTask.Message}
  |             `- note: 'receive()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          `- note: protocol requirement here
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:29: note: 'receive(completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)}
  |                             `- note: 'receive(completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
17 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
 82 |             // Progress handler yields progress updates to the stream.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
   |          |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
   |          |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 | }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/Protocols/RequestPerformable.swift:7:96: error: 'AnyPublisher' is only available in macOS 10.15 or newer
2 | import Foundation
3 |
4 | public protocol RequestPerformable {
  |                 `- note: add @available attribute to enclosing protocol
5 |     func perform<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) async throws -> T
6 |     func performTask<T: Decodable>(request: Request, decodeTo decodableObject: T.Type, completion: @escaping((Result<T, NetworkingError>) -> Void)) -> URLSessionDataTask?
7 |     func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError>
  |          |                                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
  |          `- note: add @available attribute to enclosing instance method
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Performers/RequestPerformer.swift:58:103: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | public struct RequestPerformer: RequestPerformable {
   |               `- note: add @available attribute to enclosing struct
 5 |     private let urlSession: URLSessionTaskProtocol
 6 |     private let validator: ResponseValidator
   :
56 |
57 |     // MARK: Publisher
58 |     public func performPublisher<T: Decodable>(request: Request, decodeTo decodableObject: T.Type) -> AnyPublisher<T, NetworkingError> {
   |                 |                                                                                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
59 |         Future { promise in
60 |             performDataTask(request: request, decodeTo: decodableObject) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:63:111: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 61 |     // MARK: Publisher
 62 |
 63 |     public func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 |                                                                                             `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 64 |         Future { promise in
 65 |             _ = self._uploadDataTask(data, with: request, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/DataUploader.swift:74:74: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class DataUploader: DataUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 72 |     // MARK: Async Stream
 73 |
 74 |     public func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent> {
    |                 |                                                        `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 75 |         AsyncStream { continuation in
 76 |             let progressHandler: UploadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:7:104: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol DataUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadDataTask(_ data: Data, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
   |          |                                                                                             `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |     func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
 9 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/DataUploader/Protocols/DataUploadable.swift:8:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol DataUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadData(_ data: Data, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadDataTask(_ data: Data, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadDataPublisher(_ data: Data, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
 8 |     func uploadDataStream(_ data: Data, with request: Request) -> AsyncStream<UploadStreamEvent>
   |          |                                                        `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:64:117: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 62 |     // MARK: Publisher
 63 |
 64 |     public func uploadFilePublisher(_ fileURL: URL, with request: any Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError> {
    |                 |                                                                                                   `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 65 |         Future { promise in
 66 |             _ = self._uploadFileTask(fileURL, with: request, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/FileUploader.swift:75:80: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Combine
  3 |
  4 | public class FileUploader: FileUploadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 73 |     // MARK: AsyncStream
 74 |
 75 |     public func uploadFileStream(_ fileURL: URL, with request: any Request) -> AsyncStream<UploadStreamEvent> {
    |                 |                                                              `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 76 |         AsyncStream { continuation in
 77 |             let progressHandler: UploadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:7:106: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol FileUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadFile(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadFileTask(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
   |          |                                                                                               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 8 |     func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
 9 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Uploader/FileUploader/Protocols/FileUploadable.swift:8:69: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 | import Combine
 3 |
 4 | public protocol FileUploadable {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     func uploadFile(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) async throws -> Data
 6 |     func uploadFileTask(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?, completion: @escaping(UploadCompletionHandler)) -> URLSessionUploadTask?
 7 |     func uploadFilePublisher(_ fileURL: URL, with request: Request, progress: UploadProgressHandler?) -> AnyPublisher<Data, NetworkingError>
 8 |     func uploadFileStream(_ fileURL: URL, with request: Request) -> AsyncStream<UploadStreamEvent>
   |          |                                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
[27/62] Compiling EZNetworking MetricsInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public enum WebSocketTaskEvent {
   |             `- note: add @available attribute to enclosing enum
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
[28/62] Compiling EZNetworking RedirectInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public enum WebSocketTaskEvent {
   |             `- note: add @available attribute to enclosing enum
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
[29/62] Compiling EZNetworking StreamTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public enum WebSocketTaskEvent {
   |             `- note: add @available attribute to enclosing enum
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
[30/62] Compiling EZNetworking TaskLifecycleInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public enum WebSocketTaskEvent {
   |             `- note: add @available attribute to enclosing enum
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
[31/62] Compiling EZNetworking UploadTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public enum WebSocketTaskEvent {
   |             `- note: add @available attribute to enclosing enum
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
[32/62] Compiling EZNetworking WebSocketTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | /// Protocol for intercepting WebSocket tasks specifically.
 4 | public protocol WebSocketTaskInterceptor: AnyObject {
   |                 `- note: add @available attribute to enclosing protocol
 5 |     var onEvent: ((WebSocketTaskEvent) -> Void)? { get set }
 6 |
   :
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 |
13 |     /// Intercepts when a task completes with  an error.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
15 | }
16 |
17 | public enum WebSocketTaskEvent {
   |             `- note: add @available attribute to enclosing enum
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
21 | }
22 |
[33/62] Compiling EZNetworking HTTPMethod.swift
[34/62] Compiling EZNetworking HTTPParameters.swift
[35/62] Compiling EZNetworking AuthenticationInterceptor.swift
[36/62] Compiling EZNetworking CacheInterceptor.swift
[37/62] Compiling EZNetworking DataTaskInterceptor.swift
[38/62] Compiling EZNetworking DownloadTaskInterceptor.swift
[39/62] Compiling EZNetworking HTTPBody.swift
[40/62] Compiling EZNetworking MultipartFormData.swift
[41/62] Compiling EZNetworking MultipartFormPart.swift
[42/62] Compiling EZNetworking AuthorizationType.swift
[43/62] Compiling EZNetworking HTTPHeader.swift
[44/62] Compiling EZNetworking MimeType.swift
[45/62] Compiling EZNetworking Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
 82 |             // Progress handler yields progress updates to the stream.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:51: note: expanded code originates here
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift
    |46 |
    |47 |
    |48 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
 72 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
    :
 73 |             }
 74 |         }
 75 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             // Progress handler yields progress updates to the stream.
 83 |             let progressHandler: DownloadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
   |          |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
   |          |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 | }
13 |
[46/62] Compiling EZNetworking RequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
 82 |             // Progress handler yields progress updates to the stream.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:51: note: expanded code originates here
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift
    |46 |
    |47 |
    |48 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
 72 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
    :
 73 |             }
 74 |         }
 75 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             // Progress handler yields progress updates to the stream.
 83 |             let progressHandler: DownloadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
   |          |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
   |          |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 | }
13 |
[47/62] Compiling EZNetworking RequestFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
 82 |             // Progress handler yields progress updates to the stream.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:51: note: expanded code originates here
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift
    |46 |
    |47 |
    |48 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
 72 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
    :
 73 |             }
 74 |         }
 75 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             // Progress handler yields progress updates to the stream.
 83 |             let progressHandler: DownloadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
   |          |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
   |          |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 | }
13 |
[48/62] Compiling EZNetworking FileDownloader.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
 82 |             // Progress handler yields progress updates to the stream.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:51: note: expanded code originates here
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift
    |46 |
    |47 |
    |48 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
 72 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
    :
 73 |             }
 74 |         }
 75 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             // Progress handler yields progress updates to the stream.
 83 |             let progressHandler: DownloadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
   |          |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
   |          |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 | }
13 |
[49/62] Compiling EZNetworking DefaultDownloadTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
 82 |             // Progress handler yields progress updates to the stream.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:51: note: expanded code originates here
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift
    |46 |
    |47 |
    |48 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
 72 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
    :
 73 |             }
 74 |         }
 75 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             // Progress handler yields progress updates to the stream.
 83 |             let progressHandler: DownloadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
   |          |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
   |          |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 | }
13 |
[50/62] Compiling EZNetworking FileDownloadable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:69:99: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:80:60: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
 82 |             // Progress handler yields progress updates to the stream.
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:48:51: note: expanded code originates here
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 45 |     // MARK: Async Await
 46 |
 47 |     public func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler? = nil) async throws -> URL {
    |                 `- note: add @available attribute to enclosing instance method
 48 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift
    |46 |
    |47 |
    |48 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 49 |             performDownloadTask(url: serverUrl, progress: progress) { result in
 50 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:70:9: error: 'Future' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
    |         |- error: 'Future' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
 72 |                 promise(result)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:75:10: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 67 |     // MARK: Publisher
 68 |
 69 |     public func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError> {
    |                 `- note: add @available attribute to enclosing instance method
 70 |         Future { promise in
 71 |             self.performDownloadTask(url: serverUrl, progress: progress) { result in
    :
 73 |             }
 74 |         }
 75 |         .eraseToAnyPublisher()
    |          |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/FileDownloader.swift:81:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | public class FileDownloader: FileDownloadable {
    |              `- note: add @available attribute to enclosing class
  5 |     private let urlSession: URLSessionTaskProtocol
  6 |     private let validator: ResponseValidator
    :
 78 |     // MARK: AsyncStream
 79 |
 80 |     public func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent> {
    |                 `- note: add @available attribute to enclosing instance method
 81 |         AsyncStream { continuation in
    |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             // Progress handler yields progress updates to the stream.
 83 |             let progressHandler: DownloadProgressHandler = { progress in
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:10:92: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
   |          |                                                                                 `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/Downloader/Protocols/FileDownloadable.swift:11:53: error: 'AsyncStream' is only available in macOS 10.15 or newer
 5 | public typealias DownloadCompletionHandler = (Result<URL, NetworkingError>) -> Void
 6 |
 7 | public protocol FileDownloadable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     func downloadFile(from serverUrl: URL, progress: DownloadProgressHandler?) async throws -> URL
 9 |     func downloadFileTask(from serverUrl: URL, progress: DownloadProgressHandler?, completion: @escaping(DownloadCompletionHandler)) -> URLSessionDownloadTask
10 |     func downloadFilePublisher(from serverUrl: URL, progress: DownloadProgressHandler?) -> AnyPublisher<URL, NetworkingError>
11 |     func downloadFileStream(from serverUrl: URL) -> AsyncStream<DownloadStreamEvent>
   |          |                                          `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
12 | }
13 |
[51/62] Compiling EZNetworking SessionDelegate+URLSessionDataDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
 5 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 6 |                           didOpenWithProtocol protocol: String?) {
 7 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
13 |                           reason: Data?) {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                                   `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |                           reason: Data?) {
14 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
[52/62] Compiling EZNetworking SessionDelegate+URLSessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
 5 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 6 |                           didOpenWithProtocol protocol: String?) {
 7 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
13 |                           reason: Data?) {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                                   `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |                           reason: Data?) {
14 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
[53/62] Compiling EZNetworking SessionDelegate+URLSessionDownloadDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
 5 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 6 |                           didOpenWithProtocol protocol: String?) {
 7 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
13 |                           reason: Data?) {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                                   `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |                           reason: Data?) {
14 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
[54/62] Compiling EZNetworking SessionDelegate+URLSessionStreamDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
 5 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 6 |                           didOpenWithProtocol protocol: String?) {
 7 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
13 |                           reason: Data?) {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                                   `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |                           reason: Data?) {
14 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
[55/62] Compiling EZNetworking SessionDelegate+URLSessionTaskDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
 5 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 6 |                           didOpenWithProtocol protocol: String?) {
 7 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
13 |                           reason: Data?) {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                                   `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |                           reason: Data?) {
14 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
[56/62] Compiling EZNetworking SessionDelegate+URLSessionWebSocketDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:5:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
 5 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 6 |                           didOpenWithProtocol protocol: String?) {
 7 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didOpenWithProtocol: `protocol`)
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:11:42: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
   |                                          `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
13 |                           reason: Data?) {
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Interceptors/SessionDelegate+Extensions/SessionDelegate+URLSessionWebSocketDelegate.swift:12:51: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | extension SessionDelegate: URLSessionWebSocketDelegate {
   | `- note: add @available attribute to enclosing extension
 4 |     public func urlSession(_ session: URLSession,
 5 |                           webSocketTask: URLSessionWebSocketTask,
   :
 8 |     }
 9 |
10 |     public func urlSession(_ session: URLSession,
   |                 `- note: add @available attribute to enclosing instance method
11 |                           webSocketTask: URLSessionWebSocketTask,
12 |                           didCloseWith closeCode: URLSessionWebSocketTask.CloseCode,
   |                                                   `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
13 |                           reason: Data?) {
14 |         webSocketTaskInterceptor?.urlSession(session, webSocketTask: webSocketTask, didCloseWith: closeCode, reason: reason)
[57/62] Compiling EZNetworking DefaultUploadTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
[58/62] Compiling EZNetworking UploadStreamEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
[59/62] Compiling EZNetworking UploadTypealias.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
[60/62] Compiling EZNetworking DefaultWebSocketTaskInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
[61/62] Compiling EZNetworking WebSocketConnectionState.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
[62/62] Compiling EZNetworking ResponseValidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:10:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Util/WebSocket/Helpers/DefaultWebSocketTaskInterceptor.swift:18:108: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | internal class DefaultWebSocketTaskInterceptor: WebSocketTaskInterceptor {
   |                `- note: add @available attribute to enclosing class
 4 |     var onEvent: ((WebSocketTaskEvent) -> Void)?
 5 |
   :
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |          |                                                                                                 `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
BUILD FAILURE 6.1 macosSpm