The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FocusKit, reference main (c9aac0), with Swift 6.0 for macOS (SPM) on 14 Apr 2026 22:26:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isonka/FocusKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/isonka/FocusKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c9aac07 Fix test issues
Cloned https://github.com/isonka/FocusKit.git
Revision (git rev-parse @):
c9aac0756a0aba2b56a302b1c6d545986566c8c6
SUCCESS checkout https://github.com/isonka/FocusKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/isonka/FocusKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/12] Compiling FocusKit FocusStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:22:2: error: 'Observable()' is only available in macOS 14.0 or newer
 20 | /// Observable state container and action interface for SwiftUI.
 21 | @MainActor
 22 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 23 | public final class FocusStore {
 24 |     /// Current focus phase.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:25:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:22:2: error: 'Observable()' is only available in macOS 14.0 or newer
 20 | /// Observable state container and action interface for SwiftUI.
 21 | @MainActor
 22 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:27:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:29:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 27 |     public private(set) var remaining: TimeInterval
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:31:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 29 |     public private(set) var progress: Double
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:33:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 31 |     public private(set) var completedWorkSessions: Int
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:35:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 33 |     public private(set) var currentCycle: Int
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 36 |
 37 |     private var scheduler: FocusScheduler
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:37:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 35 |     public var configuration: FocusConfiguration
 36 |
 37 |     private var scheduler: FocusScheduler
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:40:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:41:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 42 |     private var pausedRemaining: TimeInterval?
 43 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:42:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 43 |
 44 |     /// Creates a new store for managing focus sessions.
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:203:1: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
201 |         activeSession = session
202 |     }
203 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<Member>(
    +-------------------------------------------------------------------
204 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:25:46: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Current focus phase.
    |2 |          @ObservationIgnored private  var _phase: FocusPhase
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:27:52: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Remaining time in the active phase in seconds.
    |2 |          @ObservationIgnored private  var _remaining: TimeInterval
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:29:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 27 |     public private(set) var remaining: TimeInterval
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Progress between `0` and `1`.
    |2 |          @ObservationIgnored private  var _progress: Double
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:31:55: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 29 |     public private(set) var progress: Double
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Number of completed work sessions in current scheduler state.
    |2 |          @ObservationIgnored private  var _completedWorkSessions: Int
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:33:46: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 31 |     public private(set) var completedWorkSessions: Int
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Current cycle number.
    |2 |          @ObservationIgnored private  var _currentCycle: Int
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:35:49: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 33 |     public private(set) var currentCycle: Int
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Runtime behavior and durations.
    |2 |          @ObservationIgnored private  var _configuration: FocusConfiguration
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 36 |
 37 |     private var scheduler: FocusScheduler
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:37:42: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 35 |     public var configuration: FocusConfiguration
 36 |
 37 |     private var scheduler: FocusScheduler
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _scheduler: FocusScheduler
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _tickTask: Task<Void, Never>?
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:40:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _activeSession: FocusSession?
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:41:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _historyStore: [FocusSession]
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 42 |     private var pausedRemaining: TimeInterval?
 43 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:42:47: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _pausedRemaining: TimeInterval?
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 43 |
 44 |     /// Creates a new store for managing focus sessions.
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:27: error: 'Task' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    |                 |         `- error: 'Task' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @ObservationTracked:1:45: error: 'Task' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _tickTask: Task<Void, Never>?
    |  |                                             `- error: 'Task' is only available in macOS 10.15 or newer
    +-------------------------------------------------------------------
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:203:1: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
201 |         activeSession = session
202 |     }
203 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<Member>(
    +-------------------------------------------------------------------
204 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:22:2: error: 'Observable()' is only available in macOS 14.0 or newer
 20 | /// Observable state container and action interface for SwiftUI.
 21 | @MainActor
 22 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:92:19: error: 'cancel()' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 86 |
 87 |     /// Pauses the active countdown and preserves remaining time.
 88 |     public func pause() {
    |                 `- note: add @available attribute to enclosing instance method
 89 |         guard phase == .working || phase == .onShortBreak || phase == .onLongBreak else { return }
 90 |         pausedRemaining = remaining
 91 |         phase = .paused
 92 |         tickTask?.cancel()
    |                   |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 93 |         Task { await timer.cancel() }
 94 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:93:9: error: 'Task' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 86 |
 87 |     /// Pauses the active countdown and preserves remaining time.
 88 |     public func pause() {
    |                 `- note: add @available attribute to enclosing instance method
 89 |         guard phase == .working || phase == .onShortBreak || phase == .onLongBreak else { return }
 90 |         pausedRemaining = remaining
 91 |         phase = .paused
 92 |         tickTask?.cancel()
 93 |         Task { await timer.cancel() }
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 94 |     }
 95 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:93:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 86 |
 87 |     /// Pauses the active countdown and preserves remaining time.
 88 |     public func pause() {
    |                 `- note: add @available attribute to enclosing instance method
 89 |         guard phase == .working || phase == .onShortBreak || phase == .onLongBreak else { return }
 90 |         pausedRemaining = remaining
 91 |         phase = .paused
 92 |         tickTask?.cancel()
 93 |         Task { await timer.cancel() }
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 94 |     }
 95 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:127:19: error: 'cancel()' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
124 |
125 |     /// Stops the current phase and stores partial history when available.
126 |     public func stop() {
    |                 `- note: add @available attribute to enclosing instance method
127 |         tickTask?.cancel()
    |                   |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
128 |         Task { await timer.cancel() }
129 |         finishActiveSession(fullyCompleted: false)
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:128:9: error: 'Task' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
124 |
125 |     /// Stops the current phase and stores partial history when available.
126 |     public func stop() {
    |                 `- note: add @available attribute to enclosing instance method
127 |         tickTask?.cancel()
128 |         Task { await timer.cancel() }
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
129 |         finishActiveSession(fullyCompleted: false)
130 |         phase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:128:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
124 |
125 |     /// Stops the current phase and stores partial history when available.
126 |     public func stop() {
    |                 `- note: add @available attribute to enclosing instance method
127 |         tickTask?.cancel()
128 |         Task { await timer.cancel() }
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
129 |         finishActiveSession(fullyCompleted: false)
130 |         phase = .idle
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:168:19: error: 'cancel()' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
165 |     }
166 |
167 |     private func runTimer(duration: TimeInterval, sessionType: FocusSession.SessionType) {
    |                  `- note: add @available attribute to enclosing instance method
168 |         tickTask?.cancel()
    |                   |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
169 |         tickTask = Task { [weak self] in
170 |             guard let self else { return }
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:169:20: error: 'Task' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
165 |     }
166 |
167 |     private func runTimer(duration: TimeInterval, sessionType: FocusSession.SessionType) {
    |                  `- note: add @available attribute to enclosing instance method
168 |         tickTask?.cancel()
169 |         tickTask = Task { [weak self] in
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
170 |             guard let self else { return }
171 |             let stream = await timer.countdown(duration: duration)
<unknown>:0: error: 'makeAsyncIterator()' is only available in macOS 10.15 or newer
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:169:20: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
165 |     }
166 |
167 |     private func runTimer(duration: TimeInterval, sessionType: FocusSession.SessionType) {
    |                  `- note: add @available attribute to enclosing instance method
168 |         tickTask?.cancel()
169 |         tickTask = Task { [weak self] in
    |                    |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
170 |             guard let self else { return }
171 |             let stream = await timer.countdown(duration: duration)
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:174:24: error: 'Task' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
165 |     }
166 |
167 |     private func runTimer(duration: TimeInterval, sessionType: FocusSession.SessionType) {
    |                  `- note: add @available attribute to enclosing instance method
168 |         tickTask?.cancel()
169 |         tickTask = Task { [weak self] in
    :
172 |             var lastPublishedSecond = -1
173 |             for await tick in stream {
174 |                 guard !Task.isCancelled else { break }
    |                        |- error: 'Task' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
175 |                 let second = Int(tick.remaining.rounded(.down))
176 |                 if second != lastPublishedSecond {
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:174:29: error: 'isCancelled' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
165 |     }
166 |
167 |     private func runTimer(duration: TimeInterval, sessionType: FocusSession.SessionType) {
    |                  `- note: add @available attribute to enclosing instance method
168 |         tickTask?.cancel()
169 |         tickTask = Task { [weak self] in
    :
172 |             var lastPublishedSecond = -1
173 |             for await tick in stream {
174 |                 guard !Task.isCancelled else { break }
    |                             |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
175 |                 let second = Int(tick.remaining.rounded(.down))
176 |                 if second != lastPublishedSecond {
[5/12] Compiling FocusKit FocusScheduler.swift
[6/12] Compiling FocusKit FocusSession.swift
[7/12] Compiling FocusKit FocusKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:22:2: error: 'Observable()' is only available in macOS 14.0 or newer
 20 | /// Observable state container and action interface for SwiftUI.
 21 | @MainActor
 22 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 23 | public final class FocusStore {
 24 |     /// Current focus phase.
[8/12] Compiling FocusKit FocusStatistics.swift
[9/12] Compiling FocusKit FocusTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:27:57: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 22 |
 23 | /// A test clock that advances virtual time.
 24 | final class MockClock: FocusClockProtocol, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 25 |     private let lock = NSLock()
 26 |     private var _now: Date
 27 |     private var sleepers: [(target: Date, continuation: CheckedContinuation<Void, Error>)] = []
    |                                                         `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 28 |
 29 |     init(now: Date = Date()) {
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:88:32: error: 'Task' is only available in macOS 10.15 or newer
 78 |
 79 | /// Internal asynchronous countdown timer.
 80 | actor FocusTimer {
    |       `- note: add @available attribute to enclosing actor
 81 |     struct Tick: Sendable {
 82 |         let remaining: TimeInterval
    :
 86 |     private let clock: FocusClockProtocol
 87 |     private let tickInterval: TimeInterval
 88 |     private var countdownTask: Task<Void, Never>?
    |                                `- error: 'Task' is only available in macOS 10.15 or newer
 89 |     #if canImport(UIKit)
 90 |     private var backgroundedAt: Date?
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:103:47: error: 'AsyncStream' is only available in macOS 10.15 or newer
 78 |
 79 | /// Internal asynchronous countdown timer.
 80 | actor FocusTimer {
    |       `- note: add @available attribute to enclosing actor
 81 |     struct Tick: Sendable {
 82 |         let remaining: TimeInterval
    :
101 |     }
102 |
103 |     func countdown(duration: TimeInterval) -> AsyncStream<Tick> {
    |          |                                    `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
104 |         cancel()
105 |         return AsyncStream { continuation in
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:19:19: error: 'Task' is only available in macOS 10.15 or newer
 13 |
 14 | /// Production clock based on real time.
 15 | struct SystemClock: FocusClockProtocol {
    |        `- note: add @available attribute to enclosing struct
 16 |     var now: Date { Date() }
 17 |
 18 |     func sleep(nanoseconds: UInt64) async throws {
    |          `- note: add @available attribute to enclosing instance method
 19 |         try await Task.sleep(nanoseconds: nanoseconds)
    |                   |- error: 'Task' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 20 |     }
 21 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:19:24: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
 13 |
 14 | /// Production clock based on real time.
 15 | struct SystemClock: FocusClockProtocol {
    |        `- note: add @available attribute to enclosing struct
 16 |     var now: Date { Date() }
 17 |
 18 |     func sleep(nanoseconds: UInt64) async throws {
    |          `- note: add @available attribute to enclosing instance method
 19 |         try await Task.sleep(nanoseconds: nanoseconds)
    |                        |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 20 |     }
 21 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:41:19: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
 22 |
 23 | /// A test clock that advances virtual time.
 24 | final class MockClock: FocusClockProtocol, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 25 |     private let lock = NSLock()
 26 |     private var _now: Date
    :
 37 |     }
 38 |
 39 |     func sleep(nanoseconds: UInt64) async throws {
    |          `- note: add @available attribute to enclosing instance method
 40 |         let target = now.addingTimeInterval(Double(nanoseconds) / 1_000_000_000)
 41 |         try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
    |                   |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 42 |             lock.lock()
 43 |             if target <= _now {
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:41:68: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 22 |
 23 | /// A test clock that advances virtual time.
 24 | final class MockClock: FocusClockProtocol, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 25 |     private let lock = NSLock()
 26 |     private var _now: Date
    :
 37 |     }
 38 |
 39 |     func sleep(nanoseconds: UInt64) async throws {
    |          `- note: add @available attribute to enclosing instance method
 40 |         let target = now.addingTimeInterval(Double(nanoseconds) / 1_000_000_000)
 41 |         try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
    |                                                                    |- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
    |                                                                    `- note: add 'if #available' version check
 42 |             lock.lock()
 43 |             if target <= _now {
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:45:30: error: 'resume()' is only available in macOS 10.15 or newer
 22 |
 23 | /// A test clock that advances virtual time.
 24 | final class MockClock: FocusClockProtocol, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 25 |     private let lock = NSLock()
 26 |     private var _now: Date
    :
 37 |     }
 38 |
 39 |     func sleep(nanoseconds: UInt64) async throws {
    |          `- note: add @available attribute to enclosing instance method
 40 |         let target = now.addingTimeInterval(Double(nanoseconds) / 1_000_000_000)
 41 |         try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
    :
 43 |             if target <= _now {
 44 |                 lock.unlock()
 45 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 46 |                 return
 47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:41:52: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:41:51: note: expanded code originates here
 22 |
 23 | /// A test clock that advances virtual time.
 24 | final class MockClock: FocusClockProtocol, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 25 |     private let lock = NSLock()
 26 |     private var _now: Date
    :
 37 |     }
 38 |
 39 |     func sleep(nanoseconds: UInt64) async throws {
    |          `- note: add @available attribute to enclosing instance method
 40 |         let target = now.addingTimeInterval(Double(nanoseconds) / 1_000_000_000)
 41 |         try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Void, Error>) in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift
    |39 |
    |40 |
    |41 |                                                   #isolation
    |   |                                                    `- error: 'isolation()' is only available in macOS 10.15 or newer
    +---------------------------------------------------------------------------------
 42 |             lock.lock()
 43 |             if target <= _now {
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:60:49: error: 'resume()' is only available in macOS 10.15 or newer
 22 |
 23 | /// A test clock that advances virtual time.
 24 | final class MockClock: FocusClockProtocol, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 25 |     private let lock = NSLock()
 26 |     private var _now: Date
    :
 52 |
 53 |     /// Advances virtual time and resumes completed sleepers.
 54 |     func advance(by seconds: TimeInterval) {
    |          `- note: add @available attribute to enclosing instance method
 55 |         lock.lock()
 56 |         _now = _now.addingTimeInterval(seconds)
    :
 58 |         sleepers = ready.remaining
 59 |         lock.unlock()
 60 |         ready.matched.forEach { $0.continuation.resume() }
    |                                                 |- error: 'resume()' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:99:24: error: 'cancel()' is only available in macOS 10.15 or newer
 78 |
 79 | /// Internal asynchronous countdown timer.
 80 | actor FocusTimer {
    |       `- note: add @available attribute to enclosing actor
 81 |     struct Tick: Sendable {
 82 |         let remaining: TimeInterval
    :
 96 |     }
 97 |
 98 |     func cancel() {
    |          `- note: add @available attribute to enclosing instance method
 99 |         countdownTask?.cancel()
    |                        |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
100 |         countdownTask = nil
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:112:28: error: value of type 'FocusTimer' has no member 'setBackgroundedAt'
110 |                 }
111 |                 let start = clock.now
112 |                 await self.setBackgroundedAt(nil)
    |                            `- error: value of type 'FocusTimer' has no member 'setBackgroundedAt'
113 |                 #if canImport(UIKit)
114 |                 let center = NotificationCenter.default
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:112:46: error: 'nil' requires a contextual type
110 |                 }
111 |                 let start = clock.now
112 |                 await self.setBackgroundedAt(nil)
    |                                              `- error: 'nil' requires a contextual type
113 |                 #if canImport(UIKit)
114 |                 let center = NotificationCenter.default
[10/12] Compiling FocusKit FocusError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/12] Compiling FocusKit FocusConfiguration.swift
[12/12] Emitting module FocusKit
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:22:2: error: 'Observable()' is only available in macOS 14.0 or newer
 20 | /// Observable state container and action interface for SwiftUI.
 21 | @MainActor
 22 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 23 | public final class FocusStore {
 24 |     /// Current focus phase.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:25:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:22:2: error: 'Observable()' is only available in macOS 14.0 or newer
 20 | /// Observable state container and action interface for SwiftUI.
 21 | @MainActor
 22 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:27:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:29:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 27 |     public private(set) var remaining: TimeInterval
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:31:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 29 |     public private(set) var progress: Double
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:33:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 31 |     public private(set) var completedWorkSessions: Int
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:35:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 33 |     public private(set) var currentCycle: Int
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 36 |
 37 |     private var scheduler: FocusScheduler
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:37:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 35 |     public var configuration: FocusConfiguration
 36 |
 37 |     private var scheduler: FocusScheduler
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:40:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:41:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 42 |     private var pausedRemaining: TimeInterval?
 43 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:42:5: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 43 |
 44 |     /// Creates a new store for managing focus sessions.
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:203:1: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
201 |         activeSession = session
202 |     }
203 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<Member>(
    +-------------------------------------------------------------------
204 |
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:25:46: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Current focus phase.
    |2 |          @ObservationIgnored private  var _phase: FocusPhase
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:27:52: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
 26 |     /// Remaining time in the active phase in seconds.
 27 |     public private(set) var remaining: TimeInterval
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Remaining time in the active phase in seconds.
    |2 |          @ObservationIgnored private  var _remaining: TimeInterval
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:29:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 27 |     public private(set) var remaining: TimeInterval
 28 |     /// Progress between `0` and `1`.
 29 |     public private(set) var progress: Double
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Progress between `0` and `1`.
    |2 |          @ObservationIgnored private  var _progress: Double
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:31:55: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 29 |     public private(set) var progress: Double
 30 |     /// Number of completed work sessions in current scheduler state.
 31 |     public private(set) var completedWorkSessions: Int
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Number of completed work sessions in current scheduler state.
    |2 |          @ObservationIgnored private  var _completedWorkSessions: Int
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:33:46: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 31 |     public private(set) var completedWorkSessions: Int
 32 |     /// Current cycle number.
 33 |     public private(set) var currentCycle: Int
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Current cycle number.
    |2 |          @ObservationIgnored private  var _currentCycle: Int
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
macro expansion @ObservationTracked:2:11: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:35:49: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 33 |     public private(set) var currentCycle: Int
 34 |     /// Runtime behavior and durations.
 35 |     public var configuration: FocusConfiguration
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Runtime behavior and durations.
    |2 |          @ObservationIgnored private  var _configuration: FocusConfiguration
    |  |           `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 36 |
 37 |     private var scheduler: FocusScheduler
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:37:42: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 35 |     public var configuration: FocusConfiguration
 36 |
 37 |     private var scheduler: FocusScheduler
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _scheduler: FocusScheduler
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _tickTask: Task<Void, Never>?
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:40:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _activeSession: FocusSession?
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:41:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 39 |     private var tickTask: Task<Void, Never>?
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _historyStore: [FocusSession]
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 42 |     private var pausedRemaining: TimeInterval?
 43 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:42:47: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
 42 |     private var pausedRemaining: TimeInterval?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _pausedRemaining: TimeInterval?
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 43 |
 44 |     /// Creates a new store for managing focus sessions.
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:27: error: 'Task' is only available in macOS 10.15 or newer
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    |                 |         `- error: 'Task' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @ObservationTracked:1:45: error: 'Task' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:39:45: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
 37 |     private var scheduler: FocusScheduler
 38 |     private let timer: FocusTimer
 39 |     private var tickTask: Task<Void, Never>?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored private  var _tickTask: Task<Void, Never>?
    |  |                                             `- error: 'Task' is only available in macOS 10.15 or newer
    +-------------------------------------------------------------------
 40 |     private var activeSession: FocusSession?
 41 |     private var historyStore: [FocusSession]
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:203:1: note: expanded code originates here
 21 | @MainActor
 22 | @Observable
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
    :
201 |         activeSession = session
202 |     }
203 | }
    +--- macro expansion @Observable -----------------------------------
    | 1 | @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
    |   |                                                                      `- error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
    | 2 |
    | 3 | internal nonisolated func access<Member>(
    +-------------------------------------------------------------------
204 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusStore.swift:22:2: error: 'Observable()' is only available in macOS 14.0 or newer
 20 | /// Observable state container and action interface for SwiftUI.
 21 | @MainActor
 22 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 23 | public final class FocusStore {
    |                    `- note: add @available attribute to enclosing class
 24 |     /// Current focus phase.
 25 |     public private(set) var phase: FocusPhase
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:27:57: error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 22 |
 23 | /// A test clock that advances virtual time.
 24 | final class MockClock: FocusClockProtocol, @unchecked Sendable {
    |             `- note: add @available attribute to enclosing class
 25 |     private let lock = NSLock()
 26 |     private var _now: Date
 27 |     private var sleepers: [(target: Date, continuation: CheckedContinuation<Void, Error>)] = []
    |                                                         `- error: 'CheckedContinuation' is only available in macOS 10.15 or newer
 28 |
 29 |     init(now: Date = Date()) {
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:88:32: error: 'Task' is only available in macOS 10.15 or newer
 78 |
 79 | /// Internal asynchronous countdown timer.
 80 | actor FocusTimer {
    |       `- note: add @available attribute to enclosing actor
 81 |     struct Tick: Sendable {
 82 |         let remaining: TimeInterval
    :
 86 |     private let clock: FocusClockProtocol
 87 |     private let tickInterval: TimeInterval
 88 |     private var countdownTask: Task<Void, Never>?
    |                                `- error: 'Task' is only available in macOS 10.15 or newer
 89 |     #if canImport(UIKit)
 90 |     private var backgroundedAt: Date?
/Users/admin/builder/spi-builder-workspace/Sources/FocusKit/FocusTimer.swift:103:47: error: 'AsyncStream' is only available in macOS 10.15 or newer
 78 |
 79 | /// Internal asynchronous countdown timer.
 80 | actor FocusTimer {
    |       `- note: add @available attribute to enclosing actor
 81 |     struct Tick: Sendable {
 82 |         let remaining: TimeInterval
    :
101 |     }
102 |
103 |     func countdown(duration: TimeInterval) -> AsyncStream<Tick> {
    |          |                                    `- error: 'AsyncStream' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
104 |         cancel()
105 |         return AsyncStream { continuation in
BUILD FAILURE 6.0 macosSpm