The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SUICoordinator, reference main (5cfa0b), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 06:28:47 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
226 |
227 |         await withCheckedContinuation { continuation in
228 |             withTransaction(transaction) {
    |             |- error: 'withTransaction' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
229 |                 customAction()
230 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: error: 'resume()' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
228 |             withTransaction(transaction) {
229 |                 customAction()
230 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
231 |             }
232 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:39: note: expanded code originates here
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
225 |         transaction.disablesAnimations = !animated
226 |
227 |         await withCheckedContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift
    |225 |
    |226 |
    |227 |                                       #isolation
    |    |                                        `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------
228 |             withTransaction(transaction) {
229 |                 customAction()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:223:34: warning: non-sendable type '() -> Void' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
221 |         action: @escaping () async -> (() -> Void)
222 |     ) async {
223 |         let customAction = await action()
    |                                  |- warning: non-sendable type '() -> Void' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
224 |         var transaction = Transaction()
225 |         transaction.disablesAnimations = !animated
macro expansion #isolation:1:129: error: 'MainActor' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:39: note: expanded code originates here
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
225 |         transaction.disablesAnimations = !animated
226 |
227 |         await withCheckedContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift
    |225 |
    |226 |
    |227 |                                       #isolation
    |    +--- macro expansion #isolation -------------------------------
    |    |1 |
    |    |  |                                                                                                                                 `- error: 'MainActor' is only available in macOS 10.15 or newer
    |    +--------------------------------------------------------------
    +------------------------------------------------------------------------------------------
228 |             withTransaction(transaction) {
229 |                 customAction()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
234 |
235 |     /// Handles the pop action by updating the navigation stack.
236 |     private func handlePopAction() {
    |                  `- note: add @available attribute to enclosing instance method
237 |         guard !items.isEmpty else { return }
238 |         items.removeLast()
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
239 |     }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 14 | /// Routers are responsible for the actual navigation and presentation of
 15 | /// views or coordinators within a coordinator-based architecture.
 16 | public protocol RouterType: ObservableObject {
    |                 |           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 17 |
 18 |     // --------------------------------------------------------------------
[25/30] Compiling SUICoordinator RouterType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:41:27: error: 'View' is only available in macOS 10.15 or newer
32 |  Conforming types must provide a type alias `Body`, which represents the body of the route and conforms to the `View` protocol.
33 |  */
34 | public protocol RouteType: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
35 |
36 |     // ---------------------------------------------------------
   :
39 |
40 |     /// A type alias representing the body of the route, conforming to the View protocol.
41 |     typealias Body = (any View)
   |               |           `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
42 |
43 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouteType.swift:51:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
32 |  Conforming types must provide a type alias `Body`, which represents the body of the route and conforms to the `View` protocol.
33 |  */
34 | public protocol RouteType: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
35 |
36 |     // ---------------------------------------------------------
   :
49 |
50 |     /// The body of the route, conforming to the View protocol.
51 |     @ViewBuilder var view: Body { get }
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:55:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
 55 |     public private (set) var animated: Bool?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 56 |
 57 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:42:6: error: 'Published' is only available in macOS 10.15 or newer
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 34 |
 35 |     // --------------------------------------------------------------------
    :
 40 |     public var mainView: Route?
 41 |     /// The array of routes managed by the navigation router.
 42 |     @Published public var items: [Route] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 43 |     // The sheet coordinator for presenting sheets.
 44 |     @Published public var sheetCoordinator: SheetCoordinator<Route.Body> = .init()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:44:6: error: 'Published' is only available in macOS 10.15 or newer
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 34 |
 35 |     // --------------------------------------------------------------------
    :
 42 |     @Published public var items: [Route] = []
 43 |     // The sheet coordinator for presenting sheets.
 44 |     @Published public var sheetCoordinator: SheetCoordinator<Route.Body> = .init()
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 45 |
 46 |     // --------------------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:202:55: error: 'View' is only available in macOS 10.15 or newer
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 34 |
 35 |     // --------------------------------------------------------------------
    :
200 |     /// - Parameters:
201 |     ///   - item: The sheet item containing the view to present.
202 |     @MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
    |                     |                                 `- error: 'View' is only available in macOS 10.15 or newer
    |                     `- note: add @available attribute to enclosing instance method
203 |         await sheetCoordinator.presentSheet(item)
204 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:70:28: warning: non-sendable type 'Self.Route' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'navigate(to:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 68 |     ///   - presentationStyle: The transition presentation style for the navigation.
 69 |     ///   - animated: A boolean value indicating whether to animate the navigation.
 70 |     @MainActor public func navigate(
    |                            `- warning: non-sendable type 'Self.Route' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'navigate(to:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 71 |         to route: Route,
 72 |         presentationStyle: TransitionPresentationStyle? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:70:28: warning: non-sendable type 'TransitionPresentationStyle?' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'navigate(to:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 68 |     ///   - presentationStyle: The transition presentation style for the navigation.
 69 |     ///   - animated: A boolean value indicating whether to animate the navigation.
 70 |     @MainActor public func navigate(
    |                            `- warning: non-sendable type 'TransitionPresentationStyle?' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'navigate(to:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 71 |         to route: Route,
 72 |         presentationStyle: TransitionPresentationStyle? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:32:13: note: consider making enum 'TransitionPresentationStyle' conform to the 'Sendable' protocol
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: SCEquatable {
   |             `- note: consider making enum 'TransitionPresentationStyle' conform to the 'Sendable' protocol
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:92:28: warning: non-sendable type 'Self.Route' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'present(_:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 90 |     ///   - presentationStyle: The transition presentation style for the presentation.
 91 |     ///   - animated: A boolean value indicating whether to animate the presentation.
 92 |     @MainActor public func present(_ view: Route, presentationStyle: TransitionPresentationStyle? = .sheet, animated: Bool = true) async -> Void {
    |                            `- warning: non-sendable type 'Self.Route' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'present(_:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 93 |
 94 |         if (presentationStyle ?? view.presentationStyle) == .push {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:92:28: warning: non-sendable type 'TransitionPresentationStyle?' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'present(_:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 90 |     ///   - presentationStyle: The transition presentation style for the presentation.
 91 |     ///   - animated: A boolean value indicating whether to animate the presentation.
 92 |     @MainActor public func present(_ view: Route, presentationStyle: TransitionPresentationStyle? = .sheet, animated: Bool = true) async -> Void {
    |                            `- warning: non-sendable type 'TransitionPresentationStyle?' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'present(_:presentationStyle:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
 93 |
 94 |         if (presentationStyle ?? view.presentationStyle) == .push {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/TransitionPresentationStyle.swift:32:13: note: consider making enum 'TransitionPresentationStyle' conform to the 'Sendable' protocol
30 |  TransitionPresentationStyle enumerates the different styles used for transitioning between views or presenting views within an application.
31 |  */
32 | public enum TransitionPresentationStyle: SCEquatable {
   |             `- note: consider making enum 'TransitionPresentationStyle' conform to the 'Sendable' protocol
33 |
34 |     /// A push transition style, commonly used in navigation controllers.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:136:28: warning: non-sendable type 'T' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'popToView(_:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
134 |     ///   - animated: A boolean value indicating whether to animate the pop action.
135 |     /// - Returns: A boolean value indicating whether the pop action was successful.
136 |     @MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
    |                            `- warning: non-sendable type 'T' in parameter of the protocol requirement satisfied by main actor-isolated instance method 'popToView(_:animated:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
137 |         let name: (Any) -> String = { String(describing: $0.self) }
138 |         guard let index = items.firstIndex(where: {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:79:20: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 77 |     ///   - animated: A boolean value indicating whether to animate the pop action.
 78 |     /// - Returns: A boolean value indicating whether the pop action was successful.
 79 |     func popToView<T>(_ view: T, animated: Bool) async -> Bool
    |                    `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 80 |
 81 |     /// Dismisses the currently presented view or coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:157:28: warning: main actor-isolated instance method 'dismiss(animated:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |                                                          `- note: add '@preconcurrency' to the 'RouterType' conformance to defer isolation checking to run time
 34 |
 35 |     // --------------------------------------------------------------------
    :
155 |     /// - Parameters:
156 |     ///   - animated: A boolean value indicating whether to animate the dismissal.
157 |     @MainActor public func dismiss(animated: Bool = true) -> Void {
    |                            `- warning: main actor-isolated instance method 'dismiss(animated:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
158 |         sheetCoordinator.removeLastSheet(animated: animated)
159 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:85:10: note: mark the protocol requirement 'dismiss(animated:)' 'async' to allow actor-isolated conformances
 83 |     /// - Parameters:
 84 |     ///   - animated: A boolean value indicating whether to animate the dismissal.
 85 |     func dismiss(animated: Bool)
    |          `- note: mark the protocol requirement 'dismiss(animated:)' 'async' to allow actor-isolated conformances
 86 |
 87 |     /// Cleans up the current view or coordinator, optionally preserving the main view.
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, [Route]>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, [Route]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<Router<Route>, SheetCoordinator<(any View)>>' to expected argument type 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<Route.Body>>' (aka 'ReferenceWritableKeyPath<Router<Route>, SheetCoordinator<any View>>')
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:183:28: warning: main actor-isolated instance method 'clean(animated:withMainView:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
181 |     ///   - animated: A boolean value indicating whether to animate the cleanup process.
182 |     ///   - withMainView: A boolean value indicating whether to clean the main view.
183 |     @MainActor public func clean(animated: Bool, withMainView: Bool = true) -> Void {
    |                            `- warning: main actor-isolated instance method 'clean(animated:withMainView:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
184 |         sheetCoordinator.clean(animated: animated)
185 |         coordinator = nil
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:92:10: note: mark the protocol requirement 'clean(animated:withMainView:)' 'async' to allow actor-isolated conformances
 90 |     ///   - animated: A boolean value indicating whether to animate the cleanup process.
 91 |     ///   - withMainView: A boolean value indicating whether to clean the main view.
 92 |     func clean(animated: Bool, withMainView: Bool) -> Void
    |          `- note: mark the protocol requirement 'clean(animated:withMainView:)' 'async' to allow actor-isolated conformances
 93 |
 94 |     /// Closes the current view or coordinator, optionally finishing the associated flow.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:77:26: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 34 |
 35 |     // --------------------------------------------------------------------
    :
 68 |     ///   - presentationStyle: The transition presentation style for the navigation.
 69 |     ///   - animated: A boolean value indicating whether to animate the navigation.
 70 |     @MainActor public func navigate(
    |                            `- note: add @available attribute to enclosing instance method
 71 |         to route: Route,
 72 |         presentationStyle: TransitionPresentationStyle? = nil,
    :
 75 |         if (presentationStyle ?? route.presentationStyle) == .push {
 76 |             return await runActionWithAnimation(animated) { [weak self] in
 77 |                 return { self?.items.append(route) }
    |                          |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 78 |             }
 79 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:126:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 34 |
 35 |     // --------------------------------------------------------------------
    :
122 |     /// - Parameters:
123 |     ///   - animated: A boolean value indicating whether to animate the pop action.
124 |     @MainActor public func popToRoot(animated: Bool = true) async -> Void {
    |                            `- note: add @available attribute to enclosing instance method
125 |         await runActionWithAnimation(animated) { [weak self] in
126 |             return { self?.items.removeAll() }
    |                      |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
127 |         }
128 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:22: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 34 |
 35 |     // --------------------------------------------------------------------
    :
134 |     ///   - animated: A boolean value indicating whether to animate the pop action.
135 |     /// - Returns: A boolean value indicating whether the pop action was successful.
136 |     @MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
    |                            `- note: add @available attribute to enclosing instance method
137 |         let name: (Any) -> String = { String(describing: $0.self) }
138 |         guard let index = items.firstIndex(where: {
    :
145 |
146 |         await runActionWithAnimation(animated) { [weak self] in
147 |             return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
    |                      |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
148 |         }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:147:34: error: 'remove(atOffsets:)' is only available in macOS 10.15 or newer
 31 | /// views or coordinators within a coordinator-based architecture.
 32 |
 33 | public class Router<Route: RouteType>: ObservableObject, RouterType {
    |              `- note: add @available attribute to enclosing generic class
 34 |
 35 |     // --------------------------------------------------------------------
    :
134 |     ///   - animated: A boolean value indicating whether to animate the pop action.
135 |     /// - Returns: A boolean value indicating whether the pop action was successful.
136 |     @MainActor public func popToView<T>(_ view: T, animated: Bool = true) async -> Bool {
    |                            `- note: add @available attribute to enclosing instance method
137 |         let name: (Any) -> String = { String(describing: $0.self) }
138 |         guard let index = items.firstIndex(where: {
    :
145 |
146 |         await runActionWithAnimation(animated) { [weak self] in
147 |             return { self?.items.remove(atOffsets: IndexSet.init(integersIn: range)) }
    |                                  |- error: 'remove(atOffsets:)' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
148 |         }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:203:9: warning: no 'async' operations occur within 'await' expression
201 |     ///   - item: The sheet item containing the view to present.
202 |     @MainActor func presentSheet(item: SheetItem<(any View)>) async -> Void {
203 |         await sheetCoordinator.presentSheet(item)
    |         `- warning: no 'async' operations occur within 'await' expression
204 |     }
205 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:224:27: error: 'Transaction' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
222 |     ) async {
223 |         let customAction = await action()
224 |         var transaction = Transaction()
    |                           |- error: 'Transaction' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
225 |         transaction.disablesAnimations = !animated
226 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:225:21: error: 'disablesAnimations' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
223 |         let customAction = await action()
224 |         var transaction = Transaction()
225 |         transaction.disablesAnimations = !animated
    |                     |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
226 |
227 |         await withCheckedContinuation { continuation in
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:15: error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
225 |         transaction.disablesAnimations = !animated
226 |
227 |         await withCheckedContinuation { continuation in
    |               |- error: 'withCheckedContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
228 |             withTransaction(transaction) {
229 |                 customAction()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:228:13: error: 'withTransaction' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
226 |
227 |         await withCheckedContinuation { continuation in
228 |             withTransaction(transaction) {
    |             |- error: 'withTransaction' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
229 |                 customAction()
230 |                 continuation.resume()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:230:30: error: 'resume()' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
228 |             withTransaction(transaction) {
229 |                 customAction()
230 |                 continuation.resume()
    |                              |- error: 'resume()' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
231 |             }
232 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:40: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:39: note: expanded code originates here
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
225 |         transaction.disablesAnimations = !animated
226 |
227 |         await withCheckedContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift
    |225 |
    |226 |
    |227 |                                       #isolation
    |    |                                        `- error: 'isolation()' is only available in macOS 10.15 or newer
    +------------------------------------------------------------------------------------------
228 |             withTransaction(transaction) {
229 |                 customAction()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:223:34: warning: non-sendable type '() -> Void' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
221 |         action: @escaping () async -> (() -> Void)
222 |     ) async {
223 |         let customAction = await action()
    |                                  |- warning: non-sendable type '() -> Void' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
224 |         var transaction = Transaction()
225 |         transaction.disablesAnimations = !animated
macro expansion #isolation:1:129: error: 'MainActor' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:227:39: note: expanded code originates here
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
217 |     ///   - animated: A boolean value indicating whether to animate the action.
218 |     ///   - action: The asynchronous action to run.
219 |     @MainActor private func runActionWithAnimation(
    |                             `- note: add @available attribute to enclosing instance method
220 |         _ animated: Bool,
221 |         action: @escaping () async -> (() -> Void)
    :
225 |         transaction.disablesAnimations = !animated
226 |
227 |         await withCheckedContinuation { continuation in
    +--- /Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift
    |225 |
    |226 |
    |227 |                                       #isolation
    |    +--- macro expansion #isolation -------------------------------
    |    |1 |
    |    |  |                                                                                                                                 `- error: 'MainActor' is only available in macOS 10.15 or newer
    |    +--------------------------------------------------------------
    +------------------------------------------------------------------------------------------
228 |             withTransaction(transaction) {
229 |                 customAction()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/Router.swift:238:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
206 |
207 |
208 | fileprivate extension Router {
    |             `- note: add @available attribute to enclosing extension
209 |
210 |     // --------------------------------------------------------------------
    :
234 |
235 |     /// Handles the pop action by updating the navigation stack.
236 |     private func handlePopAction() {
    |                  `- note: add @available attribute to enclosing instance method
237 |         guard !items.isEmpty else { return }
238 |         items.removeLast()
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
239 |     }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Router/RouterType.swift:16:29: error: 'ObservableObject' is only available in macOS 10.15 or newer
 14 | /// Routers are responsible for the actual navigation and presentation of
 15 | /// views or coordinators within a coordinator-based architecture.
 16 | public protocol RouterType: ObservableObject {
    |                 |           `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing protocol
 17 |
 18 |     // --------------------------------------------------------------------
[26/30] Compiling SUICoordinator PageDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
33 |     typealias View = (any SwiftUI.View)
   |               |                   `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
34 |
35 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
38 |
39 |     /// The title view for the page.
40 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
41 |     var title: View  { get }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
42 |
43 |     /// The icon view for the page.
44 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 |     var icon: View { get }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 36 |
 37 |     /// The array of published pages associated with the tabbar coordinator.
 38 |     @Published public var pages: [Page] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 39 |
 40 |     /// The published current page associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 39 |
 40 |     /// The published current page associated with the tabbar coordinator.
 41 |     @Published public var currentPage: Page
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 42 |
 43 |     // --------------------------------------------------------------------
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, [Page]>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Page>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:51:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 49 |
 50 |     /// A subject for setting badge values.
 51 |     public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
    |                          `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 52 |
 53 |     /// A custom view associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:69:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 65 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 66 |     ///   - customView: A custom view associated with the tabbar coordinator.
 67 |     public init( pages: [Page], currentPage: Page, presentationStyle: TransitionPresentationStyle = .sheet, customView: Page.View? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 68 |         self.presentationStyle = presentationStyle
 69 |         self.currentPage = currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 70 |         self.customView = customView
 71 |         super.init()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:73:9: error: 'Task' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 65 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 66 |     ///   - customView: A custom view associated with the tabbar coordinator.
 67 |     public init( pages: [Page], currentPage: Page, presentationStyle: TransitionPresentationStyle = .sheet, customView: Page.View? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 68 |         self.presentationStyle = presentationStyle
 69 |         self.currentPage = currentPage
    :
 71 |         super.init()
 72 |
 73 |         Task { [weak self] in
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 74 |             await self?.setPages(pages, currentPage: currentPage)
 75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:73:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 65 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 66 |     ///   - customView: A custom view associated with the tabbar coordinator.
 67 |     public init( pages: [Page], currentPage: Page, presentationStyle: TransitionPresentationStyle = .sheet, customView: Page.View? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 68 |         self.presentationStyle = presentationStyle
 69 |         self.currentPage = currentPage
    :
 71 |         super.init()
 72 |
 73 |         Task { [weak self] in
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 74 |             await self?.setPages(pages, currentPage: currentPage)
 75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:90:36: warning: call to main actor-isolated initializer 'init(viewModel:badges:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 88 |         let route = DefaultRoute(
 89 |             presentationStyle: presentationStyle,
 90 |             content: customView ?? TabbarCoordinatorView(viewModel: self)
    |                                    `- warning: call to main actor-isolated initializer 'init(viewModel:badges:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 91 |         )
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:28:8: note: calls to initializer 'init(viewModel:badges:)' from outside of its actor context are implicitly asynchronous
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<PAGE: TabbarPage>: View {
    |        `- note: calls to initializer 'init(viewModel:badges:)' from outside of its actor context are implicitly asynchronous
 29 |
 30 |     typealias BadgeItem = (value: String?, page: PAGE)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:120:9: error: setter for 'pages' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
115 |     ///   - values: The array of pages to set.
116 |     ///   - currentPage: The optional current page to set.
117 |     open func setPages(_ values: [Page], currentPage: Page? = nil) async {
    |               `- note: add @available attribute to enclosing instance method
118 |         await removeChildren()
119 |         setupPages(values)
120 |         pages = values
    |         |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
121 |         setCurrentPage(currentPage)
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:164:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
157 |     /// - Parameters:
158 |     ///   - value: The optional current page to set.
159 |     private func setCurrentPage(_ value: (any TabbarPage)?) {
    |                  `- note: add @available attribute to enclosing instance method
160 |         guard let value, value.position != currentPage.position,
161 |               let item = pages.first(where: { $0.position == value.position })
162 |         else { return  }
163 |
164 |         currentPage = item
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
165 |     }
166 | }
[27/30] Compiling SUICoordinator TabbarCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:33:35: error: 'View' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
33 |     typealias View = (any SwiftUI.View)
   |               |                   `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing type alias
34 |
35 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:40:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
38 |
39 |     /// The title view for the page.
40 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
41 |     var title: View  { get }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/PageDataSource.swift:44:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
28 | ///
29 | /// Page data sources provide information such as title, icon, and position for a tabbar page.
30 | public protocol PageDataSource: SCHashable {
   |                 `- note: add @available attribute to enclosing protocol
31 |
32 |     /// A type alias representing a SwiftUI view.
   :
42 |
43 |     /// The icon view for the page.
44 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
45 |     var icon: View { get }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:38:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 36 |
 37 |     /// The array of published pages associated with the tabbar coordinator.
 38 |     @Published public var pages: [Page] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 39 |
 40 |     /// The published current page associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:41:6: error: 'Published' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 39 |
 40 |     /// The published current page associated with the tabbar coordinator.
 41 |     @Published public var currentPage: Page
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 42 |
 43 |     // --------------------------------------------------------------------
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, [Page]>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, [Page]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<TabbarCoordinator<Page>, Page>' to expected argument type 'ReferenceWritableKeyPath<TabbarCoordinator<Page>, Page>'
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:51:26: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 49 |
 50 |     /// A subject for setting badge values.
 51 |     public var setBadge: PassthroughSubject<(String?, Page), Never> = .init()
    |                          `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 52 |
 53 |     /// A custom view associated with the tabbar coordinator.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:69:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 65 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 66 |     ///   - customView: A custom view associated with the tabbar coordinator.
 67 |     public init( pages: [Page], currentPage: Page, presentationStyle: TransitionPresentationStyle = .sheet, customView: Page.View? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 68 |         self.presentationStyle = presentationStyle
 69 |         self.currentPage = currentPage
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 70 |         self.customView = customView
 71 |         super.init()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:73:9: error: 'Task' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 65 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 66 |     ///   - customView: A custom view associated with the tabbar coordinator.
 67 |     public init( pages: [Page], currentPage: Page, presentationStyle: TransitionPresentationStyle = .sheet, customView: Page.View? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 68 |         self.presentationStyle = presentationStyle
 69 |         self.currentPage = currentPage
    :
 71 |         super.init()
 72 |
 73 |         Task { [weak self] in
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 74 |             await self?.setPages(pages, currentPage: currentPage)
 75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:73:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
 65 |     ///   - presentationStyle: The presentation style for transitioning between pages.
 66 |     ///   - customView: A custom view associated with the tabbar coordinator.
 67 |     public init( pages: [Page], currentPage: Page, presentationStyle: TransitionPresentationStyle = .sheet, customView: Page.View? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 68 |         self.presentationStyle = presentationStyle
 69 |         self.currentPage = currentPage
    :
 71 |         super.init()
 72 |
 73 |         Task { [weak self] in
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 74 |             await self?.setPages(pages, currentPage: currentPage)
 75 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:90:36: warning: call to main actor-isolated initializer 'init(viewModel:badges:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 88 |         let route = DefaultRoute(
 89 |             presentationStyle: presentationStyle,
 90 |             content: customView ?? TabbarCoordinatorView(viewModel: self)
    |                                    `- warning: call to main actor-isolated initializer 'init(viewModel:badges:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 91 |         )
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinatorView.swift:28:8: note: calls to initializer 'init(viewModel:badges:)' from outside of its actor context are implicitly asynchronous
 26 | import Foundation
 27 |
 28 | struct TabbarCoordinatorView<PAGE: TabbarPage>: View {
    |        `- note: calls to initializer 'init(viewModel:badges:)' from outside of its actor context are implicitly asynchronous
 29 |
 30 |     typealias BadgeItem = (value: String?, page: PAGE)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:120:9: error: setter for 'pages' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
115 |     ///   - values: The array of pages to set.
116 |     ///   - currentPage: The optional current page to set.
117 |     open func setPages(_ values: [Page], currentPage: Page? = nil) async {
    |               `- note: add @available attribute to enclosing instance method
118 |         await removeChildren()
119 |         setupPages(values)
120 |         pages = values
    |         |- error: setter for 'pages' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
121 |         setCurrentPage(currentPage)
122 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/Tabbar/TabbarCoordinator.swift:164:9: error: setter for 'currentPage' is only available in macOS 10.15 or newer
 29 | ///
 30 | /// Tabbar coordinators handle the navigation and coordination of pages within a tabbar.
 31 | open class TabbarCoordinator<Page>: Coordinator<DefaultRoute>, TabbarCoordinatorType where Page: TabbarPage {
    |            `- note: add @available attribute to enclosing generic class
 32 |
 33 |     // --------------------------------------------------------------------
    :
157 |     /// - Parameters:
158 |     ///   - value: The optional current page to set.
159 |     private func setCurrentPage(_ value: (any TabbarPage)?) {
    |                  `- note: add @available attribute to enclosing instance method
160 |         guard let value, value.position != currentPage.position,
161 |               let item = pages.first(where: { $0.position == value.position })
162 |         else { return  }
163 |
164 |         currentPage = item
    |         |- error: setter for 'currentPage' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
165 |     }
166 | }
[28/30] Compiling SUICoordinator SheetCoordinatorView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 33 |
 34 |     typealias Action = ((Int) -> Void)
 35 |     typealias Value = (any View)
    |               |            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing type alias
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 39 |     // ---------------------------------------------------------
 40 |
 41 |     @StateObject var coordinator: SheetCoordinator<Value>
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 42 |     @State var index = 0
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 40 |
 41 |     @StateObject var coordinator: SheetCoordinator<Value>
 42 |     @State var index = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 43 |
 44 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 55 |
 56 |     @ViewBuilder
 57 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 58 |         content
 59 |             .background {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 54 |     // ---------------------------------------------------------
 55 |
 56 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 57 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 58 |         content
 59 |             .background {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 79 |
 80 |     @ViewBuilder
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
 83 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 78 |     // ---------------------------------------------------------
 79 |
 80 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
 83 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
    |                          `- error: 'View' is only available in macOS 10.15 or newer
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
    |                          `- error: 'View' is only available in macOS 10.15 or newer
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 91 |     }
 92 |
 93 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:55:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
 55 |     public private (set) var animated: Bool?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 56 |
 57 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
 58 |         content
 59 |             .background {
 60 |                 if $coordinator.items.isEmpty || isLast {
    |                                 `- error: cannot assign to property: '$coordinator' is immutable
 61 |                     EmptyView()
 62 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 79 |
 80 |     @ViewBuilder
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
    |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 83 |             .sheetCoordinator(
 84 |             coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
    |                                              |- error: 'presentationDetents' is only available in macOS 13.0 or newer
    |                                              `- note: add 'if #available' version check
100 |             default: content
101 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
    |                                      |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
100 |             default: content
101 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
    :
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
100 |             default: content
    |                      |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
101 |         }
102 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 33 |     // ---------------------------------------------------------
 34 |
 35 |     @Binding var items: [Item?]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
 56 |         transitionStyle: TransitionPresentationStyle?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 56 |         transitionStyle: TransitionPresentationStyle?,
 57 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  |               `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 94 |     // ---------------------------------------------------------
 95 |
 96 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
105 |     }
106 |
107 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        |                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                   |- error: 'indices' is only available in macOS 12.0 or newer
    |                                   `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     EmptyView()
 86 |                 }
 87 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |               |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |               `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |          |- error: 'transaction' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |                           |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
100 |                 item: item,
101 |                 onDismiss: { onDismiss?(index) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    :
102 |                 content: { content(index, $0) }
103 |             )
104 |             .onAppear { onDidLoad?(index) }
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
105 |     }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
109 |         defaultView
110 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
111 |                 item: item,
112 |                 onDismiss: { onDismiss?(index) },
SwiftUI.View:4:29: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 2 | @available(macOS, unavailable)
 3 | extension View {
 4 |     nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
   |                             `- note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 5 |
 6 |     @available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)")
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
    :
112 |                 onDismiss: { onDismiss?(index) },
113 |                 content: { content(index, $0) }
114 |             ).onAppear{ onDidLoad?(index)}
    |               |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
115 |     }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
119 |     }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
119 |     }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |                    |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
119 |     }
120 |
[29/30] Compiling SUICoordinator SheetItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 33 |
 34 |     typealias Action = ((Int) -> Void)
 35 |     typealias Value = (any View)
    |               |            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing type alias
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 39 |     // ---------------------------------------------------------
 40 |
 41 |     @StateObject var coordinator: SheetCoordinator<Value>
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 42 |     @State var index = 0
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 40 |
 41 |     @StateObject var coordinator: SheetCoordinator<Value>
 42 |     @State var index = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 43 |
 44 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 55 |
 56 |     @ViewBuilder
 57 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 58 |         content
 59 |             .background {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 54 |     // ---------------------------------------------------------
 55 |
 56 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 57 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 58 |         content
 59 |             .background {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 79 |
 80 |     @ViewBuilder
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
 83 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 78 |     // ---------------------------------------------------------
 79 |
 80 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
 83 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
    |                          `- error: 'View' is only available in macOS 10.15 or newer
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
    |                          `- error: 'View' is only available in macOS 10.15 or newer
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 91 |     }
 92 |
 93 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:55:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
 55 |     public private (set) var animated: Bool?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 56 |
 57 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
 58 |         content
 59 |             .background {
 60 |                 if $coordinator.items.isEmpty || isLast {
    |                                 `- error: cannot assign to property: '$coordinator' is immutable
 61 |                     EmptyView()
 62 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 79 |
 80 |     @ViewBuilder
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
    |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 83 |             .sheetCoordinator(
 84 |             coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
    |                                              |- error: 'presentationDetents' is only available in macOS 13.0 or newer
    |                                              `- note: add 'if #available' version check
100 |             default: content
101 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
    |                                      |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
100 |             default: content
101 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
    :
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
100 |             default: content
    |                      |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
101 |         }
102 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 33 |     // ---------------------------------------------------------
 34 |
 35 |     @Binding var items: [Item?]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
 56 |         transitionStyle: TransitionPresentationStyle?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 56 |         transitionStyle: TransitionPresentationStyle?,
 57 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  |               `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 94 |     // ---------------------------------------------------------
 95 |
 96 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
105 |     }
106 |
107 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        |                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                   |- error: 'indices' is only available in macOS 12.0 or newer
    |                                   `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     EmptyView()
 86 |                 }
 87 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |               |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |               `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |          |- error: 'transaction' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |                           |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
100 |                 item: item,
101 |                 onDismiss: { onDismiss?(index) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    :
102 |                 content: { content(index, $0) }
103 |             )
104 |             .onAppear { onDidLoad?(index) }
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
105 |     }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
109 |         defaultView
110 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
111 |                 item: item,
112 |                 onDismiss: { onDismiss?(index) },
SwiftUI.View:4:29: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 2 | @available(macOS, unavailable)
 3 | extension View {
 4 |     nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
   |                             `- note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 5 |
 6 |     @available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)")
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
    :
112 |                 onDismiss: { onDismiss?(index) },
113 |                 content: { content(index, $0) }
114 |             ).onAppear{ onDidLoad?(index)}
    |               |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
115 |     }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
119 |     }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
119 |     }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |                    |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
119 |     }
120 |
[30/30] Compiling SUICoordinator SheetView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:35:28: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 33 |
 34 |     typealias Action = ((Int) -> Void)
 35 |     typealias Value = (any View)
    |               |            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing type alias
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:41:6: error: 'StateObject' is only available in macOS 11.0 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 39 |     // ---------------------------------------------------------
 40 |
 41 |     @StateObject var coordinator: SheetCoordinator<Value>
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 42 |     @State var index = 0
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 40 |
 41 |     @StateObject var coordinator: SheetCoordinator<Value>
 42 |     @State var index = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 43 |
 44 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:57:41: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 55 |
 56 |     @ViewBuilder
 57 |     func body(content: Content) -> some View {
    |          |                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 58 |         content
 59 |             .background {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:56:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 54 |     // ---------------------------------------------------------
 55 |
 56 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 57 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 58 |         content
 59 |             .background {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:81:80: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 79 |
 80 |     @ViewBuilder
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  |                                                             `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
 83 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:80:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 78 |     // ---------------------------------------------------------
 79 |
 80 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
 83 |             .sheetCoordinator(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
    |                          `- error: 'View' is only available in macOS 10.15 or newer
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:95:26: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
    |                          `- error: 'View' is only available in macOS 10.15 or newer
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:15: error: 'View' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:93:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 91 |     }
 92 |
 93 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:52:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 50 |
 51 |     /// The presentation style of the last presented sheet.
 52 |     public private (set) var lastPresentationStyle: TransitionPresentationStyle?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinator.swift:55:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 53 |
 54 |     /// The presentation style of the last presented sheet.
 55 |     public private (set) var animated: Bool?
    |            `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 56 |
 57 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:60:33: error: cannot assign to property: '$coordinator' is immutable
 58 |         content
 59 |             .background {
 60 |                 if $coordinator.items.isEmpty || isLast {
    |                                 `- error: cannot assign to property: '$coordinator' is immutable
 61 |                     EmptyView()
 62 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:82:20: error: 'AnyView' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 79 |
 80 |     @ViewBuilder
 81 |     private func buildContent(with index: Int, item: SheetItem<Value>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 82 |         let view = AnyView(item.view)
    |                    |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 83 |             .sheetCoordinator(
 84 |             coordinator: coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:46: error: 'presentationDetents' is only available in macOS 13.0 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
    |                                              |- error: 'presentationDetents' is only available in macOS 13.0 or newer
    |                                              `- note: add 'if #available' version check
100 |             default: content
101 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:99:38: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
    |                                      |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
100 |             default: content
101 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:100:22: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
    :
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
100 |             default: content
    |                      |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
101 |         }
102 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetCoordinatorView.swift:97:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 26 | import Combine
 27 |
 28 | struct SheetCoordinatorView: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 29 |
 30 |     // ---------------------------------------------------------
    :
 92 |
 93 |     @ViewBuilder
 94 |     private func addSheet(
    |                  `- note: add @available attribute to enclosing instance method
 95 |         to content: some View,
 96 |         with presentationStyle: TransitionPresentationStyle
 97 |     ) -> some View {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 98 |         switch presentationStyle {
 99 |             case .detents(let data): content.presentationDetents(data)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:35:6: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 33 |     // ---------------------------------------------------------
 34 |
 35 |     @Binding var items: [Item?]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 36 |
 37 |     // ---------------------------------------------------------
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:54:16: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
 56 |         transitionStyle: TransitionPresentationStyle?,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:55:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 50 |     // ---------------------------------------------------------
 51 |
 52 |     init(
    |     `- note: add @available attribute to enclosing initializer
 53 |         index: Int,
 54 |         items: Binding<[Item?]>,
 55 |         @ViewBuilder content: @escaping (Int, (Item)) -> Content,
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 56 |         transitionStyle: TransitionPresentationStyle?,
 57 |         animated: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:74:20: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:34: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  |               `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:97:58: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:96:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 94 |     // ---------------------------------------------------------
 95 |
 96 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:39: error: 'Binding' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:108:63: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  |                                            `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:107:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
105 |     }
106 |
107 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:117:35: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
119 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:27:27: error: 'View' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        |                  `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'Group' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:9: error: 'init(content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:35: error: 'indices' is only available in macOS 12.0 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                   |- error: 'indices' is only available in macOS 12.0 or newer
    |                                   `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:81:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 79 |                 switch getTransitionStyle(from: index) {
 80 |                 case .fullScreenCover:
 81 |                     fullScreenView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
    |                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:83:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 81 |                     fullScreenView(item: item)
 82 |                 case .sheet, .detents:
 83 |                     sheetView(item: item)
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 84 |                 default:
 85 |                     EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'EmptyView' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:85:21: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 83 |                     sheetView(item: item)
 84 |                 default:
 85 |                     EmptyView()
    |                     |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 86 |                 }
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:76:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    |                                                                 |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                 `- note: add 'if #available' version check
 77 |                 let item = $items[index]
 78 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:87:13: error: 'buildIf' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 85 |                     EmptyView()
 86 |                 }
 87 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:75:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
    |               |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |               `- note: add 'if #available' version check
 76 |             if let index = $items.indices.firstIndex(of: index) {
 77 |                 let item = $items[index]
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:10: error: 'transaction' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |          |- error: 'transaction' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:89:27: error: 'disablesAnimations' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 72 |     // ---------------------------------------------------------
 73 |
 74 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 75 |         Group {
 76 |             if let index = $items.indices.firstIndex(of: index) {
    :
 87 |             }
 88 |         }
 89 |         .transaction { $0.disablesAnimations = !(animated) }
    |                           |- error: 'disablesAnimations' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 90 |     }
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:99:14: error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    |              |- error: 'sheet(item:onDismiss:content:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
100 |                 item: item,
101 |                 onDismiss: { onDismiss?(index) },
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:104:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
 95 |
 96 |     @ViewBuilder
 97 |     private func sheetView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
 98 |         defaultView
 99 |             .sheet(
    :
102 |                 content: { content(index, $0) }
103 |             )
104 |             .onAppear { onDidLoad?(index) }
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
105 |     }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:110:14: error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
109 |         defaultView
110 |             .fullScreenCover(
    |              `- error: 'fullScreenCover(item:onDismiss:content:)' is unavailable in macOS
111 |                 item: item,
112 |                 onDismiss: { onDismiss?(index) },
SwiftUI.View:4:29: note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 2 | @available(macOS, unavailable)
 3 | extension View {
 4 |     nonisolated public func fullScreenCover<Item, Content>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View where Item : Identifiable, Content : View
   |                             `- note: 'fullScreenCover(item:onDismiss:content:)' has been explicitly marked unavailable here
 5 |
 6 |     @available(*, deprecated, renamed: "fullScreenCover(item:onDismiss:content:)")
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:114:15: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
106 |
107 |     @ViewBuilder
108 |     private func fullScreenView(item: Binding<Item?>) -> some View {
    |                  `- note: add @available attribute to enclosing instance method
109 |         defaultView
110 |             .fullScreenCover(
    :
112 |                 onDismiss: { onDismiss?(index) },
113 |                 content: { content(index, $0) }
114 |             ).onAppear{ onDidLoad?(index)}
    |               |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
115 |     }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:9: error: 'Color' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |         |- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
119 |     }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:15: error: 'blue' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |               |- error: 'blue' is only available in macOS 10.15 or newer
    |               `- note: add 'if #available' version check
119 |     }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/SUICoordinator/SheetCoordinator/SheetView.swift:118:20: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 25 | import SwiftUI
 26 |
 27 | struct SheetView<Content: View, T: SheetItemType>: View {
    |        `- note: add @available attribute to enclosing generic struct
 28 |
 29 |     typealias Item = T
    :
115 |     }
116 |
117 |     private var defaultView: some View {
    |                 `- note: add @available attribute to enclosing property
118 |         Color.blue.frame(width: 0.3, height: 0.3)
    |                    |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
119 |     }
120 |
BUILD FAILURE 6.0 macosSpm