The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Spices, reference main (bb50b8), with Swift 6.2 (beta) for macOS (SPM) on 4 Sep 2025 02:27:50 UTC.

Build Command

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

Build Log

 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
20 |         .navigationTitle(title)
21 |         .toolbar {
22 |             ToolbarItem(placement: .primaryAction) {
   |                                                    |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
23 |                 Button {
24 |                     dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:22:52: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
20 |         .navigationTitle(title)
21 |         .toolbar {
22 |             ToolbarItem(placement: .primaryAction) {
   |                                                    |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
23 |                 Button {
24 |                     dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:23:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
21 |         .toolbar {
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |                     dismiss()
25 |                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:23:17: error: 'Button' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
21 |         .toolbar {
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
   |                 |- error: 'Button' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |                     dismiss()
25 |                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:23:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
21 |         .toolbar {
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
24 |                     dismiss()
25 |                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:26:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
24 |                     dismiss()
25 |                 } label: {
26 |                     Text("Done").fontWeight(.bold)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
27 |                 }
28 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:26:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
24 |                     dismiss()
25 |                 } label: {
26 |                     Text("Done").fontWeight(.bold)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
27 |                 }
28 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:26:34: error: 'fontWeight' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
24 |                     dismiss()
25 |                 } label: {
26 |                     Text("Done").fontWeight(.bold)
   |                                  |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
27 |                 }
28 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:25:26: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
23 |                 Button {
24 |                     dismiss()
25 |                 } label: {
   |                          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
26 |                     Text("Done").fontWeight(.bold)
27 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:22:52: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
20 |         .navigationTitle(title)
21 |         .toolbar {
22 |             ToolbarItem(placement: .primaryAction) {
   |                                                    |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
23 |                 Button {
24 |                     dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:21:18: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
   :
19 |         .disabled(!userInteraction.isEnabled)
20 |         .navigationTitle(title)
21 |         .toolbar {
   |                  |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
[32/43] Compiling Spices MenuItemProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:28:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
26 |     let name: Name
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
29 |     @Published var selection: Option {
30 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
29 |     @Published var selection: Option {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
30 |         didSet {
31 |             selection.write()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:35:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
33 |     }
34 |
35 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, [PickerMenuItem.Option]> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, [PickerMenuItem.Option]>'
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, PickerMenuItem.Option> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, PickerMenuItem.Option>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:45:9: error: setter for 'options' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
43 |         self.requiresRestart = requiresRestart
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
   |         |- error: setter for 'options' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |         self.selection = selection
47 |         observeValue(in: storage)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:46:9: error: setter for 'selection' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
46 |         self.selection = selection
   |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |         observeValue(in: storage)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:67:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
68 |             guard newValue.optionId != self?.selection.id else {
69 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:74:13: error: setter for 'selection' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
72 |                 return
73 |             }
74 |             self?.selection = newSelection
   |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
75 |         }
76 |         .store(in: &cancellables)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:76:10: error: 'store(in:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
74 |             self?.selection = newSelection
75 |         }
76 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
77 |     }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: String {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<String>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<TextFieldMenuItem, String> & Sendable' to expected argument type 'ReferenceWritableKeyPath<TextFieldMenuItem, String>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: Bool {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<Bool>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<ToggleMenuItem, Bool> & Sendable' to expected argument type 'ReferenceWritableKeyPath<ToggleMenuItem, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
[33/43] Compiling Spices PickerMenuItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:28:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
26 |     let name: Name
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
29 |     @Published var selection: Option {
30 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
29 |     @Published var selection: Option {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
30 |         didSet {
31 |             selection.write()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:35:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
33 |     }
34 |
35 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, [PickerMenuItem.Option]> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, [PickerMenuItem.Option]>'
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, PickerMenuItem.Option> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, PickerMenuItem.Option>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:45:9: error: setter for 'options' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
43 |         self.requiresRestart = requiresRestart
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
   |         |- error: setter for 'options' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |         self.selection = selection
47 |         observeValue(in: storage)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:46:9: error: setter for 'selection' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
46 |         self.selection = selection
   |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |         observeValue(in: storage)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:67:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
68 |             guard newValue.optionId != self?.selection.id else {
69 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:74:13: error: setter for 'selection' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
72 |                 return
73 |             }
74 |             self?.selection = newSelection
   |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
75 |         }
76 |         .store(in: &cancellables)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:76:10: error: 'store(in:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
74 |             self?.selection = newSelection
75 |         }
76 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
77 |     }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: String {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<String>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<TextFieldMenuItem, String> & Sendable' to expected argument type 'ReferenceWritableKeyPath<TextFieldMenuItem, String>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: Bool {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<Bool>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<ToggleMenuItem, Bool> & Sendable' to expected argument type 'ReferenceWritableKeyPath<ToggleMenuItem, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
[34/43] Compiling Spices TextFieldMenuItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:28:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
26 |     let name: Name
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
29 |     @Published var selection: Option {
30 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
29 |     @Published var selection: Option {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
30 |         didSet {
31 |             selection.write()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:35:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
33 |     }
34 |
35 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, [PickerMenuItem.Option]> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, [PickerMenuItem.Option]>'
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, PickerMenuItem.Option> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, PickerMenuItem.Option>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:45:9: error: setter for 'options' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
43 |         self.requiresRestart = requiresRestart
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
   |         |- error: setter for 'options' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |         self.selection = selection
47 |         observeValue(in: storage)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:46:9: error: setter for 'selection' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
46 |         self.selection = selection
   |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |         observeValue(in: storage)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:67:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
68 |             guard newValue.optionId != self?.selection.id else {
69 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:74:13: error: setter for 'selection' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
72 |                 return
73 |             }
74 |             self?.selection = newSelection
   |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
75 |         }
76 |         .store(in: &cancellables)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:76:10: error: 'store(in:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
74 |             self?.selection = newSelection
75 |         }
76 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
77 |     }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: String {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<String>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<TextFieldMenuItem, String> & Sendable' to expected argument type 'ReferenceWritableKeyPath<TextFieldMenuItem, String>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: Bool {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<Bool>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<ToggleMenuItem, Bool> & Sendable' to expected argument type 'ReferenceWritableKeyPath<ToggleMenuItem, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
[35/43] Compiling Spices ToggleMenuItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:28:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
26 |     let name: Name
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
29 |     @Published var selection: Option {
30 |         didSet {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:29:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
27 |     let requiresRestart: Bool
28 |     @Published var options: [Option]
29 |     @Published var selection: Option {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
30 |         didSet {
31 |             selection.write()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:35:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
33 |     }
34 |
35 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, [PickerMenuItem.Option]> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, [PickerMenuItem.Option]>'
<unknown>:0: error: cannot convert value of type 'any KeyPath<PickerMenuItem, PickerMenuItem.Option> & Sendable' to expected argument type 'ReferenceWritableKeyPath<PickerMenuItem, PickerMenuItem.Option>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:45:9: error: setter for 'options' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
43 |         self.requiresRestart = requiresRestart
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
   |         |- error: setter for 'options' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
46 |         self.selection = selection
47 |         observeValue(in: storage)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:46:9: error: setter for 'selection' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class PickerMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     struct Option: Hashable, Identifiable {
 6 |         let id: String
   :
35 |     private var cancellables: Set<AnyCancellable> = []
36 |
37 |     init<Value: RawRepresentable & CaseIterable>(
   |     `- note: add @available attribute to enclosing initializer
38 |         name: Name,
39 |         storage: AnyStorage<Value>,
   :
44 |         let (options, selection) = Self.options(from: storage)
45 |         self.options = options
46 |         self.selection = selection
   |         |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |         observeValue(in: storage)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:67:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
68 |             guard newValue.optionId != self?.selection.id else {
69 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:74:13: error: setter for 'selection' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
72 |                 return
73 |             }
74 |             self?.selection = newSelection
   |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
75 |         }
76 |         .store(in: &cancellables)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/PickerMenuItem.swift:76:10: error: 'store(in:)' is only available in macOS 10.15 or newer
49 | }
50 |
51 | private extension PickerMenuItem {
   |         `- note: add @available attribute to enclosing extension
52 |     private static func options<Value: CaseIterable & RawRepresentable>(
53 |         from storage: AnyStorage<Value>
   :
64 |     }
65 |
66 |     private func observeValue<Value: CaseIterable & RawRepresentable>(in storage: AnyStorage<Value>) {
   |                  `- note: add @available attribute to enclosing instance method
67 |         storage.publisher.sink { [weak self] newValue in
68 |             guard newValue.optionId != self?.selection.id else {
   :
74 |             self?.selection = newSelection
75 |         }
76 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
77 |     }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: String {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<String>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<TextFieldMenuItem, String> & Sendable' to expected argument type 'ReferenceWritableKeyPath<TextFieldMenuItem, String>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/TextFieldMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class TextFieldMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<String>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:8:6: error: 'Published' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
 7 |     let requiresRestart: Bool
 8 |     @Published var value: Bool {
   |      `- error: 'Published' is only available in macOS 10.15 or newer
 9 |         didSet {
10 |             if value != storage.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:17:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
15 |
16 |     private let storage: AnyStorage<Bool>
17 |     private var cancellables: Set<AnyCancellable> = []
   |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
<unknown>:0: error: cannot convert value of type 'any KeyPath<ToggleMenuItem, Bool> & Sendable' to expected argument type 'ReferenceWritableKeyPath<ToggleMenuItem, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:23:9: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
   |         |- error: setter for 'value' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:24:27: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
22 |         self.storage = storage
23 |         self.value = storage.value
24 |         storage.publisher.sink { [weak self] newValue in
   |                           |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:26:17: error: setter for 'value' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
24 |         storage.publisher.sink { [weak self] newValue in
25 |             if newValue != self?.value {
26 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             }
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ToggleMenuItem.swift:29:10: error: 'store(in:)' is only available in macOS 10.15 or newer
 2 | import Foundation
 3 |
 4 | final class ToggleMenuItem: MenuItem, ObservableObject {
   |             `- note: add @available attribute to enclosing class
 5 |     let id = UUID().uuidString
 6 |     let name: Name
   :
17 |     private var cancellables: Set<AnyCancellable> = []
18 |
19 |     init(name: Name, requiresRestart: Bool, storage: AnyStorage<Bool>) {
   |     `- note: add @available attribute to enclosing initializer
20 |         self.name = name
21 |         self.requiresRestart = requiresRestart
   :
27 |             }
28 |         }
29 |         .store(in: &cancellables)
   |          |- error: 'store(in:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
30 |     }
31 | }
[36/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 | }
[37/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 | }
[38/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 | }
[39/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 | }
[40/43] Compiling Spices UIApplication+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
[41/43] Compiling Spices UIViewController+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
[42/43] Compiling Spices View+RestartOnChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
[43/43] Compiling Spices AsyncButtonMenuItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:6:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
 6 |     @EnvironmentObject private var userInteraction: UserInteraction
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
 9 |     @State private var error: Error?
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 7 |     @State private var isLoading = false
 8 |     @State private var isErrorPresented = false
 9 |     @State private var error: Error?
   |      `- error: 'State' is only available in macOS 10.15 or newer
10 |
11 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:11:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct AsyncButtonMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: AsyncButtonMenuItem
 5 |
   :
 9 |     @State private var error: Error?
10 |
11 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
12 |         Button {
13 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/AsyncButtonMenuItemView.swift:23:25: error: cannot find 'UIApplication' in scope
21 |                     try await menuItem.storage.value()
22 |                     if menuItem.requiresRestart {
23 |                         UIApplication.shared.shp_restart()
   |                         `- error: cannot find 'UIApplication' in scope
24 |                     }
25 |                 } catch {
BUILD FAILURE 6.2 macosSpm