The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NavigationRouter, reference main (0b6fc4), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 06:26:48 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/Lukas-Simonson/SwiftUI-Navigation-Router.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Lukas-Simonson/SwiftUI-Navigation-Router
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0b6fc4d Fixes Swift 6 Equatable Conformance
Cloned https://github.com/Lukas-Simonson/SwiftUI-Navigation-Router.git
Revision (git rev-parse @):
0b6fc4d00d1273837376d6a368df364201769d19
SUCCESS checkout https://github.com/Lukas-Simonson/SwiftUI-Navigation-Router.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Lukas-Simonson/SwiftUI-Navigation-Router.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] NavigationRouter
[30 / 105]
[33 / 105]
[41 / 105]
[43 / 105]
[44 / 105]
[49 / 105]
[51 / 105]
[53 / 105]
[56 / 105]
[61 / 105]
[64 / 105]
[66 / 105]
[67 / 105]
[77 / 105]
[79 / 105]
[80 / 105]
[83 / 105]
[85 / 105]
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 12 | final public class NavigationHandler {
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavRouter.swift:14:6: error: 'init(_:)' is only available in macOS 14.0 or newer
 9 |
10 | /// A `PropertyWrapper` used to access the `NavigationHandler` of the current navigation route.
11 | @propertyWrapper public struct NavRouter: DynamicProperty {
   |                                `- note: add '@available' attribute to enclosing struct
12 |
13 |     /// The `NavigationHandler` recieved from a `NavigationRouter`
14 |     @Environment(NavigationHandler.self) private var router: NavigationHandler
   |      `- error: 'init(_:)' is only available in macOS 14.0 or newer
15 |
16 |     public init() {}
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:15:5: note: expanded code originates here
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    | `- note: in expansion of macro 'Observable' on property '_navPath' here
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
 15 |     private var _navPath = NavigationPath()
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 16 |
 17 |     /// An `Array<NavigationLocation>`, used to handle advanced navigation operations.
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:18:5: note: expanded code originates here
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    | `- note: in expansion of macro 'Observable' on property 'routerPath' here
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 16 |
 17 |     /// An `Array<NavigationLocation>`, used to handle advanced navigation operations.
 18 |     private var routerPath = [any NavigationLocation]()
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 19 |
 20 |     public init() {}
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:23:5: note: expanded code originates here
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    | `- note: in expansion of macro 'Observable' on property 'popDisabled' here
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 21 |
 22 |     /// Used to keep an enduser from navigating backwards faster than a `NavigationStack` can handle.
 23 |     private var popDisabled: Bool = false
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 24 |
 25 |     public var popDisableDuration: Double = 0.75
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:25:5: note: expanded code originates here
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    | `- note: in expansion of macro 'Observable' on property 'popDisableDuration' here
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 23 |     private var popDisabled: Bool = false
 24 |
 25 |     public var popDisableDuration: Double = 0.75
    +--- macro expansion @Observable -----------------------------------
    |1 | @ObservationTracked
    |  |  `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
    +-------------------------------------------------------------------
 26 | }
 27 |
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:26:1: note: expanded code originates here
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    | `- note: in expansion of macro 'Observable' on class 'NavigationHandler' here
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 24 |
 25 |     public var popDisableDuration: Double = 0.75
 26 | }
    +--- 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<$s16NavigationRouter0A7Handler10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 27 |
 28 | // MARK: Information
macro expansion @ObservationTracked:3:6: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:15:44: note: expanded code originates here
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
 15 |     private var _navPath = NavigationPath()
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    |2 |
    |3 |     @ObservationIgnored
    |  |      `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var __navPath  = NavigationPath()
    +-------------------------------------------------------------------
 16 |
 17 |     /// An `Array<NavigationLocation>`, used to handle advanced navigation operations.
macro expansion @ObservationTracked:3:6: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:18:56: note: expanded code originates here
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 16 |
 17 |     /// An `Array<NavigationLocation>`, used to handle advanced navigation operations.
 18 |     private var routerPath = [any NavigationLocation]()
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// An `Array<NavigationLocation>`, used to handle advanced navigation operations.
    |2 |
    |3 |     @ObservationIgnored
    |  |      `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _routerPath  = [any NavigationLocation]()
    +-------------------------------------------------------------------
 19 |
 20 |     public init() {}
macro expansion @ObservationTracked:3:6: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:23:42: note: expanded code originates here
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 21 |
 22 |     /// Used to keep an enduser from navigating backwards faster than a `NavigationStack` can handle.
 23 |     private var popDisabled: Bool = false
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | /// Used to keep an enduser from navigating backwards faster than a `NavigationStack` can handle.
    |2 |
    |3 |     @ObservationIgnored
    |  |      `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |4 | private  var _popDisabled: Bool = false
    +-------------------------------------------------------------------
 24 |
 25 |     public var popDisableDuration: Double = 0.75
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:25:49: note: expanded code originates here
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 23 |     private var popDisabled: Bool = false
 24 |
 25 |     public var popDisableDuration: Double = 0.75
    +--- macro expansion @ObservationTracked ---------------------------
    |1 | @ObservationIgnored
    |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
    |2 | private  var _popDisableDuration: Double = 0.75
    +-------------------------------------------------------------------
 26 | }
 27 |
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:26:1: note: expanded code originates here
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    | `- note: in expansion of macro 'Observable' on class 'NavigationHandler' here
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
    :
 24 |
 25 |     public var popDisableDuration: Double = 0.75
 26 | }
    +--- 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<$s16NavigationRouter0A7Handler10ObservablefMm_6MemberfMu_>(
    +-------------------------------------------------------------------
 27 |
 28 | // MARK: Information
/Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift:11:2: error: 'Observable()' is only available in macOS 14.0 or newer
  9 |
 10 | /// `NavigationHandler` is a class used to handle all Navigation for a `NavigationRouter`.
 11 | @Observable
    |  `- error: 'Observable()' is only available in macOS 14.0 or newer
 12 | final public class NavigationHandler {
    |                    `- note: add '@available' attribute to enclosing class
 13 |
 14 |     /// The internal implementation of the `SwiftUI.NavigationPath` used to control navigation in `SwiftUI`.
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/Sources/NavigationRouter/NavRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigatesTo.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandler.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationHandler/NavigationHandlerLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationLocation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/NavigationRouterView.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/PopView.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/PushView.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationRouter/RouterDestination.swift -target arm64-apple-macos13.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/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter-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 5 -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/NavigationRouter.build/Debug/NavigationRouter-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationRouter -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter_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/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/NavigationRouter.build/Debug/NavigationRouter-t.build/Objects-normal/arm64/NavigationRouter.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm