The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NavigationKit, reference v0.1.0 (9734df), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 17:30:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/navigationkit.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/navigationkit
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 9734df6 init
Cloned https://github.com/m1guelpf/navigationkit.git
Revision (git rev-parse @):
9734df6b9b1c7f28527c003f7186aada0d248400
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/navigationkit.git at v0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/m1guelpf/navigationkit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] NavigationKit
[30 / 106]
[33 / 106]
[41 / 106]
[43 / 106]
[44 / 106]
[50 / 106]
[52 / 106]
[55 / 106]
[61 / 106]
[64 / 106]
[66 / 106]
[67 / 106]
[77 / 106]
[79 / 106]
[80 / 106]
[83 / 106]
[85 / 106]
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/src/Router.swift:6:13: error: 'Observable()' is only available in macOS 14.0 or newer
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |             `- error: 'Observable()' is only available in macOS 14.0 or newer
  7 | public final class Router<D: NavigationDestination> {
  8 | 	/// A unique identifier for the router instance.
/Users/admin/builder/spi-builder-workspace/src/NavigationButton.swift:11:3: error: 'init(_:)' is only available in macOS 14.0 or newer
 4 | ///
 5 | /// For convenience, it's recommended to typealias `NavigationButton` with your app's specific `NavigationDestination` type.
 6 | public struct NavigationButton<Content: View, D: NavigationDestination>: View {
   |               `- note: add '@available' attribute to enclosing generic struct
 7 | 	/// The destination to navigate to when the button is tapped.
 8 | 	let destination: D.Kind?
 9 |
10 | 	@ViewBuilder var content: () -> Content
11 | 	@Environment(Router<D>.self) private var router
   |   `- error: 'init(_:)' is only available in macOS 14.0 or newer
12 |
13 | 	/// Creates a new `NavigationButton`.
/Users/admin/builder/spi-builder-workspace/src/NavigationContainer.swift:34:3: error: 'init(wrappedValue:)' is only available in macOS 14.0 or newer
31 |
32 | // This is necessary for getting a binder from an Environment Observable object
33 | private struct InnerContainer<Content: View, D: NavigationDestination>: View {
   |                `- note: add '@available' attribute to enclosing generic struct
34 | 	@Bindable var router: Router<D>
   |   `- error: 'init(wrappedValue:)' is only available in macOS 14.0 or newer
35 | 	@ViewBuilder var content: () -> Content
36 |
/Users/admin/builder/spi-builder-workspace/src/NavigationContainer.swift:34:3: error: 'Bindable' is only available in macOS 14.0 or newer
31 |
32 | // This is necessary for getting a binder from an Environment Observable object
33 | private struct InnerContainer<Content: View, D: NavigationDestination>: View {
   |                `- note: add '@available' attribute to enclosing generic struct
34 | 	@Bindable var router: Router<D>
   |   `- error: 'Bindable' is only available in macOS 14.0 or newer
35 | 	@ViewBuilder var content: () -> Content
36 |
/Users/admin/builder/spi-builder-workspace/src/Protocols/SheetRepresentable.swift:8:19: error: 'PresentationDetent' is only available in macOS 13.0 or newer
 2 |
 3 | /// Your app's sheet representation.
 4 | public protocol SheetRepresentable: Identifiable, Equatable, Hashable, Sendable {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 | 	associatedtype Sheet: View
 6 |
 7 | 	/// The presentation detents for the sheet.
 8 | 	var detents: Set<PresentationDetent> { get }
   |      |            `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
   |      `- note: add '@available' attribute to enclosing property
 9 |
10 | 	/// The toolbar title display mode for the sheet.
/Users/admin/builder/spi-builder-workspace/src/Protocols/SheetRepresentable.swift:11:24: error: 'ToolbarTitleDisplayMode' is only available in macOS 14.0 or newer
 2 |
 3 | /// Your app's sheet representation.
 4 | public protocol SheetRepresentable: Identifiable, Equatable, Hashable, Sendable {
   |                 `- note: add '@available' attribute to enclosing protocol
 5 | 	associatedtype Sheet: View
 6 |
   :
 9 |
10 | 	/// The toolbar title display mode for the sheet.
11 | 	var titleDisplayMode: ToolbarTitleDisplayMode { get }
   |      |                 `- error: 'ToolbarTitleDisplayMode' is only available in macOS 14.0 or newer
   |      `- note: add '@available' attribute to enclosing property
12 |
13 | 	/// The content of the sheet.
/Users/admin/builder/spi-builder-workspace/src/Protocols/SheetRepresentable.swift:18:19: error: 'PresentationDetent' is only available in macOS 13.0 or newer
15 | }
16 |
17 | public extension SheetRepresentable {
   |        `- note: add '@available' attribute to enclosing extension
18 | 	var detents: Set<PresentationDetent> {
   |      |            `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
   |      `- note: add '@available' attribute to enclosing property
19 | 		[.medium, .large]
20 | 	}
/Users/admin/builder/spi-builder-workspace/src/Protocols/SheetRepresentable.swift:22:24: error: 'ToolbarTitleDisplayMode' is only available in macOS 14.0 or newer
15 | }
16 |
17 | public extension SheetRepresentable {
   |        `- note: add '@available' attribute to enclosing extension
18 | 	var detents: Set<PresentationDetent> {
19 | 		[.medium, .large]
20 | 	}
21 |
22 | 	var titleDisplayMode: ToolbarTitleDisplayMode {
   |      |                 `- error: 'ToolbarTitleDisplayMode' is only available in macOS 14.0 or newer
   |      `- note: add '@available' attribute to enclosing property
23 | 		.inline
24 | 	}
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:15:2: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on property 'selectedTab' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 13 |
 14 | 	/// The currently selected tab (only relevant for top-level routers).
 15 | 	public var selectedTab: D.Tabs?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 16 |
 17 | 	/// The identifier of the tab associated with this router.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:21:2: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on property 'presentingAlert' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 19 |
 20 | 	/// The currently presented alert.
 21 | 	public var presentingAlert: D.Alerts?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 22 |
 23 | 	/// The currently presented sheet.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:24:2: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on property 'presentingSheet' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 22 |
 23 | 	/// The currently presented sheet.
 24 | 	public var presentingSheet: D.Sheets?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 25 |
 26 | 	/// The currently presented full-screen cover.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:27:2: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on property 'presentingFullScreen' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 25 |
 26 | 	/// The currently presented full-screen cover.
 27 | 	public var presentingFullScreen: D.FullScreen?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 28 |
 29 | 	/// The navigation stack path for push navigation.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:30:2: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on property 'navigationStackPath' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 28 |
 29 | 	/// The navigation stack path for push navigation.
 30 | 	public var navigationStackPath: [D.Pages] = []
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 31 |
 32 | 	/// The parent router in the hierarchy.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:33:2: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on property 'parent' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 31 |
 32 | 	/// The parent router in the hierarchy.
 33 | 	public private(set) weak var parent: Router?
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 34 |
 35 | 	/// Indicates whether the router is currently active.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:36:2: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on property 'isActive' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 34 |
 35 | 	/// Indicates whether the router is currently active.
 36 | 	public private(set) var isActive: Bool = false
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 37 |
 38 | 	/// Initializes a new router instance.
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:54:1: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on generic class 'Router' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 52 | 		presentingFullScreen = nil
 53 | 	}
 54 | }
    +--- 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<$s13NavigationKit6Router10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 55 |
 56 | // MARK: - Router Management
macro expansion @ObservationTracked:3:3: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:15:33: note: expanded code originates here
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 13 |
 14 | 	/// The currently selected tab (only relevant for top-level routers).
 15 | 	public var selectedTab: D.Tabs?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// The currently selected tab (only relevant for top-level routers).
    |2 |
    |3 | 	@ObservationIgnored
    |  |   `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _selectedTab: D.Tabs?
    +-------------------------------------------------------------------
 16 |
 17 | 	/// The identifier of the tab associated with this router.
macro expansion @ObservationTracked:3:3: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:21:39: note: expanded code originates here
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 19 |
 20 | 	/// The currently presented alert.
 21 | 	public var presentingAlert: D.Alerts?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// The currently presented alert.
    |2 |
    |3 | 	@ObservationIgnored
    |  |   `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _presentingAlert: D.Alerts?
    +-------------------------------------------------------------------
 22 |
 23 | 	/// The currently presented sheet.
macro expansion @ObservationTracked:3:3: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:24:39: note: expanded code originates here
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 22 |
 23 | 	/// The currently presented sheet.
 24 | 	public var presentingSheet: D.Sheets?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// The currently presented sheet.
    |2 |
    |3 | 	@ObservationIgnored
    |  |   `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _presentingSheet: D.Sheets?
    +-------------------------------------------------------------------
 25 |
 26 | 	/// The currently presented full-screen cover.
macro expansion @ObservationTracked:3:3: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:27:48: note: expanded code originates here
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 25 |
 26 | 	/// The currently presented full-screen cover.
 27 | 	public var presentingFullScreen: D.FullScreen?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// The currently presented full-screen cover.
    |2 |
    |3 | 	@ObservationIgnored
    |  |   `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _presentingFullScreen: D.FullScreen?
    +-------------------------------------------------------------------
 28 |
 29 | 	/// The navigation stack path for push navigation.
macro expansion @ObservationTracked:3:3: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:30:48: note: expanded code originates here
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 28 |
 29 | 	/// The navigation stack path for push navigation.
 30 | 	public var navigationStackPath: [D.Pages] = []
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// The navigation stack path for push navigation.
    |2 |
    |3 | 	@ObservationIgnored
    |  |   `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _navigationStackPath: [D.Pages] = []
    +-------------------------------------------------------------------
 31 |
 32 | 	/// The parent router in the hierarchy.
macro expansion @ObservationTracked:3:3: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:33:46: note: expanded code originates here
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 31 |
 32 | 	/// The parent router in the hierarchy.
 33 | 	public private(set) weak var parent: Router?
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// The parent router in the hierarchy.
    |2 |
    |3 | 	@ObservationIgnored
    |  |   `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private weak  var _parent: Router?
    +-------------------------------------------------------------------
 34 |
 35 | 	/// Indicates whether the router is currently active.
macro expansion @ObservationTracked:3:3: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:36:48: note: expanded code originates here
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 34 |
 35 | 	/// Indicates whether the router is currently active.
 36 | 	public private(set) var isActive: Bool = false
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Indicates whether the router is currently active.
    |2 |
    |3 | 	@ObservationIgnored
    |  |   `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _isActive: Bool = false
    +-------------------------------------------------------------------
 37 |
 38 | 	/// Initializes a new router instance.
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/src/Router.swift:54:1: note: expanded code originates here
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |            `- note: in expansion of macro 'Observable' on generic class 'Router' here
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
    :
 52 | 		presentingFullScreen = nil
 53 | 	}
 54 | }
    +--- 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<$s13NavigationKit6Router10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 55 |
 56 | // MARK: - Router Management
/Users/admin/builder/spi-builder-workspace/src/Router.swift:6:13: error: 'Observable()' is only available in macOS 14.0 or newer
  4 | ///
  5 | /// /// For convenience, it's recommended to typealias `Router` with your app's specific `NavigationDestination` type.
  6 | @MainActor @Observable
    |             `- error: 'Observable()' is only available in macOS 14.0 or newer
  7 | public final class Router<D: NavigationDestination> {
    |                    `- note: add '@available' attribute to enclosing generic class
  8 | 	/// A unique identifier for the router instance.
  9 | 	public let id = UUID()
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/src/Destination.swift /Users/admin/builder/spi-builder-workspace/src/NavigationButton.swift /Users/admin/builder/spi-builder-workspace/src/NavigationContainer.swift /Users/admin/builder/spi-builder-workspace/src/Protocols/Alert.swift /Users/admin/builder/spi-builder-workspace/src/Protocols/AlertRepresentable.swift /Users/admin/builder/spi-builder-workspace/src/Protocols/FullScreenRepresentable.swift /Users/admin/builder/spi-builder-workspace/src/Protocols/NavigationDestination.swift /Users/admin/builder/spi-builder-workspace/src/Protocols/PageRepresentable.swift /Users/admin/builder/spi-builder-workspace/src/Protocols/SheetRepresentable.swift /Users/admin/builder/spi-builder-workspace/src/Protocols/TabRepresentable.swift /Users/admin/builder/spi-builder-workspace/src/Router.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationKit -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationKit.build/Debug/NavigationKit-t.build/Objects-normal/arm64/NavigationKit.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm