The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Spices, reference main (bb50b8), with Swift 6.0 for macOS (SPM) on 22 Apr 2026 12:33:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:18:71: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:23:13: error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
   |             |- error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
24 |         }
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
   |      `- error: 'State' is only available in macOS 10.15 or newer
 6 |     @State private var restartApp = false
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |
 8 |     init(menuItem: PickerMenuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
   :
11 |     }
12 |
13 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
14 |         Picker(selection: $selection) {
15 |             ForEach(menuItem.options) { option in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:9:9: error: setter for 'menuItem' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
 7 |
 8 |     init(menuItem: PickerMenuItem) {
   |     `- note: add @available attribute to enclosing initializer
 9 |         self.menuItem = menuItem
   |         |- error: setter for 'menuItem' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
10 |         self.selection = menuItem.selection
11 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:10:9: error: setter for 'selection' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
 7 |
 8 |     init(menuItem: PickerMenuItem) {
   |     `- note: add @available attribute to enclosing initializer
 9 |         self.menuItem = menuItem
10 |         self.selection = menuItem.selection
   |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
11 |     }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:33:10: error: value of type 'some View' has no member 'restartApp'
31 |             }
32 |         }
33 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
34 |     }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var editingValue: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
 6 |     @State private var editingValue: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var restartApp = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
 6 |     @State private var editingValue: String = ""
 7 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
   :
 7 |     @State private var restartApp = false
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         GeometryReader { proxy in
11 |             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:25:10: error: value of type 'some View' has no member 'restartApp'
23 |             restartApp = menuItem.requiresRestart
24 |         }
25 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
26 |         .onAppear {
27 |             editingValue = menuItem.value
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var isOn = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
 6 |     @State private var isOn = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var restartApp = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
 6 |     @State private var isOn = false
 7 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
   :
 7 |     @State private var restartApp = false
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         Toggle(isOn: $isOn) {
11 |             Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:24:10: error: value of type 'some View' has no member 'restartApp'
22 |             }
23 |         }
24 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
25 |         .onAppear {
26 |             isOn = menuItem.value
[38/43] Compiling Spices TextFieldMenuItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:8:55: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
   |                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:8:55: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
   |                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:8:55: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
   |                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:10:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
   |                                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:10:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
   |                                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:10:62: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
   |                                                              |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:12:65: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
   |                                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:12:65: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
   |                                                                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:12:65: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
   |                                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:14:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
   |                                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:14:62: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
   |                                                              |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:14:62: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
   |                                                              |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:16:67: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
   |                                                                   |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:16:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
   |                                                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:16:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
   |                                                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:18:71: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:18:71: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:18:71: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:23:13: error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
   |             |- error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
24 |         }
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
   |      `- error: 'State' is only available in macOS 10.15 or newer
 6 |     @State private var restartApp = false
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |
 8 |     init(menuItem: PickerMenuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
   :
11 |     }
12 |
13 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
14 |         Picker(selection: $selection) {
15 |             ForEach(menuItem.options) { option in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:9:9: error: setter for 'menuItem' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
 7 |
 8 |     init(menuItem: PickerMenuItem) {
   |     `- note: add @available attribute to enclosing initializer
 9 |         self.menuItem = menuItem
   |         |- error: setter for 'menuItem' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
10 |         self.selection = menuItem.selection
11 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:10:9: error: setter for 'selection' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
 7 |
 8 |     init(menuItem: PickerMenuItem) {
   |     `- note: add @available attribute to enclosing initializer
 9 |         self.menuItem = menuItem
10 |         self.selection = menuItem.selection
   |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
11 |     }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:33:10: error: value of type 'some View' has no member 'restartApp'
31 |             }
32 |         }
33 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
34 |     }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var editingValue: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
 6 |     @State private var editingValue: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var restartApp = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
 6 |     @State private var editingValue: String = ""
 7 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
   :
 7 |     @State private var restartApp = false
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         GeometryReader { proxy in
11 |             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:25:10: error: value of type 'some View' has no member 'restartApp'
23 |             restartApp = menuItem.requiresRestart
24 |         }
25 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
26 |         .onAppear {
27 |             editingValue = menuItem.value
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var isOn = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
 6 |     @State private var isOn = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var restartApp = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
 6 |     @State private var isOn = false
 7 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
   :
 7 |     @State private var restartApp = false
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         Toggle(isOn: $isOn) {
11 |             Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:24:10: error: value of type 'some View' has no member 'restartApp'
22 |             }
23 |         }
24 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
25 |         .onAppear {
26 |             isOn = menuItem.value
[39/43] Compiling Spices ToggleMenuItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:8:55: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
   |                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:8:55: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
   |                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:8:55: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
   |                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:10:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
   |                                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:10:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
   |                                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:10:62: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
   |                                                              |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:12:65: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
   |                                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:12:65: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
   |                                                                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:12:65: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
10 |         } else if let menuItem = menuItem as? PickerMenuItem {
11 |             PickerMenuItemView(menuItem: menuItem)
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
   |                                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:14:62: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
   |                                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:14:62: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
   |                                                              |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:14:62: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
12 |         } else if let menuItem = menuItem as? TextFieldMenuItem {
13 |             TextFieldMenuItemView(menuItem: menuItem)
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
   |                                                              |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                              `- note: add 'if #available' version check
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:16:67: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
   |                                                                   |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:16:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
   |                                                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:16:67: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
14 |         } else if let menuItem = menuItem as? ButtonMenuItem {
15 |             ButtonMenuItemView(menuItem: menuItem)
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
   |                                                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                   `- note: add 'if #available' version check
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:18:71: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:18:71: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:18:71: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
16 |         } else if let menuItem = menuItem as? AsyncButtonMenuItem {
17 |             AsyncButtonMenuItemView(menuItem: menuItem)
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
   |                                                                       |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:20:60: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
18 |         } else if let menuItem = menuItem as? ChildSpiceStoreMenuItem {
19 |             ChildSpiceStoreMenuItemView(menuItem: menuItem, dismiss: dismiss)
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
   |                                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:23:13: error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
   |             |- error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
24 |         }
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:22:16: error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
   :
20 |         } else if let menuItem = menuItem as? ViewMenuItem {
21 |             ViewMenuItemView(menuItem: menuItem)
22 |         } else {
   |                |- error: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |             fatalError("Unknown menu item of type \(type(of: menuItem))")
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: any MenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         if let menuItem = menuItem as? ToggleMenuItem {
 9 |             ToggleMenuItemView(menuItem: menuItem)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:5:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
   |      `- error: 'State' is only available in macOS 10.15 or newer
 6 |     @State private var restartApp = false
 7 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |
 8 |     init(menuItem: PickerMenuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:13:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
   :
11 |     }
12 |
13 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
14 |         Picker(selection: $selection) {
15 |             ForEach(menuItem.options) { option in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:9:9: error: setter for 'menuItem' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
 7 |
 8 |     init(menuItem: PickerMenuItem) {
   |     `- note: add @available attribute to enclosing initializer
 9 |         self.menuItem = menuItem
   |         |- error: setter for 'menuItem' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
10 |         self.selection = menuItem.selection
11 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:10:9: error: setter for 'selection' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct PickerMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject private var menuItem: PickerMenuItem
 5 |     @State private var selection: PickerMenuItem.Option
 6 |     @State private var restartApp = false
 7 |
 8 |     init(menuItem: PickerMenuItem) {
   |     `- note: add @available attribute to enclosing initializer
 9 |         self.menuItem = menuItem
10 |         self.selection = menuItem.selection
   |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
11 |     }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/PickerMenuItemView.swift:33:10: error: value of type 'some View' has no member 'restartApp'
31 |             }
32 |         }
33 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
34 |     }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var editingValue: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
 6 |     @State private var editingValue: String = ""
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var restartApp = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
 6 |     @State private var editingValue: String = ""
 7 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct TextFieldMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: TextFieldMenuItem
 5 |
   :
 7 |     @State private var restartApp = false
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         GeometryReader { proxy in
11 |             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/TextFieldMenuItemView.swift:25:10: error: value of type 'some View' has no member 'restartApp'
23 |             restartApp = menuItem.requiresRestart
24 |         }
25 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
26 |         .onAppear {
27 |             editingValue = menuItem.value
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:4:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 5 |
 6 |     @State private var isOn = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:6:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
 6 |     @State private var isOn = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 7 |     @State private var restartApp = false
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
 6 |     @State private var isOn = false
 7 |     @State private var restartApp = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |
 9 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:9:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ToggleMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @ObservedObject var menuItem: ToggleMenuItem
 5 |
   :
 7 |     @State private var restartApp = false
 8 |
 9 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
10 |         Toggle(isOn: $isOn) {
11 |             Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ToggleMenuItemView.swift:24:10: error: value of type 'some View' has no member 'restartApp'
22 |             }
23 |         }
24 |         .restartApp($restartApp)
   |          `- error: value of type 'some View' has no member 'restartApp'
25 |         .onAppear {
26 |             isOn = menuItem.value
[40/43] Compiling Spices PresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
[41/43] Compiling Spices Spice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
[42/43] Compiling Spices SpiceEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
[43/43] Compiling Spices SpiceEditorViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
BUILD FAILURE 6.0 macosSpm