The Swift Package Index logo.Swift Package Index

Build Information

Failed to build StreamCore, reference develop (bc633f), with Swift 6.3 for macOS (SPM) on 27 Apr 2026 11:24:38 UTC.

Build Command

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

Build Log

36 |         if #available(iOS 15.0, *) {
37 |             for try await value in self.values {
   |                                         |- error: 'values' is only available in macOS 12.0 or newer
   |                                         `- note: add 'if #available' version check
38 |                 return value
39 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:55:27: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
53 |         line: UInt = #line
54 |     ) async throws -> Output {
55 |         let erased = self.eraseToAnyPublisher()
   |                           |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
56 |         return try await Task(
57 |             timeoutInSeconds: timeoutInSeconds,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:56:26: error: 'Task' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
54 |     ) async throws -> Output {
55 |         let erased = self.eraseToAnyPublisher()
56 |         return try await Task(
   |                          |- error: 'Task' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
57 |             timeoutInSeconds: timeoutInSeconds,
58 |             file: file,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:62:30: error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
60 |             line: line
61 |         ) { [erased] in
62 |             try await erased.firstValue(file: file, line: line)
   |                              |- error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
63 |         }.value
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:63:11: error: 'value' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
61 |         ) { [erased] in
62 |             try await erased.firstValue(file: file, line: line)
63 |         }.value
   |           |- error: 'value' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
64 |     }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:74:20: error: 'dropFirst' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
72 |     ) async throws -> Output {
73 |         let publisher = dropFirst > 0
74 |             ? self.dropFirst(dropFirst).eraseToAnyPublisher()
   |                    |- error: 'dropFirst' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
75 |             : eraseToAnyPublisher()
76 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:74:41: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
72 |     ) async throws -> Output {
73 |         let publisher = dropFirst > 0
74 |             ? self.dropFirst(dropFirst).eraseToAnyPublisher()
   |                                         |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
75 |             : eraseToAnyPublisher()
76 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:75:15: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
73 |         let publisher = dropFirst > 0
74 |             ? self.dropFirst(dropFirst).eraseToAnyPublisher()
75 |             : eraseToAnyPublisher()
   |               |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |               `- note: add 'if #available' version check
76 |
77 |         if let timeout {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:78:40: error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
76 |
77 |         if let timeout {
78 |             return try await publisher.firstValue(
   |                                        |- error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
79 |                 timeoutInSeconds: timeout,
80 |                 file: file,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:85:40: error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
83 |             )
84 |         } else {
85 |             return try await publisher.firstValue()
   |                                        |- error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+WeakAssign.swift:12:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | extension Publisher where Failure == Never {
   | `- note: add '@available' attribute to enclosing extension
 9 |     public func assign<Root: AnyObject>(
   |                 `- note: add '@available' attribute to enclosing instance method
10 |         to keyPath: ReferenceWritableKeyPath<Root, Output>,
11 |         onWeak object: Root
12 |     ) -> AnyCancellable {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
13 |         sink { [weak object] value in
14 |             object?[keyPath: keyPath] = value
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+WeakAssign.swift:8:11: error: 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | extension Publisher where Failure == Never {
   | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
 9 |     public func assign<Root: AnyObject>(
10 |         to keyPath: ReferenceWritableKeyPath<Root, Output>,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+WeakAssign.swift:13:9: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | extension Publisher where Failure == Never {
   | `- note: add '@available' attribute to enclosing extension
 9 |     public func assign<Root: AnyObject>(
   |                 `- note: add '@available' attribute to enclosing instance method
10 |         to keyPath: ReferenceWritableKeyPath<Root, Output>,
11 |         onWeak object: Root
12 |     ) -> AnyCancellable {
13 |         sink { [weak object] value in
   |         |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
14 |             object?[keyPath: keyPath] = value
15 |         }
[75/83] Compiling StreamCore RawJSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:10:39: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 7 |
 8 | public final class DisposableBag: @unchecked Sendable {
 9 |     private final class Storage {
   |                         `- note: add '@available' attribute to enclosing class
10 |         private var storage: [String: AnyCancellable] = [:]
   |                                       `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
11 |         private let queue = UnfairQueue()
12 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:18:28: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 7 |
 8 | public final class DisposableBag: @unchecked Sendable {
 9 |     private final class Storage {
   |                         `- note: add '@available' attribute to enclosing class
10 |         private var storage: [String: AnyCancellable] = [:]
11 |         private let queue = UnfairQueue()
   :
15 |         }
16 |
17 |         func insert(
   |              `- note: add '@available' attribute to enclosing instance method
18 |             _ cancellable: AnyCancellable,
   |                            `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
19 |             with key: String = UUID().uuidString
20 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:49:24: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public final class DisposableBag: @unchecked Sendable {
   |                    `- note: add '@available' attribute to enclosing class
 9 |     private final class Storage {
10 |         private var storage: [String: AnyCancellable] = [:]
   :
46 |     public init() {}
47 |
48 |     public func insert(
   |                 `- note: add '@available' attribute to enclosing instance method
49 |         _ cancellable: AnyCancellable,
   |                        `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
50 |         with key: String = UUID().uuidString
51 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:66:11: error: 'AnyCancellable' is only available in macOS 10.15 or newer
64 | }
65 |
66 | extension AnyCancellable {
   | |         `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
67 |     public func store(
68 |         in disposableBag: DisposableBag?,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:74:37: error: 'AnyCancellable' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension Task {
   | `- note: add '@available' attribute to enclosing extension
74 |     func eraseToAnyCancellable() -> AnyCancellable { .init(cancel) }
   |          |                          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
75 |
76 |     public func store(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:73:11: error: 'Task' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension Task {
   | |         `- error: 'Task' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
74 |     func eraseToAnyCancellable() -> AnyCancellable { .init(cancel) }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:74:60: error: 'cancel()' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension Task {
   | `- note: add '@available' attribute to enclosing extension
74 |     func eraseToAnyCancellable() -> AnyCancellable { .init(cancel) }
   |          |                                                 |- error: 'cancel()' is only available in macOS 10.15 or newer
   |          |                                                 `- note: add 'if #available' version check
   |          `- note: add '@available' attribute to enclosing instance method
75 |
76 |     public func store(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/DisposableBag.swift:79:36: error: 'cancel()' is only available in macOS 10.15 or newer
71 | }
72 |
73 | extension Task {
   | `- note: add '@available' attribute to enclosing extension
74 |     func eraseToAnyCancellable() -> AnyCancellable { .init(cancel) }
75 |
76 |     public func store(
   |                 `- note: add '@available' attribute to enclosing instance method
77 |         in disposableBag: DisposableBag,
78 |         key: String = UUID().uuidString
79 |     ) { disposableBag.insert(.init(cancel), with: key) }
   |                                    |- error: 'cancel()' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:31:6: error: 'Published' is only available in macOS 10.15 or newer
 27 | /// Basically, it's a wrapper over legacy monitor based on `Reachability` (iOS 11 only)
 28 | /// and default monitor based on `Network`.`NWPathMonitor` (iOS 12+).
 29 | open class InternetConnection: @unchecked Sendable {
    |            `- note: add '@available' attribute to enclosing class
 30 |     /// The current Internet connection status.
 31 |     @Published public private(set) var status: InternetConnectionStatus {
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 32 |         didSet {
 33 |             guard oldValue != status else { return }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:154:30: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
151 |     /// The default Internet connection monitor for iOS 12+.
152 |     /// It uses Apple Network API.
153 |     public class Monitor: InternetConnectionMonitor, @unchecked Sendable {
    |                  `- note: add '@available' attribute to enclosing class
154 |         private var monitor: NWPathMonitor?
    |                              `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
155 |         private let queue = DispatchQueue(label: "io.getstream.internet-monitor")
156 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:181:41: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
151 |     /// The default Internet connection monitor for iOS 12+.
152 |     /// It uses Apple Network API.
153 |     public class Monitor: InternetConnectionMonitor, @unchecked Sendable {
    |                  `- note: add '@available' attribute to enclosing class
154 |         private var monitor: NWPathMonitor?
155 |         private let queue = DispatchQueue(label: "io.getstream.internet-monitor")
    :
179 |         }
180 |
181 |         private func createMonitor() -> NWPathMonitor {
    |                      |                  `- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
    |                      `- note: add '@available' attribute to enclosing instance method
182 |             let monitor = NWPathMonitor()
183 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:192:46: error: 'NWPath' is only available in macOS 10.14 or newer
151 |     /// The default Internet connection monitor for iOS 12+.
152 |     /// It uses Apple Network API.
153 |     public class Monitor: InternetConnectionMonitor, @unchecked Sendable {
    |                  `- note: add '@available' attribute to enclosing class
154 |         private var monitor: NWPathMonitor?
155 |         private let queue = DispatchQueue(label: "io.getstream.internet-monitor")
    :
190 |         }
191 |
192 |         private func updateStatus(with path: NWPath) {
    |                      |                       `- error: 'NWPath' is only available in macOS 10.14 or newer
    |                      `- note: add '@available' attribute to enclosing instance method
193 |             log.info("Internet Connection info: \(path.debugDescription)", subsystems: .httpRequests)
194 |             delegate?.internetConnectionStatusDidChange(status: status(from: path))
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:197:40: error: 'NWPath' is only available in macOS 10.14 or newer
151 |     /// The default Internet connection monitor for iOS 12+.
152 |     /// It uses Apple Network API.
153 |     public class Monitor: InternetConnectionMonitor, @unchecked Sendable {
    |                  `- note: add '@available' attribute to enclosing class
154 |         private var monitor: NWPathMonitor?
155 |         private let queue = DispatchQueue(label: "io.getstream.internet-monitor")
    :
195 |         }
196 |
197 |         private func status(from path: NWPath) -> InternetConnectionStatus {
    |                      |                 `- error: 'NWPath' is only available in macOS 10.14 or newer
    |                      `- note: add '@available' attribute to enclosing instance method
198 |             guard path.status == .satisfied else {
199 |                 return .unavailable
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:220:26: error: 'AnyPublisher' is only available in macOS 10.15 or newer
213 |
214 | /// A protocol defining the interface for internet connection monitoring.
215 | public protocol InternetConnectionProtocol {
    |                 `- note: add '@available' attribute to enclosing protocol
216 |     /// A publisher that emits the current internet connection status.
217 |     ///
218 |     /// This publisher never fails and continuously updates with the latest
219 |     /// connection status.
220 |     var statusPublisher: AnyPublisher<InternetConnectionStatus, Never> { get }
    |         |                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:230:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
221 | }
222 |
223 | extension InternetConnection: InternetConnectionProtocol {
    | `- note: add '@available' attribute to enclosing extension
224 |     /// A publisher that emits the current internet connection status.
225 |     ///
    :
228 |     ///
229 |     /// - Note: The publisher won't publish any duplicates.
230 |     public var statusPublisher: AnyPublisher<InternetConnectionStatus, Never> {
    |                |                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
231 |         $status.removeDuplicates().eraseToAnyPublisher()
232 |     }
<unknown>:0: error: cannot convert value of type 'any KeyPath<InternetConnection, InternetConnectionStatus> & Sendable' to expected argument type 'ReferenceWritableKeyPath<InternetConnection, InternetConnectionStatus>'
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:60:9: error: setter for 'status' is only available in macOS 10.15 or newer
 27 | /// Basically, it's a wrapper over legacy monitor based on `Reachability` (iOS 11 only)
 28 | /// and default monitor based on `Network`.`NWPathMonitor` (iOS 12+).
 29 | open class InternetConnection: @unchecked Sendable {
    |            `- note: add '@available' attribute to enclosing class
 30 |     /// The current Internet connection status.
 31 |     @Published public private(set) var status: InternetConnectionStatus {
    :
 51 |     /// Creates a `InternetConnection` with a given monitor.
 52 |     /// - Parameter monitor: an Internet connection monitor. Use nil for a default `InternetConnectionMonitor`.
 53 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 54 |         notificationCenter: NotificationCenter = .default,
 55 |         monitor: InternetConnectionMonitor
    :
 58 |         self.monitor = monitor
 59 |
 60 |         status = monitor.status
    |         |- error: setter for 'status' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 61 |         monitor.delegate = self
 62 |         monitor.start()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:72:9: error: setter for 'status' is only available in macOS 10.15 or newer
 68 | }
 69 |
 70 | extension InternetConnection: InternetConnectionDelegate {
    | `- note: add '@available' attribute to enclosing extension
 71 |     public func internetConnectionStatusDidChange(status: InternetConnectionStatus) {
    |                 `- note: add '@available' attribute to enclosing instance method
 72 |         self.status = status
    |         |- error: setter for 'status' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 73 |     }
 74 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:182:27: error: 'NWPathMonitor' is only available in macOS 10.14 or newer
151 |     /// The default Internet connection monitor for iOS 12+.
152 |     /// It uses Apple Network API.
153 |     public class Monitor: InternetConnectionMonitor, @unchecked Sendable {
    |                  `- note: add '@available' attribute to enclosing class
154 |         private var monitor: NWPathMonitor?
155 |         private let queue = DispatchQueue(label: "io.getstream.internet-monitor")
    :
179 |         }
180 |
181 |         private func createMonitor() -> NWPathMonitor {
    |                      `- note: add '@available' attribute to enclosing instance method
182 |             let monitor = NWPathMonitor()
    |                           |- error: 'NWPathMonitor' is only available in macOS 10.14 or newer
    |                           `- note: add 'if #available' version check
183 |
184 |             // We should be able to do `[weak self]` here, but it seems `NWPathMonitor` sometimes calls the handler
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:203:28: error: 'isConstrained' is only available in macOS 10.15 or newer
151 |     /// The default Internet connection monitor for iOS 12+.
152 |     /// It uses Apple Network API.
153 |     public class Monitor: InternetConnectionMonitor, @unchecked Sendable {
    |                  `- note: add '@available' attribute to enclosing class
154 |         private var monitor: NWPathMonitor?
155 |         private let queue = DispatchQueue(label: "io.getstream.internet-monitor")
    :
195 |         }
196 |
197 |         private func status(from path: NWPath) -> InternetConnectionStatus {
    |                      `- note: add '@available' attribute to enclosing instance method
198 |             guard path.status == .satisfied else {
199 |                 return .unavailable
    :
201 |
202 |             let quality: InternetConnectionQuality
203 |             quality = path.isConstrained ? .constrained : (path.isExpensive ? .expensive : .great)
    |                            |- error: 'isConstrained' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
204 |
205 |             return .available(quality)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:231:17: error: 'removeDuplicates()' is only available in macOS 10.15 or newer
221 | }
222 |
223 | extension InternetConnection: InternetConnectionProtocol {
    | `- note: add '@available' attribute to enclosing extension
224 |     /// A publisher that emits the current internet connection status.
225 |     ///
    :
228 |     ///
229 |     /// - Note: The publisher won't publish any duplicates.
230 |     public var statusPublisher: AnyPublisher<InternetConnectionStatus, Never> {
    |                `- note: add '@available' attribute to enclosing property
231 |         $status.removeDuplicates().eraseToAnyPublisher()
    |                 |- error: 'removeDuplicates()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
232 |     }
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/InternetConnection.swift:231:36: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
221 | }
222 |
223 | extension InternetConnection: InternetConnectionProtocol {
    | `- note: add '@available' attribute to enclosing extension
224 |     /// A publisher that emits the current internet connection status.
225 |     ///
    :
228 |     ///
229 |     /// - Note: The publisher won't publish any duplicates.
230 |     public var statusPublisher: AnyPublisher<InternetConnectionStatus, Never> {
    |                `- note: add '@available' attribute to enclosing property
231 |         $status.removeDuplicates().eraseToAnyPublisher()
    |                                    |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
232 |     }
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:15:34: error: 'AsyncStream' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
13 |     ///
14 |     /// - Returns: An `AsyncStream` emitting values of the publisher as they arrive.
15 |     func eraseAsAsyncStream() -> AsyncStream<Output> {
   |          |                       `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
16 |         AsyncStream { continuation in
17 |             let cancellable = self.sink(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:8:18: error: 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        |         `- error: 'Publisher' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:16:9: error: 'AsyncStream' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
13 |     ///
14 |     /// - Returns: An `AsyncStream` emitting values of the publisher as they arrive.
15 |     func eraseAsAsyncStream() -> AsyncStream<Output> {
   |          `- note: add '@available' attribute to enclosing instance method
16 |         AsyncStream { continuation in
   |         |- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             let cancellable = self.sink(
18 |                 receiveCompletion: { _ in
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:17:36: error: 'sink(receiveCompletion:receiveValue:)' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
13 |     ///
14 |     /// - Returns: An `AsyncStream` emitting values of the publisher as they arrive.
15 |     func eraseAsAsyncStream() -> AsyncStream<Output> {
   |          `- note: add '@available' attribute to enclosing instance method
16 |         AsyncStream { continuation in
17 |             let cancellable = self.sink(
   |                                    |- error: 'sink(receiveCompletion:receiveValue:)' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
18 |                 receiveCompletion: { _ in
19 |                     continuation.finish()
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:37:41: error: 'values' is only available in macOS 12.0 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
30 |     }
31 |
32 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
33 |         file: StaticString = #file,
34 |         line: UInt = #line
35 |     ) async throws -> Output {
36 |         if #available(iOS 15.0, *) {
37 |             for try await value in self.values {
   |                                         |- error: 'values' is only available in macOS 12.0 or newer
   |                                         `- note: add 'if #available' version check
38 |                 return value
39 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:55:27: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
53 |         line: UInt = #line
54 |     ) async throws -> Output {
55 |         let erased = self.eraseToAnyPublisher()
   |                           |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
56 |         return try await Task(
57 |             timeoutInSeconds: timeoutInSeconds,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:56:26: error: 'Task' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
54 |     ) async throws -> Output {
55 |         let erased = self.eraseToAnyPublisher()
56 |         return try await Task(
   |                          |- error: 'Task' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
57 |             timeoutInSeconds: timeoutInSeconds,
58 |             file: file,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:62:30: error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
60 |             line: line
61 |         ) { [erased] in
62 |             try await erased.firstValue(file: file, line: line)
   |                              |- error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
63 |         }.value
64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:63:11: error: 'value' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
47 |     }
48 |
49 |     func firstValue(
   |          `- note: add '@available' attribute to enclosing instance method
50 |         timeoutInSeconds: TimeInterval,
51 |         file: StaticString = #file,
   :
61 |         ) { [erased] in
62 |             try await erased.firstValue(file: file, line: line)
63 |         }.value
   |           |- error: 'value' is only available in macOS 10.15 or newer
   |           `- note: add 'if #available' version check
64 |     }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:74:20: error: 'dropFirst' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
72 |     ) async throws -> Output {
73 |         let publisher = dropFirst > 0
74 |             ? self.dropFirst(dropFirst).eraseToAnyPublisher()
   |                    |- error: 'dropFirst' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
75 |             : eraseToAnyPublisher()
76 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:74:41: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
72 |     ) async throws -> Output {
73 |         let publisher = dropFirst > 0
74 |             ? self.dropFirst(dropFirst).eraseToAnyPublisher()
   |                                         |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
75 |             : eraseToAnyPublisher()
76 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:75:15: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
73 |         let publisher = dropFirst > 0
74 |             ? self.dropFirst(dropFirst).eraseToAnyPublisher()
75 |             : eraseToAnyPublisher()
   |               |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |               `- note: add 'if #available' version check
76 |
77 |         if let timeout {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:78:40: error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
76 |
77 |         if let timeout {
78 |             return try await publisher.firstValue(
   |                                        |- error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
79 |                 timeoutInSeconds: timeout,
80 |                 file: file,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+AsyncStream.swift:85:40: error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | public extension Publisher where Output: Sendable {
   |        `- note: add '@available' attribute to enclosing extension
 9 |     /// Converts the current publisher into an `AsyncStream` of its output.
10 |     ///
   :
64 |     }
65 |
66 |     func nextValue(
   |          `- note: add '@available' attribute to enclosing instance method
67 |         dropFirst: Int = 0,
68 |         timeout: TimeInterval? = nil,
   :
83 |             )
84 |         } else {
85 |             return try await publisher.firstValue()
   |                                        |- error: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
86 |         }
87 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+WeakAssign.swift:12:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | extension Publisher where Failure == Never {
   | `- note: add '@available' attribute to enclosing extension
 9 |     public func assign<Root: AnyObject>(
   |                 `- note: add '@available' attribute to enclosing instance method
10 |         to keyPath: ReferenceWritableKeyPath<Root, Output>,
11 |         onWeak object: Root
12 |     ) -> AnyCancellable {
   |          `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
13 |         sink { [weak object] value in
14 |             object?[keyPath: keyPath] = value
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+WeakAssign.swift:8:11: error: 'Publisher' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | extension Publisher where Failure == Never {
   | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
 9 |     public func assign<Root: AnyObject>(
10 |         to keyPath: ReferenceWritableKeyPath<Root, Output>,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Utils/Publisher+WeakAssign.swift:13:9: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 6 | import Foundation
 7 |
 8 | extension Publisher where Failure == Never {
   | `- note: add '@available' attribute to enclosing extension
 9 |     public func assign<Root: AnyObject>(
   |                 `- note: add '@available' attribute to enclosing instance method
10 |         to keyPath: ReferenceWritableKeyPath<Root, Output>,
11 |         onWeak object: Root
12 |     ) -> AnyCancellable {
13 |         sink { [weak object] value in
   |         |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
14 |             object?[keyPath: keyPath] = value
15 |         }
[76/83] Compiling StreamCore Publisher+Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
[77/83] Compiling StreamCore AuthMiddlewares.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
[78/83] Compiling StreamCore HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
[79/83] Compiling StreamCore Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
[80/83] Compiling StreamCore Retries.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
[81/83] Compiling StreamCore URLSession+Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
[82/83] Compiling StreamCore URLSessionTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
[83/83] Compiling StreamCore ConnectUserDetailsRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:70:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 67 |     }
 68 |
 69 |     func refreshToken() async throws -> UserToken {
    |          `- note: add '@available' attribute to enclosing instance method
 70 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |68 |
    |69 |
    |70 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 71 |             tokenProvider? { result in
 72 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift:83:51: note: expanded code originates here
 18 | }
 19 |
 20 | final class URLSessionClient: HTTPClient, @unchecked Sendable {
    |             `- note: add '@available' attribute to enclosing class
 21 |     private let urlSession: URLSession
 22 |     private var tokenProvider: UserTokenProvider?
    :
 80 |     }
 81 |
 82 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> Data {
    |                  `- note: add '@available' attribute to enclosing instance method
 83 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/HTTPClient.swift
    |81 |
    |82 |
    |83 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
 84 |             let task = urlSession.dataTask(with: request) { data, response, error in
 85 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:23: error: 'Task' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                       |- error: 'Task' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/Retries.swift:31:28: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
18 | }
19 |
20 | func executeTask<Output>(
   |      `- note: add '@available' attribute to enclosing global function
21 |     retryPolicy: RetryPolicy,
22 |     task: () async throws -> Output,
   :
29 |         if retries < retryPolicy.maxRetries && shouldRetryError(error) {
30 |             let delay = UInt64(retryPolicy.delay(retries) * 1_000_000_000)
31 |             try await Task.sleep(nanoseconds: delay)
   |                            |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
32 |             if await retryPolicy.runPrecondition() {
33 |                 return try await executeTask(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:40:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 37 |     }
 38 |
 39 |     public func refreshToken() async throws -> UserToken {
    |                 `- note: add '@available' attribute to enclosing instance method
 40 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |38 |
    |39 |
    |40 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 41 |             tokenProvider? { result in
 42 |                 switch result {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift:77:51: note: expanded code originates here
  5 | import Foundation
  6 |
  7 | public final class URLSessionTransport: DefaultAPITransport, @unchecked Sendable {
    |                    `- note: add '@available' attribute to enclosing class
  8 |     private let urlSession: URLSession
  9 |     private let xStreamClientHeader: String
    :
 74 |     }
 75 |
 76 |     private func execute(request: URLRequest, isRetry: Bool) async throws -> (Data, URLResponse) {
    |                  `- note: add '@available' attribute to enclosing instance method
 77 |         try await withCheckedThrowingContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/OpenAPI/HTTP/URLSessionTransport.swift
    |75 |
    |76 |
    |77 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------------------------------
 78 |             let task = urlSession.dataTask(with: request) { data, response, error in
 79 |                 if let error {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamCoreUI/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamAttachments/Info.plist
BUILD FAILURE 6.3 macosSpm