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.2 for macOS (SPM) on 15 Dec 2025 04:17:40 UTC.

Build Command

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

Build Log

    :
 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 [#no-usage]
 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 [#no-usage]
 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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[54/63] Compiling EZNetworking DataUploader.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/Performers/RequestPerformer.swift:82:56: warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
80 |                 let validData = try validator.validateData(data)
81 |
82 |                 let result = try requestDecoder.decode(decodableObject, from: validData)
   |                                                        `- warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
83 |                 completion(.success(result))
84 |             } catch {
/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 [#no-usage]
 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 [#no-usage]
 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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[55/63] 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/Performers/RequestPerformer.swift:82:56: warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
80 |                 let validData = try validator.validateData(data)
81 |
82 |                 let result = try requestDecoder.decode(decodableObject, from: validData)
   |                                                        `- warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
83 |                 completion(.success(result))
84 |             } catch {
/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 [#no-usage]
 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 [#no-usage]
 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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[56/63] 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/Performers/RequestPerformer.swift:82:56: warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
80 |                 let validData = try validator.validateData(data)
81 |
82 |                 let result = try requestDecoder.decode(decodableObject, from: validData)
   |                                                        `- warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
83 |                 completion(.success(result))
84 |             } catch {
/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 [#no-usage]
 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 [#no-usage]
 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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[57/63] 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/Performers/RequestPerformer.swift:82:56: warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
80 |                 let validData = try validator.validateData(data)
81 |
82 |                 let result = try requestDecoder.decode(decodableObject, from: validData)
   |                                                        `- warning: capture of 'decodableObject' with non-Sendable type 'T.Type' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
83 |                 completion(.success(result))
84 |             } catch {
/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 [#no-usage]
 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 [#no-usage]
 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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[58/63] Compiling EZNetworking SessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                   |- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                                                  |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          |                                                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:13: note: 'send' declared here
1 | class URLSessionWebSocketTask {
2 | public func send(_ message: URLSessionWebSocketTask.Message) async throws}
  |             `- note: 'send' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          `- note: protocol requirement here
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:29: note: 'send(_:completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable ((any Error)?) -> Void)}
  |                             `- note: 'send(_:completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:13: note: 'receive()' declared here
1 | class URLSessionWebSocketTask {
2 | public func receive() async throws -> URLSessionWebSocketTask.Message}
  |             `- note: 'receive()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          `- note: protocol requirement here
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:29: note: 'receive(completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)}
  |                             `- note: 'receive(completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
17 |
[59/63] Compiling EZNetworking EmptyResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                   |- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                                                  |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          |                                                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:13: note: 'send' declared here
1 | class URLSessionWebSocketTask {
2 | public func send(_ message: URLSessionWebSocketTask.Message) async throws}
  |             `- note: 'send' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          `- note: protocol requirement here
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:29: note: 'send(_:completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable ((any Error)?) -> Void)}
  |                             `- note: 'send(_:completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:13: note: 'receive()' declared here
1 | class URLSessionWebSocketTask {
2 | public func receive() async throws -> URLSessionWebSocketTask.Message}
  |             `- note: 'receive()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          `- note: protocol requirement here
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:29: note: 'receive(completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)}
  |                             `- note: 'receive(completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
17 |
[60/63] Compiling EZNetworking Data-ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                   |- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                                                  |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          |                                                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:13: note: 'send' declared here
1 | class URLSessionWebSocketTask {
2 | public func send(_ message: URLSessionWebSocketTask.Message) async throws}
  |             `- note: 'send' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          `- note: protocol requirement here
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:29: note: 'send(_:completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable ((any Error)?) -> Void)}
  |                             `- note: 'send(_:completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:13: note: 'receive()' declared here
1 | class URLSessionWebSocketTask {
2 | public func receive() async throws -> URLSessionWebSocketTask.Message}
  |             `- note: 'receive()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          `- note: protocol requirement here
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:29: note: 'receive(completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)}
  |                             `- note: 'receive(completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
17 |
[61/63] Compiling EZNetworking String-ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                   |- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                                                  |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          |                                                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:13: note: 'send' declared here
1 | class URLSessionWebSocketTask {
2 | public func send(_ message: URLSessionWebSocketTask.Message) async throws}
  |             `- note: 'send' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          `- note: protocol requirement here
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:29: note: 'send(_:completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable ((any Error)?) -> Void)}
  |                             `- note: 'send(_:completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:13: note: 'receive()' declared here
1 | class URLSessionWebSocketTask {
2 | public func receive() async throws -> URLSessionWebSocketTask.Message}
  |             `- note: 'receive()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          `- note: protocol requirement here
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:29: note: 'receive(completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)}
  |                             `- note: 'receive(completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
17 |
[62/63] Compiling EZNetworking URLSessionTaskProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                   |- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                                                  |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          |                                                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:13: note: 'send' declared here
1 | class URLSessionWebSocketTask {
2 | public func send(_ message: URLSessionWebSocketTask.Message) async throws}
  |             `- note: 'send' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          `- note: protocol requirement here
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:29: note: 'send(_:completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable ((any Error)?) -> Void)}
  |                             `- note: 'send(_:completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:13: note: 'receive()' declared here
1 | class URLSessionWebSocketTask {
2 | public func receive() async throws -> URLSessionWebSocketTask.Message}
  |             `- note: 'receive()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          `- note: protocol requirement here
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:29: note: 'receive(completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)}
  |                             `- note: 'receive(completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
17 |
[63/63] Compiling EZNetworking WebSocketTaskProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:19: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                   |- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/URLSessionTaskProtocol.swift:18:50: error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSession: URLSessionTaskProtocol {
   | `- note: add '@available' attribute to enclosing extension
17 |     public func webSocketTaskInspectable(with request: URLRequest) -> WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing instance method
18 |         let task: URLSessionWebSocketTask = self.webSocketTask(with: request)
   |                                                  |- error: 'webSocketTask(with:)' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
19 |         return task as WebSocketTaskProtocol
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:6:33: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |          |                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:9:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:10:26: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:12:36: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          |                         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:13:65: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 2 |
 3 | // protocol to allow unit testing and mocking for URLSessionWebSocketTask
 4 | public protocol WebSocketTaskProtocol {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 |     func resume()
 6 |     func cancel(with closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   :
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          |                                                      `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
 7 |     func sendPing(pongReceiveHandler: @escaping @Sendable ((any Error)?) -> Void)
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
   |          `- note: protocol requirement here
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:13: note: 'send' declared here
1 | class URLSessionWebSocketTask {
2 | public func send(_ message: URLSessionWebSocketTask.Message) async throws}
  |             `- note: 'send' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
 8 |
 9 |     func send(_ message: URLSessionWebSocketTask.Message) async throws
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
   |          `- note: protocol requirement here
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   :
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'send(_:completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.send:2:29: note: 'send(_:completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable ((any Error)?) -> Void)}
  |                             `- note: 'send(_:completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
10 |     func send(_ message: URLSessionWebSocketTask.Message, completionHandler: @escaping @Sendable (Error?) -> Void)
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
   |          `- note: protocol requirement here
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive()' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:13: note: 'receive()' declared here
1 | class URLSessionWebSocketTask {
2 | public func receive() async throws -> URLSessionWebSocketTask.Message}
  |             `- note: 'receive()' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:1: error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
11 |
12 |     func receive() async throws -> URLSessionWebSocketTask.Message
13 |     func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, Error>) -> Void)
   |          `- note: protocol requirement here
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | `- error: protocol 'WebSocketTaskProtocol' requires 'receive(completionHandler:)' to be available in macOS 10.13 and newer
17 |
Foundation.URLSessionWebSocketTask.receive:2:29: note: 'receive(completionHandler:)' declared here
1 | class URLSessionWebSocketTask {
2 | @preconcurrency public func receive(completionHandler: @escaping @Sendable (Result<URLSessionWebSocketTask.Message, any Error>) -> Void)}
  |                             `- note: 'receive(completionHandler:)' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/EZNetworking/Other/WebSocketTaskProtocol.swift:16:11: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
14 | }
15 |
16 | extension URLSessionWebSocketTask: WebSocketTaskProtocol {}
   | |         `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
17 |
BUILD FAILURE 6.2 macosSpm