The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[83/90] Compiling StreamCore ConsoleLogDestination.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[84/90] Compiling StreamCore LogDestination.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[85/90] Compiling StreamCore OSLogDestination.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[86/90] Compiling StreamCore LogFormatter.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[87/90] Compiling StreamCore PrefixLogFormatter.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[88/90] Compiling StreamCore LogAttachment.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[89/90] Compiling StreamCore Logger.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
[90/90] Compiling StreamCore Publisher+Logger.swift
/Users/admin/builder/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/LogAttachment.swift:96:59: error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | extension Data {
    | `- note: add '@available' attribute to enclosing extension
 90 |     // Pretty-printed JSON, or the text of other data, or `nil` when the data is empty or isn't text.
 91 |     var logDescription: String? {
    |         `- note: add '@available' attribute to enclosing property
 92 |         guard !isEmpty else { return nil }
 93 |         guard let object = try? JSONSerialization.jsonObject(with: self, options: .fragmentsAllowed),
 94 |               let json = try? JSONSerialization.data(
 95 |                   withJSONObject: object,
 96 |                   options: [.prettyPrinted, .sortedKeys, .withoutEscapingSlashes, .fragmentsAllowed]
    |                                                           |- error: 'withoutEscapingSlashes' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
 97 |               ) else {
 98 |             return String(data: self, encoding: .utf8)
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:259:59: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
257 |     }
258 |
259 |     private nonisolated(unsafe) static let levelSubject = CurrentValueSubject<LogLevel, Never>(_state.value.level)
    |                                            |              `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                                            `- note: add '@available' attribute to enclosing static property
260 |
261 |     /// Publishes the current log level and all subsequent changes.
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:262:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
264 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Logger.swift:263:22: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
149 | }
150 |
151 | public enum LogConfig {
    |             `- note: add '@available' attribute to enclosing enum
152 |     private struct State {
153 |         var identifier: String = ""
    :
260 |
261 |     /// Publishes the current log level and all subsequent changes.
262 |     public static var levelPublisher: AnyPublisher<LogLevel, Never> {
    |                       `- note: add '@available' attribute to enclosing static property
263 |         levelSubject.eraseToAnyPublisher()
    |                      |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
264 |     }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:51:20: error: 'Subscriber' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
    :
 47 |         }
 48 |
 49 |         public func receive<S>(
    |                     `- note: add '@available' attribute to enclosing instance method
 50 |             subscriber: S
 51 |         ) where S: Subscriber, Failure == S.Failure, Output == S.Input {
    |                    `- error: 'Subscriber' is only available in macOS 10.15 or newer
 52 |             upstream.receive(
 53 |                 subscriber: LogSubscriber(
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:9:33: error: 'Publisher' is only available in macOS 10.15 or newer
  7 | extension Publishers {
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
    |                   |             `- error: 'Publisher' is only available in macOS 10.15 or newer
    |                   |- note: add '@available' attribute to enclosing generic struct
    |                   `- note: add '@available' attribute to enclosing generic struct
 10 |         public typealias Output = Upstream.Output
 11 |         public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:7:11: error: 'Publishers' is only available in macOS 10.15 or newer
  5 | import Combine
  6 |
  7 | extension Publishers {
    | |         `- error: 'Publishers' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
  8 |     /// A Publisher that logs values emitted by an upstream publisher.
  9 |     public struct Log<Upstream: Publisher>: Publisher {
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:98:32: error: 'Subscription' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
 96 |     }
 97 |
 98 |     func receive(subscription: Subscription) {
    |          |                     `- error: 'Subscription' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
 99 |         downstream.receive(subscription: subscription)
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:102:37: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
100 |     }
101 |
102 |     func receive(_ input: Input) -> Subscribers.Demand {
    |          |                          `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
103 |         log.log(
104 |             level,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:115:30: error: 'Subscribers' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
    :
113 |     }
114 |
115 |     func receive(completion: Subscribers.Completion<Failure>) {
    |          |                   `- error: 'Subscribers' is only available in macOS 10.15 or newer
    |          `- note: add '@available' attribute to enclosing instance method
116 |         downstream.receive(completion: completion)
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:68:47: error: 'Subscriber' is only available in macOS 10.15 or newer
 66 |
 67 | /// A custom Subscriber that logs values before passing them downstream.
 68 | private final class LogSubscriber<Downstream: Subscriber>: Subscriber {
    |                     |                         `- error: 'Subscriber' is only available in macOS 10.15 or newer
    |                     `- note: add '@available' attribute to enclosing generic class
 69 |     typealias Input = Downstream.Input
 70 |     typealias Failure = Downstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:138:10: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
136 |         lineNumber: UInt = #line,
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
    |          `- error: 'Publishers' is only available in macOS 10.15 or newer
139 |         Publishers.Log(
140 |             upstream: self,
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:120:11: error: 'Publisher' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | |         `- error: 'Publisher' is only available in macOS 10.15 or newer
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Logger/Publisher+Logger.swift:139:9: error: 'Publishers' is only available in macOS 10.15 or newer
118 | }
119 |
120 | extension Publisher {
    | `- note: add '@available' attribute to enclosing extension
121 |     /// Logs the publisher's input using Stream Logger
122 |     ///
    :
129 |     ///   - messageBuilder: An optional closure to customize the log message.
130 |     /// - Returns: A publisher that logs values before passing them downstream.
131 |     public func log(
    |                 `- note: add '@available' attribute to enclosing instance method
132 |         _ level: LogLevel,
133 |         subsystems: LogSubsystem = .other,
    :
137 |         messageBuilder: ((Self.Output) -> String)? = nil
138 |     ) -> Publishers.Log<Self> {
139 |         Publishers.Log(
    |         |- error: 'Publishers' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
140 |             upstream: self,
141 |             level: level,
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamCore/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamCoreUI/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/StreamAttachments/Info.plist
BUILD FAILURE 6.3 macosSpm