The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ApricotNavigation, reference main (dd26af), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 06:06:19 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.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/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "apricotnavigation",
      "name": "ApricotNavigation",
      "url": "https://github.com/Livsy90/ApricotNavigation.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ApricotNavigation",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Livsy90/ApricotNavigation.git
[1/32] Fetching apricotnavigation
Fetched https://github.com/Livsy90/ApricotNavigation.git from cache (0.62s)
Creating working copy for https://github.com/Livsy90/ApricotNavigation.git
Working copy of https://github.com/Livsy90/ApricotNavigation.git resolved at main (dd26af2)
warning: '.resolve-product-dependencies': dependency 'apricotnavigation' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Livsy90/ApricotNavigation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on property 'navigationPath' here
 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(
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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on property 'presentedSheetItem' here
 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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on class 'Router' here
 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<$s17ApricotNavigation6Router10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
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
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _navigationPath  = NavigationPath()
   +--------------------------------------------------------------------
 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
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _presentedSheetItem: AnyIdentifiable?
   +--------------------------------------------------------------------
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:2:33: 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
   |2 | 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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on class 'Router' here
 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<$s17ApricotNavigation6Router10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
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 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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on property 'navigationPath' here
 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(
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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on property 'presentedSheetItem' here
 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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on class 'Router' here
 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<$s17ApricotNavigation6Router10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
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
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _navigationPath  = NavigationPath()
   +--------------------------------------------------------------------
 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
   |  |  `- error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
   |2 | private  var _presentedSheetItem: AnyIdentifiable?
   +--------------------------------------------------------------------
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:2:33: 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
   |2 | 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
 2 | import Observation
 3 |
 4 | @Observable
   | `- note: in expansion of macro 'Observable' on class 'Router' here
 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<$s17ApricotNavigation6Router10ObservablefMm_6MemberfMu_>(
   +--------------------------------------------------------------------
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 }
[5/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 |     }
BUILD FAILURE 6.3 macosSpm