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 4.2.1 (973335), with Swift 6.1 for macOS (SPM) on 15 Dec 2025 04:18:41 UTC.

Build Command

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

Build Log

`- /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 |
[24/62] Compiling EZNetworking DataUploadable.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 |
[25/62] Compiling EZNetworking FileUploader.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 |
[26/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 |
[27/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)
[28/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)
[29/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)
[30/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)
[31/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)
[32/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)
[33/62] Compiling EZNetworking HTTPRedirectionStatus.swift
/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 |
[34/62] Compiling EZNetworking HTTPServerErrorStatus.swift
/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 |
[35/62] Compiling EZNetworking HTTPSuccessStatus.swift
/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 |
[36/62] Compiling EZNetworking InternalError.swift
/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 |
[37/62] Compiling EZNetworking NetworkingError.swift
/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 |
[38/62] Compiling EZNetworking WebSocketError.swift
/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 |
[39/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 |
[40/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 |
[41/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 |
[42/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 |
[43/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 |
[44/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 |
[45/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 |     }
[46/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 |     }
[47/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 |     }
[48/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 |     }
[49/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 |     }
[50/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 |     }
[51/62] Compiling EZNetworking HTTPMethod.swift
[52/62] Compiling EZNetworking HTTPParameters.swift
[53/62] Compiling EZNetworking AuthenticationInterceptor.swift
[54/62] Compiling EZNetworking CacheInterceptor.swift
[55/62] Compiling EZNetworking DataTaskInterceptor.swift
[56/62] Compiling EZNetworking DownloadTaskInterceptor.swift
[57/62] Compiling EZNetworking HTTPBody.swift
[58/62] Compiling EZNetworking MultipartFormData.swift
[59/62] Compiling EZNetworking MultipartFormPart.swift
[60/62] Compiling EZNetworking AuthorizationType.swift
[61/62] Compiling EZNetworking HTTPHeader.swift
[62/62] Compiling EZNetworking MimeType.swift
BUILD FAILURE 6.1 macosSpm