Build Information
Failed to build Voyager with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bryan-vh/voyager.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/bryan-vh/voyager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bdc7594 Add Example app to showcase use in real SwiftUI app
Cloned https://github.com/bryan-vh/voyager.git
Revision (git rev-parse @):
bdc75946f21efb27bf068012ef395c7f2c305da9
SUCCESS checkout https://github.com/bryan-vh/voyager.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/bryan-vh/voyager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/10] Compiling Voyager TabRouter.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:5:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var tabs: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:6:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var selected: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routers: [Router<T>]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [Router<T>]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [Router<T>]>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:10:9: error: setter for 'tabs' is only available in macOS 10.15 or newer
self.tabs = tabs
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:10:9: note: add 'if #available' version check
self.tabs = tabs
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:9:12: note: add @available attribute to enclosing initializer
public init(tabs: [T], selected: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:11:9: error: setter for 'selected' is only available in macOS 10.15 or newer
self.selected = selected
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:11:9: note: add 'if #available' version check
self.selected = selected
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:9:12: note: add @available attribute to enclosing initializer
public init(tabs: [T], selected: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:12:9: error: setter for 'routers' is only available in macOS 10.15 or newer
self.routers = tabs.map { Router<T>(root: $0, deeplinkHandler: deeplinkHandler) }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:12:9: note: add 'if #available' version check
self.routers = tabs.map { Router<T>(root: $0, deeplinkHandler: deeplinkHandler) }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:9:12: note: add @available attribute to enclosing initializer
public init(tabs: [T], selected: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:16:9: error: setter for 'selected' is only available in macOS 10.15 or newer
selected = to
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:16:9: note: add 'if #available' version check
selected = to
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:15:17: note: add @available attribute to enclosing instance method
public func updateSelectedTab(_ to: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
[4/11] Compiling Voyager Route.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:45: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol Route: Equatable, Hashable, Identifiable {}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:17: note: add @available attribute to enclosing protocol
public protocol Route: Equatable, Hashable, Identifiable {}
^
[5/11] Compiling Voyager Router.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var root: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routes: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var sheet: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:10:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var fullscreenCover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var popover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:19:9: error: setter for 'root' is only available in macOS 10.15 or newer
self.root = root
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:19:9: note: add 'if #available' version check
self.root = root
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:18:12: note: add @available attribute to enclosing initializer
public init(root: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:20:9: error: setter for 'routes' is only available in macOS 10.15 or newer
self.routes = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:20:9: note: add 'if #available' version check
self.routes = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:18:12: note: add @available attribute to enclosing initializer
public init(root: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:27:9: error: setter for 'root' is only available in macOS 10.15 or newer
root = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:27:9: note: add 'if #available' version check
root = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:26:17: note: add @available attribute to enclosing instance method
public func updateRoot(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:28:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
routes.removeAll()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:28:9: note: add 'if #available' version check
routes.removeAll()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:26:17: note: add @available attribute to enclosing instance method
public func updateRoot(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:47:13: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:47:13: note: add 'if #available' version check
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:51:13: error: setter for 'popover' is only available in macOS 10.15 or newer
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:51:13: note: add 'if #available' version check
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:53:13: error: setter for 'sheet' is only available in macOS 10.15 or newer
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:53:13: note: add 'if #available' version check
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:56:17: error: setter for 'sheet' is only available in macOS 10.15 or newer
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:56:17: note: add 'if #available' version check
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:58:17: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:58:17: note: add 'if #available' version check
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:60:17: error: setter for 'popover' is only available in macOS 10.15 or newer
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:60:17: note: add 'if #available' version check
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:76:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
routes.append(route)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:76:9: note: add 'if #available' version check
routes.append(route)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:75:18: note: add @available attribute to enclosing instance method
private func push(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:80:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
routes.removeLast()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:80:9: note: add 'if #available' version check
routes.removeLast()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:79:18: note: add @available attribute to enclosing instance method
private func pop() {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:84:9: error: setter for 'sheet' is only available in macOS 10.15 or newer
sheet = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:84:9: note: add 'if #available' version check
sheet = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:83:18: note: add @available attribute to enclosing instance method
private func presentSheet(_ route: T, onDismiss: (() -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:89:9: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
fullscreenCover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:89:9: note: add 'if #available' version check
fullscreenCover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:88:18: note: add @available attribute to enclosing instance method
private func presentFullscreenCover(_ route: T, onDismiss: (() -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:94:9: error: setter for 'popover' is only available in macOS 10.15 or newer
popover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:94:9: note: add 'if #available' version check
popover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:93:18: note: add @available attribute to enclosing instance method
private func presentPopover(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Compiling Voyager DeeplinkHandler.swift
[7/11] Compiling Voyager PresentationOption.swift
[8/11] Emitting module Voyager
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:50: error: 'View' is only available in macOS 10.15 or newer
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:45: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol Route: Equatable, Hashable, Identifiable {}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:17: note: add @available attribute to enclosing protocol
public protocol Route: Equatable, Hashable, Identifiable {}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var root: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routes: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var sheet: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:10:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var fullscreenCover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var popover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:5:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var tabs: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:6:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var selected: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routers: [Router<T>]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [Router<T>]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [Router<T>]>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: TabRouter<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:11:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:12:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder tabItem: @escaping (T) -> TabItem
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:64: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
[9/11] Compiling Voyager NavVoyagerView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:12:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:12:9: note: add 'if #available' version check
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:17:39: error: cannot assign to property: '$router' is immutable
NavigationStack(path: $router.routes) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:23:30: error: cannot assign to property: '$router' is immutable
.sheet(item: $router.sheet) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:28:40: error: cannot assign to property: '$router' is immutable
.fullScreenCover(item: $router.fullscreenCover) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:33:32: error: cannot assign to property: '$router' is immutable
.popover(item: $router.popover) { route in
~~~~~~~ ^
[10/11] Compiling Voyager BaseVoyagerView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:50: error: 'View' is only available in macOS 10.15 or newer
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:12:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:12:9: note: add 'if #available' version check
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:18:34: error: cannot assign to property: '$router' is immutable
.sheet(item: $router.sheet) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:23:44: error: cannot assign to property: '$router' is immutable
.fullScreenCover(item: $router.fullscreenCover) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:28:36: error: cannot assign to property: '$router' is immutable
.popover(item: $router.popover) { route in
~~~~~~~ ^
[11/11] Compiling Voyager TabVoyagerView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: TabRouter<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:11:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:12:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder tabItem: @escaping (T) -> TabItem
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:64: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:14:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:14:9: note: add 'if #available' version check
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:20:36: error: cannot assign to property: '$router' is immutable
TabView(selection: $router.selected) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:37:16: error: cannot pass as inout because setter for 'routers' is only available in macOS 10.15 or newer
return router.routers[index]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:37:16: note: add 'if #available' version check
return router.routers[index]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:33:18: note: add @available attribute to enclosing instance method
private func getRouter(for tab: T) -> Router<T> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/8] Compiling Voyager TabRouter.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:5:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var tabs: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:6:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var selected: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routers: [Router<T>]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [Router<T>]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [Router<T>]>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:10:9: error: setter for 'tabs' is only available in macOS 10.15 or newer
self.tabs = tabs
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:10:9: note: add 'if #available' version check
self.tabs = tabs
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:9:12: note: add @available attribute to enclosing initializer
public init(tabs: [T], selected: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:11:9: error: setter for 'selected' is only available in macOS 10.15 or newer
self.selected = selected
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:11:9: note: add 'if #available' version check
self.selected = selected
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:9:12: note: add @available attribute to enclosing initializer
public init(tabs: [T], selected: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:12:9: error: setter for 'routers' is only available in macOS 10.15 or newer
self.routers = tabs.map { Router<T>(root: $0, deeplinkHandler: deeplinkHandler) }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:12:9: note: add 'if #available' version check
self.routers = tabs.map { Router<T>(root: $0, deeplinkHandler: deeplinkHandler) }
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:9:12: note: add @available attribute to enclosing initializer
public init(tabs: [T], selected: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:16:9: error: setter for 'selected' is only available in macOS 10.15 or newer
selected = to
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:16:9: note: add 'if #available' version check
selected = to
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:15:17: note: add @available attribute to enclosing instance method
public func updateSelectedTab(_ to: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module Voyager
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:50: error: 'View' is only available in macOS 10.15 or newer
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:45: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol Route: Equatable, Hashable, Identifiable {}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:17: note: add @available attribute to enclosing protocol
public protocol Route: Equatable, Hashable, Identifiable {}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var root: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routes: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var sheet: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:10:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var fullscreenCover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var popover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:5:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var tabs: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:6:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var selected: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routers: [Router<T>]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class TabRouter<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabRouter.swift:3:14: note: add @available attribute to enclosing generic class
public class TabRouter<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<TabRouter<T>, [Router<T>]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<TabRouter<T>, [Router<T>]>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: TabRouter<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:11:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:12:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder tabItem: @escaping (T) -> TabItem
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:64: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
[4/8] Compiling Voyager TabVoyagerView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: TabRouter<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:11:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content,
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:12:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder tabItem: @escaping (T) -> TabItem
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:19:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:64: error: 'View' is only available in macOS 10.15 or newer
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:14:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:14:9: note: add 'if #available' version check
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:9:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:20:36: error: cannot assign to property: '$router' is immutable
TabView(selection: $router.selected) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:37:16: error: cannot pass as inout because setter for 'routers' is only available in macOS 10.15 or newer
return router.routers[index]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:37:16: note: add 'if #available' version check
return router.routers[index]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:33:18: note: add @available attribute to enclosing instance method
private func getRouter(for tab: T) -> Router<T> {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/TabVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct TabVoyagerView<T: Route, Content: View, TabItem: View>: View {
^
[5/8] Compiling Voyager NavVoyagerView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:49: error: 'View' is only available in macOS 10.15 or newer
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:12:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:12:9: note: add 'if #available' version check
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct NavVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:17:39: error: cannot assign to property: '$router' is immutable
NavigationStack(path: $router.routes) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:23:30: error: cannot assign to property: '$router' is immutable
.sheet(item: $router.sheet) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:28:40: error: cannot assign to property: '$router' is immutable
.fullScreenCover(item: $router.fullscreenCover) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/NavVoyagerView.swift:33:32: error: cannot assign to property: '$router' is immutable
.popover(item: $router.popover) { route in
~~~~~~~ ^
[6/8] Compiling Voyager Route.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:45: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol Route: Equatable, Hashable, Identifiable {}
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Route.swift:3:17: note: add @available attribute to enclosing protocol
public protocol Route: Equatable, Hashable, Identifiable {}
^
[7/8] Compiling Voyager BaseVoyagerView.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:5:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var router: Router<T>
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:10:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: @escaping (T) -> Content
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:16:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:50: error: 'View' is only available in macOS 10.15 or newer
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:12:9: error: setter for 'router' is only available in macOS 10.15 or newer
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:12:9: note: add 'if #available' version check
self.router = router
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:8:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:3:15: note: add @available attribute to enclosing generic struct
public struct BaseVoyagerView<T: Route, Content: View>: View {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:18:34: error: cannot assign to property: '$router' is immutable
.sheet(item: $router.sheet) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:23:44: error: cannot assign to property: '$router' is immutable
.fullScreenCover(item: $router.fullscreenCover) {
~~~~~~~ ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/BaseVoyagerView.swift:28:36: error: cannot assign to property: '$router' is immutable
.popover(item: $router.popover) { route in
~~~~~~~ ^
[8/8] Compiling Voyager Router.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:7:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var root: T
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var routes: [T]
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var sheet: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:10:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var fullscreenCover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
@Published var popover: T?
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:32: error: 'ObservableObject' is only available in macOS 10.15 or newer
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, [T]>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, [T]>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
<unknown>:0: error: key path value type 'KeyPath<Router<T>, T?>' cannot be converted to contextual type 'ReferenceWritableKeyPath<Router<T>, T?>'
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:19:9: error: setter for 'root' is only available in macOS 10.15 or newer
self.root = root
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:19:9: note: add 'if #available' version check
self.root = root
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:18:12: note: add @available attribute to enclosing initializer
public init(root: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:20:9: error: setter for 'routes' is only available in macOS 10.15 or newer
self.routes = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:20:9: note: add 'if #available' version check
self.routes = []
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:18:12: note: add @available attribute to enclosing initializer
public init(root: T, deeplinkHandler: DeeplinkHandler<T>? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:27:9: error: setter for 'root' is only available in macOS 10.15 or newer
root = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:27:9: note: add 'if #available' version check
root = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:26:17: note: add @available attribute to enclosing instance method
public func updateRoot(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:28:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
routes.removeAll()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:28:9: note: add 'if #available' version check
routes.removeAll()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:26:17: note: add @available attribute to enclosing instance method
public func updateRoot(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:47:13: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:47:13: note: add 'if #available' version check
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:51:13: error: setter for 'popover' is only available in macOS 10.15 or newer
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:51:13: note: add 'if #available' version check
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:53:13: error: setter for 'sheet' is only available in macOS 10.15 or newer
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:53:13: note: add 'if #available' version check
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:56:17: error: setter for 'sheet' is only available in macOS 10.15 or newer
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:56:17: note: add 'if #available' version check
sheet = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:58:17: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:58:17: note: add 'if #available' version check
fullscreenCover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:60:17: error: setter for 'popover' is only available in macOS 10.15 or newer
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:60:17: note: add 'if #available' version check
popover = nil
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:44:17: note: add @available attribute to enclosing instance method
public func dismiss(_ option: PresentationOption? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:76:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
routes.append(route)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:76:9: note: add 'if #available' version check
routes.append(route)
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:75:18: note: add @available attribute to enclosing instance method
private func push(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:80:9: error: cannot pass as inout because setter for 'routes' is only available in macOS 10.15 or newer
routes.removeLast()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:80:9: note: add 'if #available' version check
routes.removeLast()
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:79:18: note: add @available attribute to enclosing instance method
private func pop() {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:84:9: error: setter for 'sheet' is only available in macOS 10.15 or newer
sheet = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:84:9: note: add 'if #available' version check
sheet = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:83:18: note: add @available attribute to enclosing instance method
private func presentSheet(_ route: T, onDismiss: (() -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:89:9: error: setter for 'fullscreenCover' is only available in macOS 10.15 or newer
fullscreenCover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:89:9: note: add 'if #available' version check
fullscreenCover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:88:18: note: add @available attribute to enclosing instance method
private func presentFullscreenCover(_ route: T, onDismiss: (() -> Void)? = nil) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:94:9: error: setter for 'popover' is only available in macOS 10.15 or newer
popover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:94:9: note: add 'if #available' version check
popover = route
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:93:18: note: add @available attribute to enclosing instance method
private func presentPopover(_ route: T) {
^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Voyager/Router.swift:3:14: note: add @available attribute to enclosing generic class
public class Router<T: Route>: ObservableObject {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm