Build Information
Failed to build StreamChatSwiftUI, reference develop (042202), with Swift 6.1 for macOS (SPM) on 29 Apr 2026 10:54:02 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
| |- 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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 {
[51/82] Compiling StreamCore ConnectUserDetailsRequest.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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/.build/checkouts/stream-core-swift/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 {
[52/82] Compiling StreamCore FilterOperator.swift
[53/82] Compiling StreamCore FilterValue+Location.swift
[54/82] Compiling StreamCore FilterValue.swift
[55/82] Compiling StreamCore Sort.swift
[56/82] Compiling StreamCore APIHelper.swift
[57/82] Compiling StreamCore CodableHelper.swift
[58/82] Compiling StreamCore Extensions.swift
[59/82] Compiling StreamCore JSONDataEncoding.swift
[60/82] Compiling StreamCore WebSocketEngine.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | public protocol WebSocketEngine: AnyObject, Sendable {
| `- note: add @available attribute to enclosing protocol
8 | var request: URLRequest { get }
9 | var callbackQueue: DispatchQueue { get }
:
14 | func connect()
15 | func disconnect()
16 | func disconnect(with code: URLSessionWebSocketTask.CloseCode)
| | `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | func send(message: SendableEvent)
18 | func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .sink(receiveValue: handler)
73 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | .compactMap(\.event)
81 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
81 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
80 | .compactMap(\.event)
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .sink(receiveValue: handler)
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[61/82] Compiling StreamCore WebSocketPingController.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | public protocol WebSocketEngine: AnyObject, Sendable {
| `- note: add @available attribute to enclosing protocol
8 | var request: URLRequest { get }
9 | var callbackQueue: DispatchQueue { get }
:
14 | func connect()
15 | func disconnect()
16 | func disconnect(with code: URLSessionWebSocketTask.CloseCode)
| | `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | func send(message: SendableEvent)
18 | func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .sink(receiveValue: handler)
73 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | .compactMap(\.event)
81 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
81 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
80 | .compactMap(\.event)
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .sink(receiveValue: handler)
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[62/82] Compiling StreamCore Event.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | public protocol WebSocketEngine: AnyObject, Sendable {
| `- note: add @available attribute to enclosing protocol
8 | var request: URLRequest { get }
9 | var callbackQueue: DispatchQueue { get }
:
14 | func connect()
15 | func disconnect()
16 | func disconnect(with code: URLSessionWebSocketTask.CloseCode)
| | `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | func send(message: SendableEvent)
18 | func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .sink(receiveValue: handler)
73 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | .compactMap(\.event)
81 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
81 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
80 | .compactMap(\.event)
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .sink(receiveValue: handler)
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[63/82] Compiling StreamCore EventBatcher.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | public protocol WebSocketEngine: AnyObject, Sendable {
| `- note: add @available attribute to enclosing protocol
8 | var request: URLRequest { get }
9 | var callbackQueue: DispatchQueue { get }
:
14 | func connect()
15 | func disconnect()
16 | func disconnect(with code: URLSessionWebSocketTask.CloseCode)
| | `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | func send(message: SendableEvent)
18 | func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .sink(receiveValue: handler)
73 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | .compactMap(\.event)
81 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
81 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
80 | .compactMap(\.event)
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .sink(receiveValue: handler)
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[64/82] Compiling StreamCore EventMiddleware.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | public protocol WebSocketEngine: AnyObject, Sendable {
| `- note: add @available attribute to enclosing protocol
8 | var request: URLRequest { get }
9 | var callbackQueue: DispatchQueue { get }
:
14 | func connect()
15 | func disconnect()
16 | func disconnect(with code: URLSessionWebSocketTask.CloseCode)
| | `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | func send(message: SendableEvent)
18 | func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .sink(receiveValue: handler)
73 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | .compactMap(\.event)
81 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
81 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
80 | .compactMap(\.event)
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .sink(receiveValue: handler)
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[65/82] Compiling StreamCore EventNotificationCenter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | public protocol WebSocketEngine: AnyObject, Sendable {
| `- note: add @available attribute to enclosing protocol
8 | var request: URLRequest { get }
9 | var callbackQueue: DispatchQueue { get }
:
14 | func connect()
15 | func disconnect()
16 | func disconnect(with code: URLSessionWebSocketTask.CloseCode)
| | `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | func send(message: SendableEvent)
18 | func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .sink(receiveValue: handler)
73 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | .compactMap(\.event)
81 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
81 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
80 | .compactMap(\.event)
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .sink(receiveValue: handler)
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[66/82] Compiling StreamCore StreamJsonDecoder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Client/WebSocketEngine.swift:16:32: error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
5 | import Foundation
6 |
7 | public protocol WebSocketEngine: AnyObject, Sendable {
| `- note: add @available attribute to enclosing protocol
8 | var request: URLRequest { get }
9 | var callbackQueue: DispatchQueue { get }
:
14 | func connect()
15 | func disconnect()
16 | func disconnect(with code: URLSessionWebSocketTask.CloseCode)
| | `- error: 'URLSessionWebSocketTask' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | func send(message: SendableEvent)
18 | func send(jsonMessage: Codable)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:67:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:78:10: error: 'AnyCancellable' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:68:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
66 | handler: @escaping (E) -> Void
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:69:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
67 | ) -> AnyCancellable where E: Event {
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:70:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
68 | publisher(for: .NewEventReceived)
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:71:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
69 | .compactMap { $0.event as? E }
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
72 | .sink(receiveValue: handler)
73 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:72:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
| `- note: add @available attribute to enclosing instance method
64 | to event: E.Type,
65 | filter: @escaping (E) -> Bool = { _ in true },
:
70 | .filter(filter)
71 | .receive(on: DispatchQueue.main)
72 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:79:9: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
| |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
80 | .compactMap(\.event)
81 | .filter(filter)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:80:14: error: 'compactMap' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
78 | ) -> AnyCancellable {
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
| |- error: 'compactMap' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:81:14: error: 'filter' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
79 | publisher(for: .NewEventReceived)
80 | .compactMap(\.event)
81 | .filter(filter)
| |- error: 'filter' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:82:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
80 | .compactMap(\.event)
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
| |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | .sink(receiveValue: handler)
84 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/WebSocket/Events/EventNotificationCenter.swift:83:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
60 | }
61 |
62 | public extension EventNotificationCenter {
| `- note: add @available attribute to enclosing extension
63 | func subscribe<E>(
64 | to event: E.Type,
:
73 | }
74 |
75 | func subscribe(
| `- note: add @available attribute to enclosing instance method
76 | filter: @escaping (Event) -> Bool = { _ in true },
77 | handler: @escaping (Event) -> Void
:
81 | .filter(filter)
82 | .receive(on: DispatchQueue.main)
83 | .sink(receiveValue: handler)
| |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
84 | }
85 | }
[67/82] Compiling StreamCore WSAuthMessageRequest.swift
[68/82] Compiling StreamCore CreateDeviceRequest.swift
[69/82] Compiling StreamCore Device.swift
[70/82] Compiling StreamCore DevicesAPI.swift
[71/82] Compiling StreamCore ListDevicesResponse.swift
[72/82] Compiling StreamCore ModelResponse.swift
[73/82] Compiling StreamCore Filter+Local.swift
[74/82] Compiling StreamCore Filter.swift
[75/82] Compiling StreamCore Array+Logger.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[76/82] Compiling StreamCore BaseLogDestination.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[77/82] Compiling StreamCore ConsoleLogDestination.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[78/82] Compiling StreamCore LogDestination.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[79/82] Compiling StreamCore OSLogDestination.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[80/82] Compiling StreamCore LogFormatter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[81/82] Compiling StreamCore PrefixLogFormatter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
[82/82] Compiling StreamCore Logger.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:10:38: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
| `- error: 'Logger' is only available in macOS 11.0 or newer
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:12:35: error: 'Logger' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
12 | .reduce(into: [String: os.Logger]()) {
| `- error: 'Logger' is only available in macOS 11.0 or newer
13 | partialResult,
14 | subsystem in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:26: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:56:28: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
54 | switch logDetails.level {
55 | case .debug:
56 | logger.debug("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:58:29: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
56 | logger.debug("\(formattedMessage, privacy: .public)")
57 | case .info:
58 | logger.notice("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:28: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:60:30: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
58 | logger.notice("\(formattedMessage, privacy: .public)")
59 | case .warning:
60 | logger.warning("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:29: error: 'OSLogMessage' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Logger/Destination/OSLogDestination.swift:62:31: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
7 |
8 | @available(iOS 14.0, *)
9 | public final class OSLogDestination: BaseLogDestination, @unchecked Sendable {
| `- note: add @available attribute to enclosing class
10 | private let loggers: [String: os.Logger] = LogSubsystem
11 | .allCases
:
19 | }
20 |
21 | override public func process(logDetails: LogDetails) {
| `- note: add @available attribute to enclosing instance method
22 | guard let logger = loggers[logDetails.subsystem.description] else {
23 | return
:
60 | logger.warning("\(formattedMessage, privacy: .public)")
61 | case .error:
62 | logger.critical("\(formattedMessage, privacy: .public)")
| |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | }
warning: 'stream-core-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/stream-core-swift/Sources/StreamCore/Info.plist
BUILD FAILURE 6.1 macosSpm