The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StreamCore, reference 0.18.0 (880e48), with Swift 6.1 for macOS (SPM) on 11 Nov 2026 10:21:38 UTC.

Build Command

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

Build Log

60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
72 |             .sink(receiveValue: handler)
73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
80 |             .compactMap(\.event)
81 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
81 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
80 |             .compactMap(\.event)
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
83 |             .sink(receiveValue: handler)
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
84 |     }
85 | }
[67/87] Compiling StreamCore EventMiddleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:31:15: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
  7 |
  8 | /// Describes why a client-initiated WebSocket close is requested.
  9 | public enum WebSocketCloseContext: Equatable, Sendable {
    |             `- note: add @available attribute to enclosing enum
 10 |     /// Closes the current socket because a disconnection was requested or
 11 |     /// detected.
    :
 29 |     /// The provider receives that code and may preserve or override it.
 30 |     case explicit(
 31 |         code: URLSessionWebSocketTask.CloseCode,
    |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 32 |         source: WebSocketConnectionState.DisconnectionSource
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:47:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 44 |
 45 | /// Provides the close code for a client-initiated WebSocket close.
 46 | public protocol WebSocketCloseCodeProviding: Sendable {
    |                 `- note: add @available attribute to enclosing protocol
 47 |     func closeCode(for context: WebSocketCloseContext) -> URLSessionWebSocketTask.CloseCode
    |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:54:66: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 49 |
 50 | /// Preserves the default WebSocket close-code behavior.
 51 | public struct DefaultWebSocketCloseCodeProvider: WebSocketCloseCodeProviding {
    |               `- note: add @available attribute to enclosing struct
 52 |     public init() {}
 53 |
 54 |     public func closeCode(for context: WebSocketCloseContext) -> URLSessionWebSocketTask.CloseCode {
    |                 |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 55 |         switch context {
 56 |         case let .explicit(code, _):
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:93:31: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 91 |         Never
 92 |     >(.initialized)
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
    |                               `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:89:37: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 87 |     }
 88 |
 89 |     private let connectionSubject = CurrentValueSubject<
    |                                     `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 90 |         WebSocketConnectionState,
 91 |         Never
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:95:42: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
    |                |                         `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 96 |         connectionSubject.eraseToAnyPublisher()
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:231:15: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
228 |     ///   - source: The source recorded in the connection state.
229 |     ///   - completion: Called after pending batched events are processed.
230 |     public func disconnect(
    |                 `- note: add @available attribute to enclosing instance method
231 |         code: URLSessionWebSocketTask.CloseCode = .normalClosure,
    |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
232 |         source: WebSocketConnectionState.DisconnectionSource = .userInitiated,
233 |         completion: @Sendable @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:96:27: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
    |                `- note: add @available attribute to enclosing property
 96 |         connectionSubject.eraseToAnyPublisher()
    |                           |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
    |               |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
274 |             guard let self else {
275 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:275:30: error: 'resume()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
274 |             guard let self else {
275 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
276 |                 return
277 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:279:30: error: 'resume()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
274 |             guard let self else {
    :
277 |             }
278 |             disconnect(context: .disconnection(source: source)) {
279 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
280 |             }
281 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:39: note: expanded code originates here
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift
    |271 |
    |272 |
    |273 |                                       #isolation
    |    |                                        `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
274 |             guard let self else {
275 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 5 | import Foundation
 6 |
 7 | public protocol WebSocketEngine: AnyObject, Sendable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     var request: URLRequest { get }
 9 |     var callbackQueue: DispatchQueue { get }
   :
14 |     func connect()
15 |     func disconnect()
16 |     func disconnect(with code: URLSessionWebSocketTask.CloseCode)
   |          |                     `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |     func send(message: SendableEvent)
18 |     func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
72 |             .sink(receiveValue: handler)
73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
80 |             .compactMap(\.event)
81 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
81 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
80 |             .compactMap(\.event)
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
83 |             .sink(receiveValue: handler)
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
84 |     }
85 | }
[68/87] Compiling StreamCore EventNotificationCenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:31:15: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
  7 |
  8 | /// Describes why a client-initiated WebSocket close is requested.
  9 | public enum WebSocketCloseContext: Equatable, Sendable {
    |             `- note: add @available attribute to enclosing enum
 10 |     /// Closes the current socket because a disconnection was requested or
 11 |     /// detected.
    :
 29 |     /// The provider receives that code and may preserve or override it.
 30 |     case explicit(
 31 |         code: URLSessionWebSocketTask.CloseCode,
    |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 32 |         source: WebSocketConnectionState.DisconnectionSource
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:47:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 44 |
 45 | /// Provides the close code for a client-initiated WebSocket close.
 46 | public protocol WebSocketCloseCodeProviding: Sendable {
    |                 `- note: add @available attribute to enclosing protocol
 47 |     func closeCode(for context: WebSocketCloseContext) -> URLSessionWebSocketTask.CloseCode
    |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:54:66: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 49 |
 50 | /// Preserves the default WebSocket close-code behavior.
 51 | public struct DefaultWebSocketCloseCodeProvider: WebSocketCloseCodeProviding {
    |               `- note: add @available attribute to enclosing struct
 52 |     public init() {}
 53 |
 54 |     public func closeCode(for context: WebSocketCloseContext) -> URLSessionWebSocketTask.CloseCode {
    |                 |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 55 |         switch context {
 56 |         case let .explicit(code, _):
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:93:31: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 91 |         Never
 92 |     >(.initialized)
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
    |                               `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:89:37: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 87 |     }
 88 |
 89 |     private let connectionSubject = CurrentValueSubject<
    |                                     `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 90 |         WebSocketConnectionState,
 91 |         Never
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:95:42: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
    |                |                         `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 96 |         connectionSubject.eraseToAnyPublisher()
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:231:15: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
228 |     ///   - source: The source recorded in the connection state.
229 |     ///   - completion: Called after pending batched events are processed.
230 |     public func disconnect(
    |                 `- note: add @available attribute to enclosing instance method
231 |         code: URLSessionWebSocketTask.CloseCode = .normalClosure,
    |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
232 |         source: WebSocketConnectionState.DisconnectionSource = .userInitiated,
233 |         completion: @Sendable @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:96:27: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
    |                `- note: add @available attribute to enclosing property
 96 |         connectionSubject.eraseToAnyPublisher()
    |                           |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
    |               |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
274 |             guard let self else {
275 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:275:30: error: 'resume()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
274 |             guard let self else {
275 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
276 |                 return
277 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:279:30: error: 'resume()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
274 |             guard let self else {
    :
277 |             }
278 |             disconnect(context: .disconnection(source: source)) {
279 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
280 |             }
281 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:39: note: expanded code originates here
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift
    |271 |
    |272 |
    |273 |                                       #isolation
    |    |                                        `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
274 |             guard let self else {
275 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 5 | import Foundation
 6 |
 7 | public protocol WebSocketEngine: AnyObject, Sendable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     var request: URLRequest { get }
 9 |     var callbackQueue: DispatchQueue { get }
   :
14 |     func connect()
15 |     func disconnect()
16 |     func disconnect(with code: URLSessionWebSocketTask.CloseCode)
   |          |                     `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |     func send(message: SendableEvent)
18 |     func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
72 |             .sink(receiveValue: handler)
73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
80 |             .compactMap(\.event)
81 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
81 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
80 |             .compactMap(\.event)
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
83 |             .sink(receiveValue: handler)
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
84 |     }
85 | }
[69/87] Compiling StreamCore StreamJsonDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:31:15: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
  7 |
  8 | /// Describes why a client-initiated WebSocket close is requested.
  9 | public enum WebSocketCloseContext: Equatable, Sendable {
    |             `- note: add @available attribute to enclosing enum
 10 |     /// Closes the current socket because a disconnection was requested or
 11 |     /// detected.
    :
 29 |     /// The provider receives that code and may preserve or override it.
 30 |     case explicit(
 31 |         code: URLSessionWebSocketTask.CloseCode,
    |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 32 |         source: WebSocketConnectionState.DisconnectionSource
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:47:59: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 44 |
 45 | /// Provides the close code for a client-initiated WebSocket close.
 46 | public protocol WebSocketCloseCodeProviding: Sendable {
    |                 `- note: add @available attribute to enclosing protocol
 47 |     func closeCode(for context: WebSocketCloseContext) -> URLSessionWebSocketTask.CloseCode
    |          |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 48 | }
 49 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:54:66: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 49 |
 50 | /// Preserves the default WebSocket close-code behavior.
 51 | public struct DefaultWebSocketCloseCodeProvider: WebSocketCloseCodeProviding {
    |               `- note: add @available attribute to enclosing struct
 52 |     public init() {}
 53 |
 54 |     public func closeCode(for context: WebSocketCloseContext) -> URLSessionWebSocketTask.CloseCode {
    |                 |                                                `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 55 |         switch context {
 56 |         case let .explicit(code, _):
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:93:31: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 91 |         Never
 92 |     >(.initialized)
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
    |                               `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:89:37: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 87 |     }
 88 |
 89 |     private let connectionSubject = CurrentValueSubject<
    |                                     `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 90 |         WebSocketConnectionState,
 91 |         Never
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:95:42: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
    |                |                         `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 96 |         connectionSubject.eraseToAnyPublisher()
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:231:15: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
228 |     ///   - source: The source recorded in the connection state.
229 |     ///   - completion: Called after pending batched events are processed.
230 |     public func disconnect(
    |                 `- note: add @available attribute to enclosing instance method
231 |         code: URLSessionWebSocketTask.CloseCode = .normalClosure,
    |               `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
232 |         source: WebSocketConnectionState.DisconnectionSource = .userInitiated,
233 |         completion: @Sendable @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:96:27: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
 93 |     public let eventSubject = PassthroughSubject<Event, Never>()
 94 |
 95 |     public var connectionStatePublisher: AnyPublisher<WebSocketConnectionState, Never> {
    |                `- note: add @available attribute to enclosing property
 96 |         connectionSubject.eraseToAnyPublisher()
    |                           |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
    |               |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
274 |             guard let self else {
275 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:275:30: error: 'resume()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
274 |             guard let self else {
275 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
276 |                 return
277 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:279:30: error: 'resume()' is only available in macOS 10.15 or newer
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
274 |             guard let self else {
    :
277 |             }
278 |             disconnect(context: .disconnection(source: source)) {
279 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
280 |             }
281 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift:273:39: note: expanded code originates here
 62 | }
 63 |
 64 | public class WebSocketClient: @unchecked Sendable {
    |              `- note: add @available attribute to enclosing class
 65 |     /// The notification center `WebSocketClient` uses to send notifications about incoming events.
 66 |     public let eventNotificationCenter: EventNotificationCenter
    :
270 |     ///
271 |     /// - Parameter source: The source recorded in the connection state.
272 |     public func disconnect(source: WebSocketConnectionState.DisconnectionSource = .userInitiated) async {
    |                 `- note: add @available attribute to enclosing instance method
273 |         await withCheckedContinuation { [weak self] continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketClient.swift
    |271 |
    |272 |
    |273 |                                       #isolation
    |    |                                        `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
274 |             guard let self else {
275 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
 5 | import Foundation
 6 |
 7 | public protocol WebSocketEngine: AnyObject, Sendable {
   |                 `- note: add @available attribute to enclosing protocol
 8 |     var request: URLRequest { get }
 9 |     var callbackQueue: DispatchQueue { get }
   :
14 |     func connect()
15 |     func disconnect()
16 |     func disconnect(with code: URLSessionWebSocketTask.CloseCode)
   |          |                     `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |     func send(message: SendableEvent)
18 |     func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
66 |         handler: @escaping (E) -> Void
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
67 |     ) -> AnyCancellable where E: Event {
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
68 |         publisher(for: .NewEventReceived)
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
69 |             .compactMap { $0.event as? E }
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
72 |             .sink(receiveValue: handler)
73 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
   |          `- note: add @available attribute to enclosing instance method
64 |         to event: E.Type,
65 |         filter: @escaping (E) -> Bool = { _ in true },
   :
70 |             .filter(filter)
71 |             .receive(on: DispatchQueue.main)
72 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
73 |     }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
   |         |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
80 |             .compactMap(\.event)
81 |             .filter(filter)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
78 |     ) -> AnyCancellable {
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
   |              |- error: 'compactMap' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
79 |         publisher(for: .NewEventReceived)
80 |             .compactMap(\.event)
81 |             .filter(filter)
   |              |- error: 'filter' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
80 |             .compactMap(\.event)
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
83 |             .sink(receiveValue: handler)
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
   |        `- note: add @available attribute to enclosing extension
63 |     func subscribe<E>(
64 |         to event: E.Type,
   :
73 |     }
74 |
75 |     func subscribe(
   |          `- note: add @available attribute to enclosing instance method
76 |         filter: @escaping (Event) -> Bool = { _ in true },
77 |         handler: @escaping (Event) -> Void
   :
81 |             .filter(filter)
82 |             .receive(on: DispatchQueue.main)
83 |             .sink(receiveValue: handler)
   |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
84 |     }
85 | }
[70/87] Compiling StreamCore TypingIndicatorPrivacySettings.swift
[71/87] Compiling StreamCore UserPrivacySettings.swift
[72/87] Compiling StreamCore WSAuthMessageRequest.swift
[73/87] Compiling StreamCore CreateDeviceRequest.swift
[74/87] Compiling StreamCore Device.swift
[75/87] Compiling StreamCore DevicesAPI.swift
[76/87] Compiling StreamCore ListDevicesResponse.swift
[77/87] Compiling StreamCore ModelResponse.swift
[78/87] Compiling StreamCore Filter+Local.swift
[79/87] Compiling StreamCore AuthMiddlewares.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[80/87] Compiling StreamCore HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[81/87] Compiling StreamCore Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[82/87] Compiling StreamCore Retries.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[83/87] Compiling StreamCore URLSession+Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[84/87] Compiling StreamCore URLSessionTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[85/87] Compiling StreamCore ConnectUserDetailsRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[86/87] Compiling StreamCore DeliveryReceiptsPrivacySettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
[87/87] Compiling StreamCore ReadReceiptsPrivacySettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add @available attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add @available attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add @available attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add @available attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:30: error: 'resume(with:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
 76 |                 Self.logResponse(result, request: request, data: data, response: response, session: urlSession)
 77 |                 continuation.resume(with: result)
    |                              |- error: 'resume(with:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 78 |             }
 79 |             task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:73:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add @available attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 70 |     }
 71 |
 72 |     private func perform(_ request: URLRequest) async throws -> (Data, URLResponse) {
    |                  `- note: add @available attribute to enclosing instance method
 73 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |71 |
    |72 |
    |73 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 74 |             let task = urlSession.dataTask(with: request) { [urlSession] data, response, error in
 75 |                 let result = Self.result(request: request, data: data, response: response, error: error)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/StreamCoreUITests/StreamCoreUI.xctestplan
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/StreamCoreTests/StreamCore.xctestplan
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/StreamAttachmentsTests/StreamAttachments.xctestplan
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamCoreUI/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamAttachments/Info.plist
BUILD FAILURE 6.1 macosSpm