Build Information
Failed to build GSRouting, reference main (208737
), with Swift 5.9 for macOS (SPM) on 29 Jun 2024 15:48:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ginsudev/GSRouting.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ginsudev/GSRouting
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2087370 Update README.md
Cloned https://github.com/ginsudev/GSRouting.git
Revision (git rev-parse @):
2087370e9b422e306b1bced23c835896a4e8c651
SUCCESS checkout https://github.com/ginsudev/GSRouting.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/ginsudev/GSRouting.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Compiling GSRouting Router.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:12:15: note: add @available attribute to enclosing struct
public struct Router: DynamicProperty {
^
[2/8] Compiling GSRouting AnyRoute.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:29: error: 'AnyView' is only available in macOS 10.15 or newer
public typealias Body = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:22: note: add @available attribute to enclosing type alias
public typealias Body = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:12:15: note: add @available attribute to enclosing struct
public struct AnyViewRoute: ViewRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:34:33: error: 'AnyView' is only available in macOS 10.15 or newer
public typealias TabLabel = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:34:22: note: add @available attribute to enclosing type alias
public typealias TabLabel = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:35:35: error: 'AnyView' is only available in macOS 10.15 or newer
public typealias TabContent = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:35:22: note: add @available attribute to enclosing type alias
public typealias TabContent = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: error: type 'AnyTabRoute' does not conform to protocol 'TabRoute'
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: error: 'TabRoute' requires the types 'ObjectIdentifier' and 'String' be equivalent
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: requirement specified as 'Self.ID' == 'String' [with Self = AnyTabRoute]
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:28:9: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView(_route.makeBody(context: context))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:28:9: note: add 'if #available' version check
AnyView(_route.makeBody(context: context))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:27:17: note: add @available attribute to enclosing instance method
public func makeBody(context: Context) -> Self.Body {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:12:15: note: add @available attribute to enclosing struct
public struct AnyViewRoute: ViewRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:39:32: error: cannot convert return expression of type 'String' to return type 'ObjectIdentifier'
public var id: ID { _route.id }
~~~~~~~^~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:50:9: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView(_route.makeLabel(context: context))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:50:9: note: add 'if #available' version check
AnyView(_route.makeLabel(context: context))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:49:17: note: add @available attribute to enclosing instance method
public func makeLabel(context: Context) -> Self.TabLabel {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:54:9: error: 'AnyView' is only available in macOS 10.15 or newer
AnyView(_route.makeContent(context: context))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:54:9: note: add 'if #available' version check
AnyView(_route.makeContent(context: context))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:53:17: note: add @available attribute to enclosing instance method
public func makeContent(context: Context) -> Self.TabContent {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabRoute: TabRoute {
^
[3/8] Compiling GSRouting ViewRoute.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:42:26: error: 'View' is only available in macOS 10.15 or newer
associatedtype Body: View
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:17: note: add @available attribute to enclosing protocol
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:52:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@MainActor @ViewBuilder
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:53:10: note: add @available attribute to enclosing instance method
func makeBody(context: Context) -> Body
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:17: note: add @available attribute to enclosing protocol
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:49: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:17: note: add @available attribute to enclosing protocol
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Compiling GSRouting TabRoute.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:41:30: error: 'View' is only available in macOS 10.15 or newer
associatedtype TabLabel: View
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:43:32: error: 'View' is only available in macOS 10.15 or newer
associatedtype TabContent: View
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:51:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@MainActor @ViewBuilder
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:52:10: note: add @available attribute to enclosing instance method
func makeLabel(context: Context) -> TabLabel
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:60:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@MainActor @ViewBuilder
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:61:10: note: add @available attribute to enclosing instance method
func makeContent(context: Context) -> TabContent
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:48: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
[5/8] Compiling GSRouting Routable.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
@State
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:59:59: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(_ sheet: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:59:18: note: add @available attribute to enclosing instance method
private func sheetView(_ sheet: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:63:69: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:63:18: note: add @available attribute to enclosing instance method
private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:67:81: error: 'View' is only available in macOS 10.15 or newer
private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:67:18: note: add @available attribute to enclosing instance method
private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:76:36: error: 'View' is only available in macOS 10.15 or newer
public func routable() -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:76:17: note: add @available attribute to enclosing instance method
public func routable() -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:72:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:72:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:72:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:30:47: warning: converting function value of type '@MainActor (AnyViewRoute) -> some View' to '(AnyViewRoute) -> some View' loses global actor 'MainActor'
.sheet(item: $sheet, content: sheetView)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:31:67: warning: converting function value of type '@MainActor (AnyViewRoute) -> some View' to '(AnyViewRoute) -> some View' loses global actor 'MainActor'
.fullScreenCover(item: $fullScreenCover, content: fullScreenCoverView)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:32:77: warning: converting function value of type '@MainActor (AnyViewRoute) -> some View' to '(AnyViewRoute) -> some View' loses global actor 'MainActor'
.navigationDestination(for: AnyViewRoute.self, destination: navigationDestinationView)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:28:9: error: 'NavigationStack' is only available in macOS 13.0 or newer
NavigationStack(path: $path) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:28:9: note: add 'if #available' version check
NavigationStack(path: $path) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:30:18: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
.sheet(item: $sheet, content: sheetView)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:31:18: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
.fullScreenCover(item: $fullScreenCover, content: fullScreenCoverView)
^~~~~~~~~~~~~~~
SwiftUI.View:4:17: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:32:18: error: 'navigationDestination(for:destination:)' is only available in macOS 13.0 or newer
.navigationDestination(for: AnyViewRoute.self, destination: navigationDestinationView)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:34:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
.onAppear {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:37:21: error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
self.path.append(destination)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:40:25: error: cannot pass as inout because setter for 'path' is only available in macOS 10.15 or newer
_ = self.path.popLast()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:43:21: error: setter for 'path' is only available in macOS 10.15 or newer
self.path = []
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:46:21: error: setter for 'sheet' is only available in macOS 10.15 or newer
self.sheet = sheet
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:49:21: error: setter for 'fullScreenCover' is only available in macOS 10.15 or newer
self.fullScreenCover = cover
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:56:10: error: 'environmentObject' is only available in macOS 10.15 or newer
.environmentObject(navRouter)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:56:10: note: add 'if #available' version check
.environmentObject(navRouter)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:77:9: error: 'modifier' is only available in macOS 10.15 or newer
modifier(RoutableViewModifier())
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:77:9: note: add 'if #available' version check
modifier(RoutableViewModifier())
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:76:17: note: add @available attribute to enclosing instance method
public func routable() -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:72:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:77:18: error: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context
modifier(RoutableViewModifier())
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:76:17: note: add '@MainActor' to make instance method 'routable()' part of global actor 'MainActor'
public func routable() -> some View {
^
@MainActor
[6/8] Emitting module GSRouting
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:52: error: 'ObservableObject' is only available in macOS 10.15 or newer
@MainActor public final class AppNavigationRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:31: note: add @available attribute to enclosing class
@MainActor public final class AppNavigationRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
@Published
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:10:33: note: add @available attribute to enclosing class
@MainActor internal final class AppTabRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:10:47: error: 'ObservableObject' is only available in macOS 10.15 or newer
@MainActor internal final class AppTabRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:10:33: note: add @available attribute to enclosing class
@MainActor internal final class AppTabRouter: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<AppTabRouter, AnyTabRoute>' cannot be converted to contextual type 'KeyPath<AppTabRouter, AnyTabRoute>'
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:41:30: error: 'View' is only available in macOS 10.15 or newer
associatedtype TabLabel: View
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:43:32: error: 'View' is only available in macOS 10.15 or newer
associatedtype TabContent: View
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:51:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@MainActor @ViewBuilder
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:52:10: note: add @available attribute to enclosing instance method
func makeLabel(context: Context) -> TabLabel
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:60:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@MainActor @ViewBuilder
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:61:10: note: add @available attribute to enclosing instance method
func makeContent(context: Context) -> TabContent
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:48: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/TabRoute.swift:39:17: note: add @available attribute to enclosing protocol
public protocol TabRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:42:26: error: 'View' is only available in macOS 10.15 or newer
associatedtype Body: View
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:17: note: add @available attribute to enclosing protocol
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:52:17: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@MainActor @ViewBuilder
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:53:10: note: add @available attribute to enclosing instance method
func makeBody(context: Context) -> Body
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:17: note: add @available attribute to enclosing protocol
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:49: error: 'Identifiable' is only available in macOS 10.15 or newer
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Protocols/ViewRoute.swift:40:17: note: add @available attribute to enclosing protocol
public protocol ViewRoute: Hashable, Equatable, Identifiable where ID == String {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:29: error: 'AnyView' is only available in macOS 10.15 or newer
public typealias Body = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:13:22: note: add @available attribute to enclosing type alias
public typealias Body = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:12:15: note: add @available attribute to enclosing struct
public struct AnyViewRoute: ViewRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:34:33: error: 'AnyView' is only available in macOS 10.15 or newer
public typealias TabLabel = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:34:22: note: add @available attribute to enclosing type alias
public typealias TabLabel = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:35:35: error: 'AnyView' is only available in macOS 10.15 or newer
public typealias TabContent = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:35:22: note: add @available attribute to enclosing type alias
public typealias TabContent = AnyView
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: add @available attribute to enclosing struct
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: error: type 'AnyTabRoute' does not conform to protocol 'TabRoute'
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: error: 'TabRoute' requires the types 'ObjectIdentifier' and 'String' be equivalent
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/AnyRoute.swift:33:15: note: requirement specified as 'Self.ID' == 'String' [with Self = AnyTabRoute]
public struct AnyTabRoute: TabRoute {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:14:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Utilities/Router.swift:12:15: note: add @available attribute to enclosing struct
public struct Router: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
@EnvironmentObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:15:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:18:6: error: 'State' is only available in macOS 10.15 or newer
@State
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
@State
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:24:6: error: 'State' is only available in macOS 10.15 or newer
@State
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:27:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:59:59: error: 'View' is only available in macOS 10.15 or newer
private func sheetView(_ sheet: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:59:18: note: add @available attribute to enclosing instance method
private func sheetView(_ sheet: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:63:69: error: 'View' is only available in macOS 10.15 or newer
private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:63:18: note: add @available attribute to enclosing instance method
private func fullScreenCoverView(_ cover: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:67:81: error: 'View' is only available in macOS 10.15 or newer
private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:67:18: note: add @available attribute to enclosing instance method
private func navigationDestinationView(_ destination: AnyViewRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:10:16: note: add @available attribute to enclosing struct
private struct RoutableViewModifier: ViewModifier {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:76:36: error: 'View' is only available in macOS 10.15 or newer
public func routable() -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:76:17: note: add @available attribute to enclosing instance method
public func routable() -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:72:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:72:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/ViewModifiers/Routable.swift:72:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:48:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:66:54: error: 'View' is only available in macOS 10.15 or newer
private func labelView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:66:18: note: add @available attribute to enclosing instance method
private func labelView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:70:56: error: 'View' is only available in macOS 10.15 or newer
private func contentView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:70:18: note: add @available attribute to enclosing instance method
private func contentView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
[7/8] Compiling GSRouting AppTabRouter.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
@Published
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:10:33: note: add @available attribute to enclosing class
@MainActor internal final class AppTabRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:10:47: error: 'ObservableObject' is only available in macOS 10.15 or newer
@MainActor internal final class AppTabRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:10:33: note: add @available attribute to enclosing class
@MainActor internal final class AppTabRouter: ObservableObject {
^
<unknown>:0: error: key path value type 'ReferenceWritableKeyPath<AppTabRouter, AnyTabRoute>' cannot be converted to contextual type 'KeyPath<AppTabRouter, AnyTabRoute>'
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:21:9: error: setter for 'selectedTab' is only available in macOS 10.15 or newer
self.selectedTab = hashedTabs[0]
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:21:9: note: add 'if #available' version check
self.selectedTab = hashedTabs[0]
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:17:5: note: add @available attribute to enclosing initializer
init(tabs: [any TabRoute]) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:10:33: note: add @available attribute to enclosing class
@MainActor internal final class AppTabRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:26:33: error: cannot convert value of type 'String' to expected argument type 'ObjectIdentifier'
guard selectedTab.id != id else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:26:27: error: property 'id' requires that 'AnyTabRoute' be a class type
guard selectedTab.id != id else {
^
Swift.Identifiable:2:11: note: where 'Self' = 'AnyTabRoute'
extension Identifiable where Self : AnyObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:30:48: error: binary operator '==' cannot be applied to operands of type 'ObjectIdentifier' and 'String'
if let tab = tabs.first(where: { $0.id == id }) {
~~~~~ ^ ~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:30:48: note: overloads for '==' exist with these partially matching parameter lists: (ObjectIdentifier, ObjectIdentifier), (String, String)
if let tab = tabs.first(where: { $0.id == id }) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppTabRouter.swift:30:45: error: property 'id' requires that 'AnyTabRoute' be a class type
if let tab = tabs.first(where: { $0.id == id }) {
^
Swift.Identifiable:2:11: note: where 'Self' = 'AnyTabRoute'
extension Identifiable where Self : AnyObject {
^
[8/8] Compiling GSRouting AppNavigationRouter.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:52: error: 'ObservableObject' is only available in macOS 10.15 or newer
@MainActor public final class AppNavigationRouter: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/AppNavigationRouter.swift:12:31: note: add @available attribute to enclosing class
@MainActor public final class AppNavigationRouter: ObservableObject {
^
[9/9] Compiling GSRouting RoutableTabView.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:48:6: error: 'StateObject' is only available in macOS 11.0 or newer
@StateObject
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:55:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:66:54: error: 'View' is only available in macOS 10.15 or newer
private func labelView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:66:18: note: add @available attribute to enclosing instance method
private func labelView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:70:56: error: 'View' is only available in macOS 10.15 or newer
private func contentView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:70:18: note: add @available attribute to enclosing instance method
private func contentView(tab: AnyTabRoute) -> some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:46:15: note: add @available attribute to enclosing struct
public struct RoutableTabView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GSRouting/Views/RoutableTabView.swift:56:39: error: cannot assign to property: '$tabRouter' is immutable
TabView(selection: $tabRouter.selectedTab) {
~~~~~~~~~~ ^
error: fatalError
BUILD FAILURE 5.9 macosSpm