Build Information
Failed to build ApricotNavigation, reference main (22005a
), with Swift 5.9 for macOS (SPM) on 18 Sep 2024 09:10:00 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.53.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 22005ad Initial Commit
Cloned https://github.com/Livsy90/ApricotNavigation.git
Revision (git rev-parse @):
22005ad8225519210edc720fad711c428e1c73fa
SUCCESS checkout https://github.com/Livsy90/ApricotNavigation.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/Livsy90/ApricotNavigation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] 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
public let destination: any Identifiable
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:3:14: note: add @available attribute to enclosing class
public class AnyIdentifiable: 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
public init(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:6:12: note: add @available attribute to enclosing initializer
public init(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:3:14: note: add @available attribute to enclosing class
public class AnyIdentifiable: Identifiable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
@Observable
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC14navigationPath10ObservablefMr_.swift:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
@ObservationTracked
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: in expansion of macro 'Observable' here
public var navigationPath = NavigationPath()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
@Observable
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC18presentedSheetItem33_630EBD99AE6D17BC00198780414D5019LL10ObservablefMr2_.swift:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
@ObservationTracked
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:17: note: in expansion of macro 'Observable' here
private var presentedSheetItem: AnyIdentifiable?
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6Router10ObservablefMm_.swift:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
@ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:14: note: in expansion of macro 'Observable' here
public final class Router {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC14navigationPath18ObservationTrackedfMp_.swift:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
@ObservationIgnored private var _navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: in expansion of macro 'ObservationTracked' here
public var navigationPath = NavigationPath()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC18presentedSheetItem33_630EBD99AE6D17BC00198780414D5019LL18ObservationTrackedfMp_.swift:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
@ObservationIgnored private var _presentedSheetItem: AnyIdentifiable?
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:17: note: in expansion of macro 'ObservationTracked' here
private var presentedSheetItem: AnyIdentifiable?
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:33: error: 'NavigationPath' is only available in macOS 13.0 or newer
public var navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: add @available attribute to enclosing property
public var navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC14navigationPath18ObservationTrackedfMp_.swift:1:53: error: 'NavigationPath' is only available in macOS 13.0 or newer
@ObservationIgnored private var _navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: in expansion of macro 'ObservationTracked' here
public var navigationPath = NavigationPath()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:27: error: 'Binding' is only available in macOS 10.15 or newer
public var sheetItem: Binding<AnyIdentifiable?> {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:16: note: add @available attribute to enclosing property
public var sheetItem: Binding<AnyIdentifiable?> {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:47: error: 'Identifiable' is only available in macOS 10.15 or newer
public func presentSheet(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:17: note: add @available attribute to enclosing instance method
public func presentSheet(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6Router10ObservablefMm_.swift:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
@ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:14: note: in expansion of macro 'Observable' here
public final class Router {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
@Observable
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
[2/3] 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
@Observable
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC14navigationPath10ObservablefMr_.swift:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
@ObservationTracked
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: in expansion of macro 'Observable' here
public var navigationPath = NavigationPath()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
@Observable
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC18presentedSheetItem33_630EBD99AE6D17BC00198780414D5019LL10ObservablefMr2_.swift:1:2: error: 'ObservationTracked()' is only available in macOS 14.0 or newer
@ObservationTracked
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:17: note: in expansion of macro 'Observable' here
private var presentedSheetItem: AnyIdentifiable?
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6Router10ObservablefMm_.swift:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
@ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:14: note: in expansion of macro 'Observable' here
public final class Router {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC14navigationPath18ObservationTrackedfMp_.swift:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
@ObservationIgnored private var _navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: in expansion of macro 'ObservationTracked' here
public var navigationPath = NavigationPath()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC18presentedSheetItem33_630EBD99AE6D17BC00198780414D5019LL18ObservationTrackedfMp_.swift:1:2: error: 'ObservationIgnored()' is only available in macOS 14.0 or newer
@ObservationIgnored private var _presentedSheetItem: AnyIdentifiable?
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:14:17: note: in expansion of macro 'ObservationTracked' here
private var presentedSheetItem: AnyIdentifiable?
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:33: error: 'NavigationPath' is only available in macOS 13.0 or newer
public var navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: add @available attribute to enclosing property
public var navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6RouterC14navigationPath18ObservationTrackedfMp_.swift:1:53: error: 'NavigationPath' is only available in macOS 13.0 or newer
@ObservationIgnored private var _navigationPath = NavigationPath()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:7:16: note: in expansion of macro 'ObservationTracked' here
public var navigationPath = NavigationPath()
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:27: error: 'Binding' is only available in macOS 10.15 or newer
public var sheetItem: Binding<AnyIdentifiable?> {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:16: note: add @available attribute to enclosing property
public var sheetItem: Binding<AnyIdentifiable?> {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:47: error: 'Identifiable' is only available in macOS 10.15 or newer
public func presentSheet(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:18:17: note: add @available attribute to enclosing instance method
public func presentSheet(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/swift-generated-sources/@__swiftmacro_17ApricotNavigation6Router10ObservablefMm_.swift:1:70: error: 'ObservationRegistrar' is only available in macOS 14.0 or newer
@ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:14: note: in expansion of macro 'Observable' here
public final class Router {
^~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:4:2: error: 'Observable()' is only available in macOS 14.0 or newer
@Observable
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:9:9: error: 'Binding' is only available in macOS 10.15 or newer
Binding(
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:9:9: note: add 'if #available' version check
Binding(
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:8:16: note: add @available attribute to enclosing property
public var sheetItem: Binding<AnyIdentifiable?> {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Router/Router.swift:5:20: note: add @available attribute to enclosing class
public final class Router {
^
[3/3] 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
public let destination: any Identifiable
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:3:14: note: add @available attribute to enclosing class
public class AnyIdentifiable: 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
public init(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:6:12: note: add @available attribute to enclosing initializer
public init(destination: any Identifiable) {
^
/Users/admin/builder/spi-builder-workspace/Sources/ApricotNavigation/Model/AnyIdentifiable.swift:3:14: note: add @available attribute to enclosing class
public class AnyIdentifiable: Identifiable {
^
error: fatalError
BUILD FAILURE 5.9 macosSpm