Build Information
Failed to build ApricotNavigation, reference main (dd26af), with Swift 6.0 for macOS (SPM) on 18 Jan 2026 15:36:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Livsy90/ApricotNavigation.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Livsy90/ApricotNavigation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dd26af2 Update Router.swift
Cloned https://github.com/Livsy90/ApricotNavigation.git
Revision (git rev-parse @):
dd26af20696c7ba0a3e070365c4c44ef7526ac84
SUCCESS checkout https://github.com/Livsy90/ApricotNavigation.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Livsy90/ApricotNavigation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module ApricotNavigation
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:4:33: error: 'Identifiable' is only available in macOS 10.15 or newer
1 | import Foundation
2 |
3 | public class AnyIdentifiable: Identifiable {
| `- note: add @available attribute to enclosing class
4 | public let destination: any Identifiable
| `- error: 'Identifiable' is only available in macOS 10.15 or newer
5 |
6 | public init(destination: any Identifiable) {
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:6:34: error: 'Identifiable' is only available in macOS 10.15 or newer
1 | import Foundation
2 |
3 | public class AnyIdentifiable: Identifiable {
| `- note: add @available attribute to enclosing class
4 | public let destination: any Identifiable
5 |
6 | public init(destination: any Identifiable) {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
7 | self.destination = destination
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
2 | import Observation
3 |
4 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
5 | public final class Router {
6 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:5: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
2 | import Observation
3 |
4 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:5: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
12 | )
13 | }
14 | private var presentedSheetItem: AnyIdentifiable?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:39:1: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
37 | }
38 |
39 | }
+--- 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>(
+--------------------------------------------------------------------
40 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _navigationPath = NavigationPath()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:53: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
12 | )
13 | }
14 | private var presentedSheetItem: AnyIdentifiable?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _presentedSheetItem: AnyIdentifiable?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:33: error: 'NavigationPath' is only available in macOS 13.0 or newer
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
macro expansion @ObservationTracked:1:53: error: 'NavigationPath' is only available in macOS 13.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _navigationPath = NavigationPath()
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
+--------------------------------------------------------------------
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:27: error: 'Binding' is only available in macOS 10.15 or newer
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
8 | public var sheetItem: Binding<AnyIdentifiable?> {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
9 | Binding(
10 | get: { self.presentedSheetItem },
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:47: error: 'Identifiable' is only available in macOS 10.15 or newer
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
16 | public init() {}
17 |
18 | public func presentSheet(destination: any Identifiable) {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 | presentedSheetItem = AnyIdentifiable(destination: destination)
20 | }
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:39:1: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
37 | }
38 |
39 | }
+--- 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>(
+--------------------------------------------------------------------
40 |
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
2 | import Observation
3 |
4 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
[4/5] Compiling ApricotNavigation AnyIdentifiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:4:33: error: 'Identifiable' is only available in macOS 10.15 or newer
1 | import Foundation
2 |
3 | public class AnyIdentifiable: Identifiable {
| `- note: add @available attribute to enclosing class
4 | public let destination: any Identifiable
| `- error: 'Identifiable' is only available in macOS 10.15 or newer
5 |
6 | public init(destination: any Identifiable) {
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:6:34: error: 'Identifiable' is only available in macOS 10.15 or newer
1 | import Foundation
2 |
3 | public class AnyIdentifiable: Identifiable {
| `- note: add @available attribute to enclosing class
4 | public let destination: any Identifiable
5 |
6 | public init(destination: any Identifiable) {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
7 | self.destination = destination
8 | }
[5/5] Compiling ApricotNavigation Router.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
2 | import Observation
3 |
4 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
5 | public final class Router {
6 |
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:5: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
2 | import Observation
3 |
4 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
macro expansion @Observable:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:5: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
12 | )
13 | }
14 | private var presentedSheetItem: AnyIdentifiable?
+--- macro expansion @Observable ------------------------------------
|1 | @ObservationTracked
| | `- error: 'ObservationTracked()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public init() {}
macro expansion @Observable:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:39:1: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
37 | }
38 |
39 | }
+--- 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>(
+--------------------------------------------------------------------
40 |
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _navigationPath = NavigationPath()
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
macro expansion @ObservationTracked:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:53: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
12 | )
13 | }
14 | private var presentedSheetItem: AnyIdentifiable?
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _presentedSheetItem: AnyIdentifiable?
| | `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
+--------------------------------------------------------------------
15 |
16 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:33: error: 'NavigationPath' is only available in macOS 13.0 or newer
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing property
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
macro expansion @ObservationTracked:1:53: error: 'NavigationPath' is only available in macOS 13.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:49: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
+--- macro expansion @ObservationTracked ----------------------------
|1 | @ObservationIgnored private var _navigationPath = NavigationPath()
| | `- error: 'NavigationPath' is only available in macOS 13.0 or newer
+--------------------------------------------------------------------
8 | public var sheetItem: Binding<AnyIdentifiable?> {
9 | Binding(
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:27: error: 'Binding' is only available in macOS 10.15 or newer
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
8 | public var sheetItem: Binding<AnyIdentifiable?> {
| | `- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
9 | Binding(
10 | get: { self.presentedSheetItem },
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:47: error: 'Identifiable' is only available in macOS 10.15 or newer
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
16 | public init() {}
17 |
18 | public func presentSheet(destination: any Identifiable) {
| | `- error: 'Identifiable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
19 | presentedSheetItem = AnyIdentifiable(destination: destination)
20 | }
macro expansion @Observable:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:39:1: note: expanded code originates here
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
:
37 | }
38 |
39 | }
+--- 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>(
+--------------------------------------------------------------------
40 |
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
2 | import Observation
3 |
4 | @Observable
| `- error: 'Observable()' is only available in macOS 14.0 or newer
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:9:9: error: 'Binding' is only available in macOS 10.15 or newer
3 |
4 | @Observable
5 | public final class Router {
| `- note: add @available attribute to enclosing class
6 |
7 | public var navigationPath = NavigationPath()
8 | public var sheetItem: Binding<AnyIdentifiable?> {
| `- note: add @available attribute to enclosing property
9 | Binding(
| |- error: 'Binding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
10 | get: { self.presentedSheetItem },
11 | set: { self.presentedSheetItem = $0 }
BUILD FAILURE 6.0 macosSpm