The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StreamChat, reference 5.15.0 (5ab6fc), with Swift 6.2 for macOS (SPM) on 22 Oct 2026 20:27:48 UTC.

Build Command

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

Build Log

41 |                     throw ClientError("Task produced no value", file, line)
42 |                 }
[263/307] Compiling StreamCore WebSocketClient.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
[264/307] Compiling StreamCore WebSocketEngine.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
[265/307] Compiling StreamCore WebSocketPingController.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
[266/307] Compiling StreamCore Event.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
[267/307] Compiling StreamCore EventBatcher.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
[268/307] Compiling StreamCore EventMiddleware.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
[269/307] Compiling StreamCore EventNotificationCenter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
[270/307] Compiling StreamCore StreamJsonDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 | }
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/GetStream/stream-core-swift.git
Fetching https://github.com/GetStream/stream-logs-ui-swift.git
[1/3720] Fetching stream-core-swift
[969/6065] Fetching stream-core-swift, swift-docc-plugin
[2059/6476] Fetching stream-core-swift, swift-docc-plugin, stream-logs-ui-swift
Fetched https://github.com/GetStream/stream-logs-ui-swift.git from cache (1.49s)
[3978/6065] Fetching stream-core-swift, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.79s)
Fetched https://github.com/GetStream/stream-core-swift.git from cache (1.79s)
Computing version for https://github.com/GetStream/stream-logs-ui-swift.git
Computed https://github.com/GetStream/stream-logs-ui-swift.git at 0.2.0 (2.37s)
Computing version for https://github.com/GetStream/stream-core-swift.git
Computed https://github.com/GetStream/stream-core-swift.git at 0.15.0 (0.65s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (2.11s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
Creating working copy for https://github.com/GetStream/stream-logs-ui-swift.git
Working copy of https://github.com/GetStream/stream-logs-ui-swift.git resolved at 0.2.0
Creating working copy for https://github.com/GetStream/stream-core-swift.git
Working copy of https://github.com/GetStream/stream-core-swift.git resolved at 0.15.0
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/TestTools/StreamChatTestTools/DatabaseModels/TestDataModel.xcdatamodeld
    /Users/admin/builder/spi-builder-workspace/TestTools/StreamChatTestTools/DatabaseModels/TestDataModel2.xcdatamodeld
warning: 'stream-core-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Info.plist
warning: 'stream-core-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCoreUI/Info.plist
BUILD FAILURE 6.2 macosSpm