The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WatchLink, reference main (a58d0d), with Swift 6.3 for macOS (SPM) on 22 Apr 2026 19:46:04 UTC.

Build Command

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

Build Log

12 |     func start()
13 |     func stop()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:12:35: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 10 |     private let decoder = JSONDecoder()
 11 |     private var seenIDs: Set<String> = []
 12 |     private var reachabilityTask: Task<Void, Never>?
    |                                   `- error: 'Task' is only available in macOS 10.15 or newer
 13 |     private var retryTask: Task<Void, Never>?
 14 |     private var subscriptions: [Channel: [UUID: @Sendable (Data, String) -> Void]] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:13:28: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 11 |     private var seenIDs: Set<String> = []
 12 |     private var reachabilityTask: Task<Void, Never>?
 13 |     private var retryTask: Task<Void, Never>?
    |                            `- error: 'Task' is only available in macOS 10.15 or newer
 14 |     private var subscriptions: [Channel: [UUID: @Sendable (Data, String) -> Void]] = [:]
 15 |     private var controlHandler: (@WatchLinkActor (ControlFrame) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:17:32: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 15 |     private var controlHandler: (@WatchLinkActor (ControlFrame) -> Void)?
 16 |     private var heartbeatHandler: (@WatchLinkActor () -> Void)?
 17 |     private var ingestionTask: Task<Void, Never>?
    |                                `- error: 'Task' is only available in macOS 10.15 or newer
 18 |     private var unackedMessages: [String: UnackedEntry] = [:]
 19 |     private var pendingConfirmations: Set<String> = []
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:20:29: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 18 |     private var unackedMessages: [String: UnackedEntry] = [:]
 19 |     private var pendingConfirmations: Set<String> = []
 20 |     private var sendTasks: [Task<Void, Never>] = []
    |                             `- error: 'Task' is only available in macOS 10.15 or newer
 21 |
 22 |     private struct UnackedEntry {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:43:29: error: 'Logger' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   |                             |- error: 'Logger' is only available in macOS 11.0 or newer
   |                             `- note: add 'if #available' version check
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:45:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
   |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:45:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
   |                                         |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:46:37: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
   |                                     |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                     `- note: add 'if #available' version check
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:46:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
   |                                       |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:47:43: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
   |                                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                           `- note: add 'if #available' version check
48 |             case .error: logger.error("\(message)")
49 |             case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:47:45: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
   |                                             |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                             `- note: add 'if #available' version check
48 |             case .error: logger.error("\(message)")
49 |             case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:48:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
   |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
49 |             case .none: break
50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:48:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
   |                                         |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
49 |             case .none: break
50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:247:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  |                                                `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:43:25: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
 41 |         }
 42 |
 43 |         ingestionTask = Task { [weak self] in
    |                         |- error: 'Task' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 44 |             await self?.ingest()
 45 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:43:25: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
 41 |         }
 42 |
 43 |         ingestionTask = Task { [weak self] in
    |                         |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 44 |             await self?.ingest()
 45 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:47:28: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 45 |         }
 46 |
 47 |         reachabilityTask = Task { [weak self] in
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 48 |             await self?.observeReachability()
 49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:47:28: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 45 |         }
 46 |
 47 |         reachabilityTask = Task { [weak self] in
    |                            |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 48 |             await self?.observeReachability()
 49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:51:21: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 49 |         }
 50 |
 51 |         retryTask = Task { [weak self] in
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 52 |             await self?.retryLoop()
 53 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:51:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 49 |         }
 50 |
 51 |         retryTask = Task { [weak self] in
    |                     |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 52 |             await self?.retryLoop()
 53 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:61:24: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
 59 |         }
 60 |
 61 |         ingestionTask?.cancel()
    |                        |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 62 |         reachabilityTask?.cancel()
 63 |         retryTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:62:27: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 60 |
 61 |         ingestionTask?.cancel()
 62 |         reachabilityTask?.cancel()
    |                           |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 63 |         retryTask?.cancel()
 64 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:63:20: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 61 |         ingestionTask?.cancel()
 62 |         reachabilityTask?.cancel()
 63 |         retryTask?.cancel()
    |                    |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 64 |
 65 |         await ingestionTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:65:30: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 63 |         retryTask?.cancel()
 64 |
 65 |         await ingestionTask?.value
    |                              |- error: 'value' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 66 |         await reachabilityTask?.value
 67 |         await retryTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:66:33: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 64 |
 65 |         await ingestionTask?.value
 66 |         await reachabilityTask?.value
    |                                 |- error: 'value' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 67 |         await retryTask?.value
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:67:26: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 65 |         await ingestionTask?.value
 66 |         await reachabilityTask?.value
 67 |         await retryTask?.value
    |                          |- error: 'value' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 68 |
 69 |         reachabilityTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:75:38: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 73 |         heartbeatHandler = nil
 74 |
 75 |         for task in sendTasks { task.cancel() }
    |                                      |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 76 |         sendTasks.removeAll()
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:38: error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
109 |         logger.debug("Query \(frame.id) on \(M.channel)")
110 |
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
    |                                      |- error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
112 |             for transport in transports {
113 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:113:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
112 |             for transport in transports {
113 |                 group.addTask {
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
114 |                     try? await transport.request(data)
115 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:118:19: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
116 |             }
117 |
118 |             group.addTask { [clock] in
    |                   |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
119 |                 try await clock.sleep(for: timeout)
120 |                 throw WatchLinkError.requestTimedOut
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:123:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
121 |             }
122 |
123 |             for try await result in group {
    |             |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
124 |                 if let result {
125 |                     group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:60: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:59: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
109 |         logger.debug("Query \(frame.id) on \(M.channel)")
110 |
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |109 |
    |110 |
    |111 |                                                           #isolation
    |    |                                                            `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
112 |             for transport in transports {
113 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
139 |             for transport in transports {
140 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:140:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
139 |             for transport in transports {
140 |                 group.addTask {
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
141 |                     await transport.reply(to: frameID, with: data)
142 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |136 |
    |137 |
    |138 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
139 |             for transport in transports {
140 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:201:20: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
202 |             var anySucceeded = false
203 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:201:20: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
    |                    |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
202 |             var anySucceeded = false
203 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:19: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
203 |
204 |             await withTaskGroup(of: Bool.self) { group in
    |                   |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
205 |                 for transport in reachable {
206 |                     group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:206:27: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
204 |             await withTaskGroup(of: Bool.self) { group in
205 |                 for transport in reachable {
206 |                     group.addTask {
    |                           |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
207 |                         do {
208 |                             try await transport.send(data)
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:216:17: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
214 |                 }
215 |
216 |                 for await succeeded in group {
    |                 |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
217 |                     if succeeded { anySucceeded = true }
218 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:225:34: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
223 |             }
224 |         }
225 |         sendTasks.removeAll { $0.isCancelled }
    |                                  |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
226 |         sendTasks.append(task)
227 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:33: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:32: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
203 |
204 |             await withTaskGroup(of: Bool.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |202 |
    |203 |
    |204 |                                #isolation
    |    |                                 `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
205 |                 for transport in reachable {
206 |                     group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:234:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
235 |                     for await reachable in stream {
236 |                         if reachable {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:235:21: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
    :
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
235 |                     for await reachable in stream {
    |                     |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
236 |                         if reachable {
237 |                             await self?.retryUnacked()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |230 |
    |231 |
    |232 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:243:36: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:243:35: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
    :
241 |             }
242 |
243 |             await group.waitForAll()
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |241 |
    |242 |
    |243 |                                   #isolation
    |    |                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
244 |         }
245 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:251:16: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
250 |
251 |         return AsyncStream { continuation in
    |                |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
252 |             subscribe(id: subID, channel: M.channel) { data, frameID in
253 |                 if let message = try? decoder.decode(M.self, from: data) {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:260:17: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
    :
258 |             continuation.onTermination = { [weak self] _ in
259 |                 guard let self else { return }
260 |                 Task {
    |                 |- error: 'Task' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
261 |                     await self.unsubscribe(id: subID, channel: M.channel)
262 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:260:17: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
    :
258 |             continuation.onTermination = { [weak self] _ in
259 |                 guard let self else { return }
260 |                 Task {
    |                 |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
261 |                     await self.unsubscribe(id: subID, channel: M.channel)
262 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:272:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
273 |                     for await incoming in stream {
274 |                         await self?.route(incoming)
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:273:21: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
    :
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
273 |                     for await incoming in stream {
    |                     |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
274 |                         await self?.route(incoming)
275 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |268 |
    |269 |
    |270 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:279:36: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:279:35: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
    :
277 |             }
278 |
279 |             await group.waitForAll()
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |277 |
    |278 |
    |279 |                                   #isolation
    |    |                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
280 |         }
281 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:361:16: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
    |                |- error: 'Task' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:361:21: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
    |                     |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:363:20: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
364 |             retryUnacked()
365 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:363:25: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
    |                         |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
364 |             retryUnacked()
365 |         }
[32/33] Compiling WatchLinkCore Transport.swift
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/SafeContinuation.swift:4:31: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | package final class SafeContinuation<T: Sendable>: @unchecked Sendable {
   |                     `- note: add '@available' attribute to enclosing generic class
 4 |     private let continuation: CheckedContinuation<T, Error>
   |                               `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 5 |     private var hasResumed = false
 6 |     private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/SafeContinuation.swift:8:34: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | package final class SafeContinuation<T: Sendable>: @unchecked Sendable {
   |                     `- note: add '@available' attribute to enclosing generic class
 4 |     private let continuation: CheckedContinuation<T, Error>
 5 |     private var hasResumed = false
 6 |     private let lock = NSLock()
 7 |
 8 |     package init(_ continuation: CheckedContinuation<T, Error>) {
   |             |                    `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
   |             `- note: add '@available' attribute to enclosing initializer
 9 |         self.continuation = continuation
10 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Transport.swift:6:30: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 |
 3 | @WatchLinkActor
 4 | package protocol Transport: Sendable {
   |                  `- note: add '@available' attribute to enclosing protocol
 5 |     var isReachable: Bool { get }
 6 |     var reachabilityChanges: AsyncStream<Bool> { get }
   |         |                    `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
 7 |     func send(_ data: Data) async throws
 8 |     func request(_ data: Data) async throws -> Data
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Transport.swift:11:24: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 |
 3 | @WatchLinkActor
 4 | package protocol Transport: Sendable {
   |                  `- note: add '@available' attribute to enclosing protocol
 5 |     var isReachable: Bool { get }
 6 |     var reachabilityChanges: AsyncStream<Bool> { get }
   :
 9 |     func reply(to frameID: String, with data: Data) async
10 |     func populateDiagnostics(_ diagnostics: inout WatchLinkDiagnostics)
11 |     func incoming() -> AsyncStream<IncomingMessage>
   |          |             `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
12 |     func start()
13 |     func stop()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:12:35: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 10 |     private let decoder = JSONDecoder()
 11 |     private var seenIDs: Set<String> = []
 12 |     private var reachabilityTask: Task<Void, Never>?
    |                                   `- error: 'Task' is only available in macOS 10.15 or newer
 13 |     private var retryTask: Task<Void, Never>?
 14 |     private var subscriptions: [Channel: [UUID: @Sendable (Data, String) -> Void]] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:13:28: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 11 |     private var seenIDs: Set<String> = []
 12 |     private var reachabilityTask: Task<Void, Never>?
 13 |     private var retryTask: Task<Void, Never>?
    |                            `- error: 'Task' is only available in macOS 10.15 or newer
 14 |     private var subscriptions: [Channel: [UUID: @Sendable (Data, String) -> Void]] = [:]
 15 |     private var controlHandler: (@WatchLinkActor (ControlFrame) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:17:32: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 15 |     private var controlHandler: (@WatchLinkActor (ControlFrame) -> Void)?
 16 |     private var heartbeatHandler: (@WatchLinkActor () -> Void)?
 17 |     private var ingestionTask: Task<Void, Never>?
    |                                `- error: 'Task' is only available in macOS 10.15 or newer
 18 |     private var unackedMessages: [String: UnackedEntry] = [:]
 19 |     private var pendingConfirmations: Set<String> = []
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:20:29: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 18 |     private var unackedMessages: [String: UnackedEntry] = [:]
 19 |     private var pendingConfirmations: Set<String> = []
 20 |     private var sendTasks: [Task<Void, Never>] = []
    |                             `- error: 'Task' is only available in macOS 10.15 or newer
 21 |
 22 |     private struct UnackedEntry {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:43:29: error: 'Logger' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   |                             |- error: 'Logger' is only available in macOS 11.0 or newer
   |                             `- note: add 'if #available' version check
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:45:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
   |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:45:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
   |                                         |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:46:37: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
   |                                     |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                     `- note: add 'if #available' version check
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:46:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
   |                                       |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:47:43: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
   |                                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                           `- note: add 'if #available' version check
48 |             case .error: logger.error("\(message)")
49 |             case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:47:45: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
   |                                             |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                             `- note: add 'if #available' version check
48 |             case .error: logger.error("\(message)")
49 |             case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:48:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
   |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
49 |             case .none: break
50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:48:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
   |                                         |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
49 |             case .none: break
50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:247:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  |                                                `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:43:25: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
 41 |         }
 42 |
 43 |         ingestionTask = Task { [weak self] in
    |                         |- error: 'Task' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 44 |             await self?.ingest()
 45 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:43:25: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
 41 |         }
 42 |
 43 |         ingestionTask = Task { [weak self] in
    |                         |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 44 |             await self?.ingest()
 45 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:47:28: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 45 |         }
 46 |
 47 |         reachabilityTask = Task { [weak self] in
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 48 |             await self?.observeReachability()
 49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:47:28: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 45 |         }
 46 |
 47 |         reachabilityTask = Task { [weak self] in
    |                            |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 48 |             await self?.observeReachability()
 49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:51:21: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 49 |         }
 50 |
 51 |         retryTask = Task { [weak self] in
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 52 |             await self?.retryLoop()
 53 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:51:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 49 |         }
 50 |
 51 |         retryTask = Task { [weak self] in
    |                     |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 52 |             await self?.retryLoop()
 53 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:61:24: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
 59 |         }
 60 |
 61 |         ingestionTask?.cancel()
    |                        |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 62 |         reachabilityTask?.cancel()
 63 |         retryTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:62:27: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 60 |
 61 |         ingestionTask?.cancel()
 62 |         reachabilityTask?.cancel()
    |                           |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 63 |         retryTask?.cancel()
 64 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:63:20: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 61 |         ingestionTask?.cancel()
 62 |         reachabilityTask?.cancel()
 63 |         retryTask?.cancel()
    |                    |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 64 |
 65 |         await ingestionTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:65:30: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 63 |         retryTask?.cancel()
 64 |
 65 |         await ingestionTask?.value
    |                              |- error: 'value' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 66 |         await reachabilityTask?.value
 67 |         await retryTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:66:33: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 64 |
 65 |         await ingestionTask?.value
 66 |         await reachabilityTask?.value
    |                                 |- error: 'value' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 67 |         await retryTask?.value
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:67:26: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 65 |         await ingestionTask?.value
 66 |         await reachabilityTask?.value
 67 |         await retryTask?.value
    |                          |- error: 'value' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 68 |
 69 |         reachabilityTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:75:38: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 73 |         heartbeatHandler = nil
 74 |
 75 |         for task in sendTasks { task.cancel() }
    |                                      |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 76 |         sendTasks.removeAll()
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:38: error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
109 |         logger.debug("Query \(frame.id) on \(M.channel)")
110 |
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
    |                                      |- error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
112 |             for transport in transports {
113 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:113:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
112 |             for transport in transports {
113 |                 group.addTask {
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
114 |                     try? await transport.request(data)
115 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:118:19: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
116 |             }
117 |
118 |             group.addTask { [clock] in
    |                   |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
119 |                 try await clock.sleep(for: timeout)
120 |                 throw WatchLinkError.requestTimedOut
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:123:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
121 |             }
122 |
123 |             for try await result in group {
    |             |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
124 |                 if let result {
125 |                     group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:60: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:59: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
109 |         logger.debug("Query \(frame.id) on \(M.channel)")
110 |
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |109 |
    |110 |
    |111 |                                                           #isolation
    |    |                                                            `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
112 |             for transport in transports {
113 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
139 |             for transport in transports {
140 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:140:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
139 |             for transport in transports {
140 |                 group.addTask {
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
141 |                     await transport.reply(to: frameID, with: data)
142 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |136 |
    |137 |
    |138 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
139 |             for transport in transports {
140 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:201:20: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
202 |             var anySucceeded = false
203 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:201:20: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
    |                    |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
202 |             var anySucceeded = false
203 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:19: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
203 |
204 |             await withTaskGroup(of: Bool.self) { group in
    |                   |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
205 |                 for transport in reachable {
206 |                     group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:206:27: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
204 |             await withTaskGroup(of: Bool.self) { group in
205 |                 for transport in reachable {
206 |                     group.addTask {
    |                           |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
207 |                         do {
208 |                             try await transport.send(data)
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:216:17: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
214 |                 }
215 |
216 |                 for await succeeded in group {
    |                 |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
217 |                     if succeeded { anySucceeded = true }
218 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:225:34: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
223 |             }
224 |         }
225 |         sendTasks.removeAll { $0.isCancelled }
    |                                  |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
226 |         sendTasks.append(task)
227 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:33: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:32: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
203 |
204 |             await withTaskGroup(of: Bool.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |202 |
    |203 |
    |204 |                                #isolation
    |    |                                 `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
205 |                 for transport in reachable {
206 |                     group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:234:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
235 |                     for await reachable in stream {
236 |                         if reachable {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:235:21: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
    :
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
235 |                     for await reachable in stream {
    |                     |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
236 |                         if reachable {
237 |                             await self?.retryUnacked()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |230 |
    |231 |
    |232 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:243:36: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:243:35: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
    :
241 |             }
242 |
243 |             await group.waitForAll()
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |241 |
    |242 |
    |243 |                                   #isolation
    |    |                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
244 |         }
245 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:251:16: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
250 |
251 |         return AsyncStream { continuation in
    |                |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
252 |             subscribe(id: subID, channel: M.channel) { data, frameID in
253 |                 if let message = try? decoder.decode(M.self, from: data) {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:260:17: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
    :
258 |             continuation.onTermination = { [weak self] _ in
259 |                 guard let self else { return }
260 |                 Task {
    |                 |- error: 'Task' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
261 |                     await self.unsubscribe(id: subID, channel: M.channel)
262 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:260:17: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
    :
258 |             continuation.onTermination = { [weak self] _ in
259 |                 guard let self else { return }
260 |                 Task {
    |                 |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
261 |                     await self.unsubscribe(id: subID, channel: M.channel)
262 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:272:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
273 |                     for await incoming in stream {
274 |                         await self?.route(incoming)
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:273:21: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
    :
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
273 |                     for await incoming in stream {
    |                     |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
274 |                         await self?.route(incoming)
275 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |268 |
    |269 |
    |270 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:279:36: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:279:35: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
    :
277 |             }
278 |
279 |             await group.waitForAll()
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |277 |
    |278 |
    |279 |                                   #isolation
    |    |                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
280 |         }
281 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:361:16: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
    |                |- error: 'Task' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:361:21: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
    |                     |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:363:20: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
364 |             retryUnacked()
365 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:363:25: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
    |                         |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
364 |             retryUnacked()
365 |         }
[33/33] Compiling WatchLinkCore TransportCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/SafeContinuation.swift:4:31: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | package final class SafeContinuation<T: Sendable>: @unchecked Sendable {
   |                     `- note: add '@available' attribute to enclosing generic class
 4 |     private let continuation: CheckedContinuation<T, Error>
   |                               `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 5 |     private var hasResumed = false
 6 |     private let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/SafeContinuation.swift:8:34: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | package final class SafeContinuation<T: Sendable>: @unchecked Sendable {
   |                     `- note: add '@available' attribute to enclosing generic class
 4 |     private let continuation: CheckedContinuation<T, Error>
 5 |     private var hasResumed = false
 6 |     private let lock = NSLock()
 7 |
 8 |     package init(_ continuation: CheckedContinuation<T, Error>) {
   |             |                    `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
   |             `- note: add '@available' attribute to enclosing initializer
 9 |         self.continuation = continuation
10 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Transport.swift:6:30: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 |
 3 | @WatchLinkActor
 4 | package protocol Transport: Sendable {
   |                  `- note: add '@available' attribute to enclosing protocol
 5 |     var isReachable: Bool { get }
 6 |     var reachabilityChanges: AsyncStream<Bool> { get }
   |         |                    `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
 7 |     func send(_ data: Data) async throws
 8 |     func request(_ data: Data) async throws -> Data
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Transport.swift:11:24: error: 'AsyncStream' is only available in macOS 10.15 or newer
 2 |
 3 | @WatchLinkActor
 4 | package protocol Transport: Sendable {
   |                  `- note: add '@available' attribute to enclosing protocol
 5 |     var isReachable: Bool { get }
 6 |     var reachabilityChanges: AsyncStream<Bool> { get }
   :
 9 |     func reply(to frameID: String, with data: Data) async
10 |     func populateDiagnostics(_ diagnostics: inout WatchLinkDiagnostics)
11 |     func incoming() -> AsyncStream<IncomingMessage>
   |          |             `- error: 'AsyncStream' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
12 |     func start()
13 |     func stop()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:12:35: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 10 |     private let decoder = JSONDecoder()
 11 |     private var seenIDs: Set<String> = []
 12 |     private var reachabilityTask: Task<Void, Never>?
    |                                   `- error: 'Task' is only available in macOS 10.15 or newer
 13 |     private var retryTask: Task<Void, Never>?
 14 |     private var subscriptions: [Channel: [UUID: @Sendable (Data, String) -> Void]] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:13:28: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 11 |     private var seenIDs: Set<String> = []
 12 |     private var reachabilityTask: Task<Void, Never>?
 13 |     private var retryTask: Task<Void, Never>?
    |                            `- error: 'Task' is only available in macOS 10.15 or newer
 14 |     private var subscriptions: [Channel: [UUID: @Sendable (Data, String) -> Void]] = [:]
 15 |     private var controlHandler: (@WatchLinkActor (ControlFrame) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:17:32: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 15 |     private var controlHandler: (@WatchLinkActor (ControlFrame) -> Void)?
 16 |     private var heartbeatHandler: (@WatchLinkActor () -> Void)?
 17 |     private var ingestionTask: Task<Void, Never>?
    |                                `- error: 'Task' is only available in macOS 10.15 or newer
 18 |     private var unackedMessages: [String: UnackedEntry] = [:]
 19 |     private var pendingConfirmations: Set<String> = []
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:20:29: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 18 |     private var unackedMessages: [String: UnackedEntry] = [:]
 19 |     private var pendingConfirmations: Set<String> = []
 20 |     private var sendTasks: [Task<Void, Never>] = []
    |                             `- error: 'Task' is only available in macOS 10.15 or newer
 21 |
 22 |     private struct UnackedEntry {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:43:29: error: 'Logger' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   |                             |- error: 'Logger' is only available in macOS 11.0 or newer
   |                             `- note: add 'if #available' version check
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:45:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
   |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:45:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
   |                                         |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:46:37: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
   |                                     |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                     `- note: add 'if #available' version check
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:46:39: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
44 |             switch level {
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
   |                                       |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:47:43: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
   |                                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                           `- note: add 'if #available' version check
48 |             case .error: logger.error("\(message)")
49 |             case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:47:45: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
45 |             case .debug: logger.debug("\(message)")
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
   |                                             |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                             `- note: add 'if #available' version check
48 |             case .error: logger.error("\(message)")
49 |             case .none: break
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:48:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
   |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                                       `- note: add 'if #available' version check
49 |             case .none: break
50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/Logger.swift:48:41: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 5 | /// Configure on `WatchLinkConfiguration.logger`. Use `.osLog` for unified logging,
 6 | /// `.none` to silence, or a custom instance to route messages somewhere else.
 7 | public struct WatchLinkLogger: Sendable {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     private let minimumLevel: LogLevel
 9 |     private let handler: @Sendable (LogLevel, String) -> Void
   :
39 |
40 |     /// Routes output to Apple's unified logging (`os.Logger`).
41 |     public static let osLog = WatchLinkLogger { level, message in
   |                       `- note: add '@available' attribute to enclosing static property
42 |         if #available(iOS 14.0, watchOS 7.0, *) {
43 |             let logger = os.Logger(subsystem: "WatchLink", category: "Transport")
   :
46 |             case .info: logger.info("\(message)")
47 |             case .warning: logger.warning("\(message)")
48 |             case .error: logger.error("\(message)")
   |                                         |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                         `- note: add 'if #available' version check
49 |             case .none: break
50 |             }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:247:67: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  |                                                `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:43:25: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
 41 |         }
 42 |
 43 |         ingestionTask = Task { [weak self] in
    |                         |- error: 'Task' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 44 |             await self?.ingest()
 45 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:43:25: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
 41 |         }
 42 |
 43 |         ingestionTask = Task { [weak self] in
    |                         |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 44 |             await self?.ingest()
 45 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:47:28: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 45 |         }
 46 |
 47 |         reachabilityTask = Task { [weak self] in
    |                            |- error: 'Task' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 48 |             await self?.observeReachability()
 49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:47:28: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 45 |         }
 46 |
 47 |         reachabilityTask = Task { [weak self] in
    |                            |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 48 |             await self?.observeReachability()
 49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:51:21: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 49 |         }
 50 |
 51 |         retryTask = Task { [weak self] in
    |                     |- error: 'Task' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 52 |             await self?.retryLoop()
 53 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:51:21: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 36 |     }
 37 |
 38 |     package func startAll() {
    |                  `- note: add '@available' attribute to enclosing instance method
 39 |         for transport in transports {
 40 |             transport.start()
    :
 49 |         }
 50 |
 51 |         retryTask = Task { [weak self] in
    |                     |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 52 |             await self?.retryLoop()
 53 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:61:24: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
 59 |         }
 60 |
 61 |         ingestionTask?.cancel()
    |                        |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 62 |         reachabilityTask?.cancel()
 63 |         retryTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:62:27: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 60 |
 61 |         ingestionTask?.cancel()
 62 |         reachabilityTask?.cancel()
    |                           |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 63 |         retryTask?.cancel()
 64 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:63:20: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 61 |         ingestionTask?.cancel()
 62 |         reachabilityTask?.cancel()
 63 |         retryTask?.cancel()
    |                    |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 64 |
 65 |         await ingestionTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:65:30: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 63 |         retryTask?.cancel()
 64 |
 65 |         await ingestionTask?.value
    |                              |- error: 'value' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 66 |         await reachabilityTask?.value
 67 |         await retryTask?.value
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:66:33: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 64 |
 65 |         await ingestionTask?.value
 66 |         await reachabilityTask?.value
    |                                 |- error: 'value' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 67 |         await retryTask?.value
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:67:26: error: 'value' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 65 |         await ingestionTask?.value
 66 |         await reachabilityTask?.value
 67 |         await retryTask?.value
    |                          |- error: 'value' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 68 |
 69 |         reachabilityTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:75:38: error: 'cancel()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 54 |     }
 55 |
 56 |     package func stopAll() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 57 |         for transport in transports {
 58 |             transport.stop()
    :
 73 |         heartbeatHandler = nil
 74 |
 75 |         for task in sendTasks { task.cancel() }
    |                                      |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 76 |         sendTasks.removeAll()
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:38: error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
109 |         logger.debug("Query \(frame.id) on \(M.channel)")
110 |
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
    |                                      |- error: 'withThrowingTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
112 |             for transport in transports {
113 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:113:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
112 |             for transport in transports {
113 |                 group.addTask {
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
114 |                     try? await transport.request(data)
115 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:118:19: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
116 |             }
117 |
118 |             group.addTask { [clock] in
    |                   |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
119 |                 try await clock.sleep(for: timeout)
120 |                 throw WatchLinkError.requestTimedOut
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:123:13: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
121 |             }
122 |
123 |             for try await result in group {
    |             |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
124 |                 if let result {
125 |                     group.cancelAll()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:60: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:111:59: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
 99 |     }
100 |
101 |     package func send<M: WatchLinkMessage>(
    |                  `- note: add '@available' attribute to enclosing instance method
102 |         _ message: M,
103 |         timeout: Duration = .seconds(30)
    :
109 |         logger.debug("Query \(frame.id) on \(M.channel)")
110 |
111 |         let responseData = try await withThrowingTaskGroup(of: Data?.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |109 |
    |110 |
    |111 |                                                           #isolation
    |    |                                                            `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
112 |             for transport in transports {
113 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
139 |             for transport in transports {
140 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:140:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
139 |             for transport in transports {
140 |                 group.addTask {
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
141 |                     await transport.reply(to: frameID, with: data)
142 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:138:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
134 |     }
135 |
136 |     package func reply<M: WatchLinkMessage>(with message: M, to frameID: String) async throws {
    |                  `- note: add '@available' attribute to enclosing instance method
137 |         let data = try encoder.encode(message)
138 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |136 |
    |137 |
    |138 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
139 |             for transport in transports {
140 |                 group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:201:20: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
202 |             var anySucceeded = false
203 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:201:20: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
    |                    |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
202 |             var anySucceeded = false
203 |
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:19: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
203 |
204 |             await withTaskGroup(of: Bool.self) { group in
    |                   |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
205 |                 for transport in reachable {
206 |                     group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:206:27: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
204 |             await withTaskGroup(of: Bool.self) { group in
205 |                 for transport in reachable {
206 |                     group.addTask {
    |                           |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
207 |                         do {
208 |                             try await transport.send(data)
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:216:17: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
214 |                 }
215 |
216 |                 for await succeeded in group {
    |                 |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
217 |                     if succeeded { anySucceeded = true }
218 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:225:34: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
    :
223 |             }
224 |         }
225 |         sendTasks.removeAll { $0.isCancelled }
    |                                  |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
226 |         sendTasks.append(task)
227 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:33: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:204:32: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
198 |     }
199 |
200 |     private func sendToReachable(_ data: Data, reachable: [any Transport]) {
    |                  `- note: add '@available' attribute to enclosing instance method
201 |         let task = Task { [logger] in
202 |             var anySucceeded = false
203 |
204 |             await withTaskGroup(of: Bool.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |202 |
    |203 |
    |204 |                                #isolation
    |    |                                 `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
205 |                 for transport in reachable {
206 |                     group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:234:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
235 |                     for await reachable in stream {
236 |                         if reachable {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:235:21: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
    :
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
235 |                     for await reachable in stream {
    |                     |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
236 |                         if reachable {
237 |                             await self?.retryUnacked()
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:232:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
232 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |230 |
    |231 |
    |232 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
233 |             for stream in streams {
234 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:243:36: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:243:35: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
227 |     }
228 |
229 |     private func observeReachability() async {
    |                  `- note: add '@available' attribute to enclosing instance method
230 |         let streams = transports.map(\.reachabilityChanges)
231 |
    :
241 |             }
242 |
243 |             await group.waitForAll()
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |241 |
    |242 |
    |243 |                                   #isolation
    |    |                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
244 |         }
245 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:251:16: error: 'AsyncStream' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
250 |
251 |         return AsyncStream { continuation in
    |                |- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
252 |             subscribe(id: subID, channel: M.channel) { data, frameID in
253 |                 if let message = try? decoder.decode(M.self, from: data) {
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:260:17: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
    :
258 |             continuation.onTermination = { [weak self] _ in
259 |                 guard let self else { return }
260 |                 Task {
    |                 |- error: 'Task' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
261 |                     await self.unsubscribe(id: subID, channel: M.channel)
262 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:260:17: error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
245 |     }
246 |
247 |     package func messages<M: WatchLinkMessage>(_ type: M.Type) -> AsyncStream<ReceivedMessage<M>> {
    |                  `- note: add '@available' attribute to enclosing instance method
248 |         let subID = UUID()
249 |         let decoder = self.decoder
    :
258 |             continuation.onTermination = { [weak self] _ in
259 |                 guard let self else { return }
260 |                 Task {
    |                 |- error: 'init(name:priority:operation:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
261 |                     await self.unsubscribe(id: subID, channel: M.channel)
262 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:15: error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
    |               |- error: 'withTaskGroup(of:returning:isolation:body:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:272:23: error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
    |                       |- error: 'addTask(priority:operation:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
273 |                     for await incoming in stream {
274 |                         await self?.route(incoming)
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:273:21: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
    :
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
273 |                     for await incoming in stream {
    |                     |- error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
274 |                         await self?.route(incoming)
275 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:29: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:270:28: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
270 |         await withTaskGroup(of: Void.self) { group in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |268 |
    |269 |
    |270 |                            #isolation
    |    |                             `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
271 |             for stream in streams {
272 |                 group.addTask { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:279:36: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:279:35: note: expanded code originates here
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
265 |     }
266 |
267 |     private func ingest() async {
    |                  `- note: add '@available' attribute to enclosing instance method
268 |         let streams = transports.map { $0.incoming() }
269 |
    :
277 |             }
278 |
279 |             await group.waitForAll()
    +--- /Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift
    |277 |
    |278 |
    |279 |                                   #isolation
    |    |                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------------
280 |         }
281 |     }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:361:16: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
    |                |- error: 'Task' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:361:21: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
    |                     |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:363:20: error: 'Task' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
364 |             retryUnacked()
365 |         }
/Users/admin/builder/spi-builder-workspace/Sources/WatchLinkCore/TransportCoordinator.swift:363:25: error: 'isCancelled' is only available in macOS 10.15 or newer
  2 |
  3 | @WatchLinkActor
  4 | package final class TransportCoordinator {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package private(set) var transports: [any Transport]
  6 |     private let clock: AnyClock
    :
358 |     }
359 |
360 |     private func retryLoop() async {
    |                  `- note: add '@available' attribute to enclosing instance method
361 |         while !Task.isCancelled {
362 |             try? await clock.sleep(for: retryInterval)
363 |             guard !Task.isCancelled else { return }
    |                         |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
364 |             retryUnacked()
365 |         }
BUILD FAILURE 6.3 macosSpm