The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Spices, reference 4.3.1 (c54398), with Swift 6.2 for macOS (SPM) on 24 Aug 2026 20:56:16 UTC.

Build Command

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

Build Log

11 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |     func configureSheetPresentation() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
14 |             modifier(ConfigureSheetPresentationViewModifier())
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | }
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:6:17: error: 'presentationDetents' is only available in macOS 13.0 or newer
 2 |
 3 | @available(iOS 16, *)
 4 | private struct ConfigureSheetPresentationViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
 5 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
 6 |         content.presentationDetents([.medium, .large])
   |                 |- error: 'presentationDetents' is only available in macOS 13.0 or newer
   |                 `- note: add 'if #available' version check
 7 |     }
 8 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:13:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
13 |         if #available(iOS 16, *) {
   |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS [#ResultBuilderMethods]
14 |             modifier(ConfigureSheetPresentationViewModifier())
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:14:13: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
 8 | }
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
14 |             modifier(ConfigureSheetPresentationViewModifier())
   |             |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
15 |         } else {
16 |             self
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:14:13: error: 'modifier' is only available in macOS 10.15 or newer
 8 | }
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
14 |             modifier(ConfigureSheetPresentationViewModifier())
   |             |- error: 'modifier' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
15 |         } else {
16 |             self
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:13:34: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
 8 | }
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
   |                                  |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
14 |             modifier(ConfigureSheetPresentationViewModifier())
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:13:34: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 8 | }
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
   |                                  |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                  `- note: add 'if #available' version check
14 |             modifier(ConfigureSheetPresentationViewModifier())
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:13:34: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | }
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
   |                                  |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
14 |             modifier(ConfigureSheetPresentationViewModifier())
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:15:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | }
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
14 |             modifier(ConfigureSheetPresentationViewModifier())
15 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
16 |             self
17 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ConfigureSheetPresentation.swift:12:52: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 8 | }
 9 |
10 | extension View {
   | `- note: add '@available' attribute to enclosing extension
11 |     @ViewBuilder
12 |     func configureSheetPresentation() -> some View {
   |          |                                         |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |          |                                         `- note: add 'if #available' version check
   |          `- note: add '@available' attribute to enclosing instance method
13 |         if #available(iOS 16, *) {
14 |             modifier(ConfigureSheetPresentationViewModifier())
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:4:34: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | `- note: add '@available' attribute to enclosing extension
 4 |     func errorAlert(isPresented: Binding<Bool>, showing error: Error? = nil) -> some View {
   |          |                       `- error: 'Binding' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 5 |         modifier(ErrorAlertViewModifier(isPresented: isPresented, error: error))
 6 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:4:86: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | `- note: add '@available' attribute to enclosing extension
 4 |     func errorAlert(isPresented: Binding<Bool>, showing error: Error? = nil) -> some View {
   |          |                                                                           `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
 5 |         modifier(ErrorAlertViewModifier(isPresented: isPresented, error: error))
 6 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:3:11: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
 4 |     func errorAlert(isPresented: Binding<Bool>, showing error: Error? = nil) -> some View {
 5 |         modifier(ErrorAlertViewModifier(isPresented: isPresented, error: error))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:10:6: error: 'Binding' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
11 |     let error: Error?
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:13:41: error: 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:5:9: error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | `- note: add '@available' attribute to enclosing extension
 4 |     func errorAlert(isPresented: Binding<Bool>, showing error: Error? = nil) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
 5 |         modifier(ErrorAlertViewModifier(isPresented: isPresented, error: error))
   |         |- error: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 6 |     }
 7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:5:9: error: 'modifier' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | extension View {
   | `- note: add '@available' attribute to enclosing extension
 4 |     func errorAlert(isPresented: Binding<Bool>, showing error: Error? = nil) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
 5 |         modifier(ErrorAlertViewModifier(isPresented: isPresented, error: error))
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 6 |     }
 7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:15:14: error: 'alert(_:isPresented:actions:message:)' is only available in macOS 12.0 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   |              |- error: 'alert(_:isPresented:actions:message:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
16 |                 Button("OK", role: .cancel) {
17 |                     isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:15:20: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   |                    |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
16 |                 Button("OK", role: .cancel) {
17 |                     isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:15:65: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   |                                                                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
16 |                 Button("OK", role: .cancel) {
17 |                     isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:15:65: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   |                                                                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
16 |                 Button("OK", role: .cancel) {
17 |                     isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:16:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
16 |                 Button("OK", role: .cancel) {
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
17 |                     isPresented = false
18 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:16:17: error: 'Button' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
16 |                 Button("OK", role: .cancel) {
   |                 |- error: 'Button' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
17 |                     isPresented = false
18 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:16:17: error: 'init(_:role:action:)' is only available in macOS 12.0 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
16 |                 Button("OK", role: .cancel) {
   |                 |- error: 'init(_:role:action:)' is only available in macOS 12.0 or newer
   |                 `- note: add 'if #available' version check
17 |                     isPresented = false
18 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:16:24: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
16 |                 Button("OK", role: .cancel) {
   |                        |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
17 |                     isPresented = false
18 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:17:21: error: setter for 'isPresented' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
16 |                 Button("OK", role: .cancel) {
17 |                     isPresented = false
   |                     |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
18 |                 }
19 |             } message: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:15:65: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   |                                                                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                                                                 `- note: add 'if #available' version check
16 |                 Button("OK", role: .cancel) {
17 |                     isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:21:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
19 |             } message: {
20 |                 if let error {
21 |                     Text(error.localizedDescription)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
22 |                 } else {
23 |                     Text("An unknown error occurred during the operation.")
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:21:21: error: 'Text' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
19 |             } message: {
20 |                 if let error {
21 |                     Text(error.localizedDescription)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
22 |                 } else {
23 |                     Text("An unknown error occurred during the operation.")
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:20:30: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
18 |                 }
19 |             } message: {
20 |                 if let error {
   |                              |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
21 |                     Text(error.localizedDescription)
22 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:20:30: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
18 |                 }
19 |             } message: {
20 |                 if let error {
   |                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
21 |                     Text(error.localizedDescription)
22 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:23:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
21 |                     Text(error.localizedDescription)
22 |                 } else {
23 |                     Text("An unknown error occurred during the operation.")
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:23:21: error: 'Text' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
21 |                     Text(error.localizedDescription)
22 |                 } else {
23 |                     Text("An unknown error occurred during the operation.")
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
24 |                 }
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:22:24: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
20 |                 if let error {
21 |                     Text(error.localizedDescription)
22 |                 } else {
   |                        |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
23 |                     Text("An unknown error occurred during the operation.")
24 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:22:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
20 |                 if let error {
21 |                     Text(error.localizedDescription)
22 |                 } else {
   |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
23 |                     Text("An unknown error occurred during the operation.")
24 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/View+ErrorAlert.swift:19:24: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 7 | }
 8 |
 9 | private struct ErrorAlertViewModifier: ViewModifier {
   |                `- note: add '@available' attribute to enclosing struct
10 |     @Binding var isPresented: Bool
11 |     let error: Error?
12 |
13 |     func body(content: Content) -> some View {
   |          `- note: add '@available' attribute to enclosing instance method
14 |         content
15 |             .alert("Error Occurred", isPresented: $isPresented) {
   :
17 |                     isPresented = false
18 |                 }
19 |             } message: {
   |                        |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
20 |                 if let error {
21 |                     Text(error.localizedDescription)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:6:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:22:10: error: 'State' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            |- note: add '@available' attribute to enclosing generic struct
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
22 |         @State private var isModalPresented = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
23 |
24 |         init(_ title: String, content: Content) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:29:24: error: 'View' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
31 |                 isModalPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:19:43: error: 'View' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            |                              `- error: 'View' is only available in macOS 10.15 or newer
   |            |- note: add '@available' attribute to enclosing generic struct
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:9:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:9:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:11:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |         case .inline:
13 |             menuItem.content
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:11:13: error: 'NavigationLink' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
   |             |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |         case .inline:
13 |             menuItem.content
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:11:13: error: 'init(_:destination:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
   |             |- error: 'init(_:destination:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |         case .inline:
13 |             menuItem.content
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:11:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |         case .inline:
13 |             menuItem.content
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:11:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |         case .inline:
13 |             menuItem.content
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:11:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
 9 |             ModalPresentationView(menuItem.name.rawValue, content: menuItem.content)
10 |         case .push:
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |         case .inline:
13 |             menuItem.content
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:13:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
   :
11 |             NavigationLink(menuItem.name.rawValue, destination: menuItem.content)
12 |         case .inline:
13 |             menuItem.content
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
14 |         }
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:6:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ViewMenuItemView: View {
   |        `- note: add '@available' attribute to enclosing struct
 4 |     let menuItem: ViewMenuItem
 5 |
 6 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add '@available' attribute to enclosing property
 7 |         switch menuItem.presentationStyle {
 8 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:30:13: error: 'Button' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 isModalPresented = true
32 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:30:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 isModalPresented = true
32 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:31:17: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
31 |                 isModalPresented = true
   |                 |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
32 |             } label: {
33 |                 Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:33:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
31 |                 isModalPresented = true
32 |             } label: {
33 |                 Text(title)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
34 |             }
35 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:33:17: error: 'Text' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
31 |                 isModalPresented = true
32 |             } label: {
33 |                 Text(title)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
34 |             }
35 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:32:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
31 |                 isModalPresented = true
32 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
33 |                 Text(title)
34 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ViewMenuItemView.swift:35:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
17 |
18 | private extension ViewMenuItemView {
19 |     struct ModalPresentationView<Content: View>: View {
   |            `- note: add '@available' attribute to enclosing generic struct
20 |         private let title: String
21 |         private let content: Content
   :
27 |         }
28 |
29 |         var body: some View {
   |             `- note: add '@available' attribute to enclosing property
30 |             Button {
31 |                 isModalPresented = true
   :
33 |                 Text(title)
34 |             }
35 |             .sheet(isPresented: $isModalPresented) {
   |              |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
36 |                 content
37 |             }
[#ResultBuilderMethods]: <https://docs.swift.org/compiler/documentation/diagnostics/result-builder-methods>
[32/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 | }
[33/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 | }
[34/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 | }
[35/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 | }
[36/43] Compiling Spices Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/Storage.swift:6:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | protocol Storage: AnyObject, Preparable {
  |          `- note: add '@available' attribute to enclosing protocol
4 |     associatedtype Value
5 |     var value: Value { get set }
6 |     var publisher: AnyPublisher<Value, Never> { get }
  |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
  |         `- note: add '@available' attribute to enclosing property
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:14:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
12 |     }
13 |
14 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
15 |
16 |     private let initialValue: Value
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:18:38: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
16 |     private let initialValue: Value
17 |     private let setterMessage: String
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
   |                                      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:23:45: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
   |     `- note: add '@available' attribute to enclosing initializer
21 |         self.initialValue = initialValue
22 |         self.setterMessage = setterMessage
23 |         self.publisher = passthroughSubject.eraseToAnyPublisher()
   |                                             |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                             `- note: add 'if #available' version check
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:18:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:22:26: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 20 |     }
 21 |
 22 |     private let subject: CurrentValueSubject<Value, Never>
    |                          `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 23 |     private let preferredKey: String?
 24 |     private var read: (() -> Value)?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:48:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 46 |     private var backingValue: Value
 47 |     private let isValuesEqual: (Value, Value) -> Bool
 48 |     private var cancellables: Set<AnyCancellable> = []
    |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:19:17: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
    |                 |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 20 |     }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:53:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 48 |     private var cancellables: Set<AnyCancellable> = []
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 51 |         backingValue = value
 52 |         preferredKey = key
 53 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 54 |         isValuesEqual = { $0 == $1 }
 55 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:72:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 67 |     }
 68 |
 69 |     init(default value: Value, key: String?) where Value: RawRepresentable, Value.RawValue: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 70 |         backingValue = value
 71 |         preferredKey = key
 72 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 73 |         isValuesEqual = { $0.rawValue == $1.rawValue }
 74 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:92:14: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    |              |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:93:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 94 |             .sink { [weak self] _ in
 95 |                 guard let self, let read = self.read else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:94:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 95 |                 guard let self, let read = self.read else {
 96 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:106:14: error: 'store(in:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    :
104 |                 self.subject.send(value)
105 |             }
106 |             .store(in: &cancellables)
    |              |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
107 |     }
108 | }
[37/43] Compiling Spices ThrowingStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/Storage.swift:6:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | protocol Storage: AnyObject, Preparable {
  |          `- note: add '@available' attribute to enclosing protocol
4 |     associatedtype Value
5 |     var value: Value { get set }
6 |     var publisher: AnyPublisher<Value, Never> { get }
  |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
  |         `- note: add '@available' attribute to enclosing property
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:14:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
12 |     }
13 |
14 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
15 |
16 |     private let initialValue: Value
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:18:38: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
16 |     private let initialValue: Value
17 |     private let setterMessage: String
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
   |                                      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:23:45: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
   |     `- note: add '@available' attribute to enclosing initializer
21 |         self.initialValue = initialValue
22 |         self.setterMessage = setterMessage
23 |         self.publisher = passthroughSubject.eraseToAnyPublisher()
   |                                             |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                             `- note: add 'if #available' version check
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:18:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:22:26: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 20 |     }
 21 |
 22 |     private let subject: CurrentValueSubject<Value, Never>
    |                          `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 23 |     private let preferredKey: String?
 24 |     private var read: (() -> Value)?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:48:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 46 |     private var backingValue: Value
 47 |     private let isValuesEqual: (Value, Value) -> Bool
 48 |     private var cancellables: Set<AnyCancellable> = []
    |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:19:17: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
    |                 |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 20 |     }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:53:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 48 |     private var cancellables: Set<AnyCancellable> = []
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 51 |         backingValue = value
 52 |         preferredKey = key
 53 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 54 |         isValuesEqual = { $0 == $1 }
 55 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:72:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 67 |     }
 68 |
 69 |     init(default value: Value, key: String?) where Value: RawRepresentable, Value.RawValue: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 70 |         backingValue = value
 71 |         preferredKey = key
 72 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 73 |         isValuesEqual = { $0.rawValue == $1.rawValue }
 74 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:92:14: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    |              |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:93:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 94 |             .sink { [weak self] _ in
 95 |                 guard let self, let read = self.read else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:94:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 95 |                 guard let self, let read = self.read else {
 96 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:106:14: error: 'store(in:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    :
104 |                 self.subject.send(value)
105 |             }
106 |             .store(in: &cancellables)
    |              |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
107 |     }
108 | }
[38/43] Compiling Spices UserDefaultsStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/Storage.swift:6:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | protocol Storage: AnyObject, Preparable {
  |          `- note: add '@available' attribute to enclosing protocol
4 |     associatedtype Value
5 |     var value: Value { get set }
6 |     var publisher: AnyPublisher<Value, Never> { get }
  |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
  |         `- note: add '@available' attribute to enclosing property
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:14:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
12 |     }
13 |
14 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
15 |
16 |     private let initialValue: Value
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:18:38: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
16 |     private let initialValue: Value
17 |     private let setterMessage: String
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
   |                                      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:23:45: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
   |     `- note: add '@available' attribute to enclosing initializer
21 |         self.initialValue = initialValue
22 |         self.setterMessage = setterMessage
23 |         self.publisher = passthroughSubject.eraseToAnyPublisher()
   |                                             |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                             `- note: add 'if #available' version check
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:18:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:22:26: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 20 |     }
 21 |
 22 |     private let subject: CurrentValueSubject<Value, Never>
    |                          `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 23 |     private let preferredKey: String?
 24 |     private var read: (() -> Value)?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:48:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 46 |     private var backingValue: Value
 47 |     private let isValuesEqual: (Value, Value) -> Bool
 48 |     private var cancellables: Set<AnyCancellable> = []
    |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:19:17: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
    |                 |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 20 |     }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:53:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 48 |     private var cancellables: Set<AnyCancellable> = []
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 51 |         backingValue = value
 52 |         preferredKey = key
 53 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 54 |         isValuesEqual = { $0 == $1 }
 55 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:72:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 67 |     }
 68 |
 69 |     init(default value: Value, key: String?) where Value: RawRepresentable, Value.RawValue: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 70 |         backingValue = value
 71 |         preferredKey = key
 72 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 73 |         isValuesEqual = { $0.rawValue == $1.rawValue }
 74 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:92:14: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    |              |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:93:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 94 |             .sink { [weak self] _ in
 95 |                 guard let self, let read = self.read else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:94:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 95 |                 guard let self, let read = self.read else {
 96 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:106:14: error: 'store(in:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    :
104 |                 self.subject.send(value)
105 |             }
106 |             .store(in: &cancellables)
    |              |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
107 |     }
108 | }
[39/43] Compiling Spices String+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/Storage.swift:6:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | protocol Storage: AnyObject, Preparable {
  |          `- note: add '@available' attribute to enclosing protocol
4 |     associatedtype Value
5 |     var value: Value { get set }
6 |     var publisher: AnyPublisher<Value, Never> { get }
  |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
  |         `- note: add '@available' attribute to enclosing property
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:14:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
12 |     }
13 |
14 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
15 |
16 |     private let initialValue: Value
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:18:38: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
16 |     private let initialValue: Value
17 |     private let setterMessage: String
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
   |                                      `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/ThrowingStorage.swift:23:45: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class ThrowingStorage<Value>: Storage {
   |             `- note: add '@available' attribute to enclosing generic class
 4 |     var value: Value {
 5 |         get {
   :
18 |     private let passthroughSubject = PassthroughSubject<Value, Never>()
19 |
20 |     init(default initialValue: Value, setterMessage: String) {
   |     `- note: add '@available' attribute to enclosing initializer
21 |         self.initialValue = initialValue
22 |         self.setterMessage = setterMessage
23 |         self.publisher = passthroughSubject.eraseToAnyPublisher()
   |                                             |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                             `- note: add 'if #available' version check
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:18:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
 20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:22:26: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 20 |     }
 21 |
 22 |     private let subject: CurrentValueSubject<Value, Never>
    |                          `- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
 23 |     private let preferredKey: String?
 24 |     private var read: (() -> Value)?
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:48:35: error: 'AnyCancellable' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 46 |     private var backingValue: Value
 47 |     private let isValuesEqual: (Value, Value) -> Bool
 48 |     private var cancellables: Set<AnyCancellable> = []
    |                                   `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:19:17: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 16 |         }
 17 |     }
 18 |     var publisher: AnyPublisher<Value, Never> {
    |         `- note: add '@available' attribute to enclosing property
 19 |         subject.eraseToAnyPublisher()
    |                 |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 20 |     }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:53:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 48 |     private var cancellables: Set<AnyCancellable> = []
 49 |
 50 |     init(default value: Value, key: String?) where Value: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 51 |         backingValue = value
 52 |         preferredKey = key
 53 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 54 |         isValuesEqual = { $0 == $1 }
 55 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:72:19: error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
  2 | import Foundation
  3 |
  4 | final class UserDefaultsStorage<Value>: Storage {
    |             `- note: add '@available' attribute to enclosing generic class
  5 |     var value: Value {
  6 |         get {
    :
 67 |     }
 68 |
 69 |     init(default value: Value, key: String?) where Value: RawRepresentable, Value.RawValue: Equatable {
    |     `- note: add '@available' attribute to enclosing initializer
 70 |         backingValue = value
 71 |         preferredKey = key
 72 |         subject = CurrentValueSubject(value)
    |                   |- error: 'CurrentValueSubject' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 73 |         isValuesEqual = { $0.rawValue == $1.rawValue }
 74 |         read = { [weak self] in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:92:14: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    |              |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:93:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 94 |             .sink { [weak self] _ in
 95 |                 guard let self, let read = self.read else {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:94:14: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
 93 |             .receive(on: DispatchQueue.main)
 94 |             .sink { [weak self] _ in
    |              |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 95 |                 guard let self, let read = self.read else {
 96 |                     return
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/UserDefaultsStorage.swift:106:14: error: 'store(in:)' is only available in macOS 10.15 or newer
 87 | }
 88 |
 89 | private extension UserDefaultsStorage {
    |         `- note: add '@available' attribute to enclosing extension
 90 |     private func observeUserDefaults() {
    |                  `- note: add '@available' attribute to enclosing instance method
 91 |         NotificationCenter.default
 92 |             .publisher(for: UserDefaults.didChangeNotification)
    :
104 |                 self.subject.send(value)
105 |             }
106 |             .store(in: &cancellables)
    |              |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
107 |     }
108 | }
[40/43] Compiling Spices SpiceEditorWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:29:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
 27 | /// }
 28 | /// ```
 29 | public protocol SpiceStore: AnyObject, ObservableObject {
    |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 30 |     /// The `UserDefaults` instance used for persisting settings.
 31 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:127:46: error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
 63 | }
 64 |
 65 | extension SpiceStore {
    | `- note: add '@available' attribute to enclosing extension
 66 |     var id: String {
 67 |         if let value = objc_getAssociatedObject(self, &idKey) as? String {
    :
124 |     }
125 |
126 |     func publishObjectWillChange() {
    |          `- note: add '@available' attribute to enclosing instance method
127 |         let publisher = objectWillChange as? ObservableObjectPublisher
    |                                              |- error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
128 |         publisher?.send()
129 |         parent?.publishObjectWillChange()
[41/43] Compiling Spices SpiceStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:29:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
 27 | /// }
 28 | /// ```
 29 | public protocol SpiceStore: AnyObject, ObservableObject {
    |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 30 |     /// The `UserDefaults` instance used for persisting settings.
 31 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:127:46: error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
 63 | }
 64 |
 65 | extension SpiceStore {
    | `- note: add '@available' attribute to enclosing extension
 66 |     var id: String {
 67 |         if let value = objc_getAssociatedObject(self, &idKey) as? String {
    :
124 |     }
125 |
126 |     func publishObjectWillChange() {
    |          `- note: add '@available' attribute to enclosing instance method
127 |         let publisher = objectWillChange as? ObservableObjectPublisher
    |                                              |- error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
128 |         publisher?.send()
129 |         parent?.publishObjectWillChange()
[42/43] Compiling Spices SpicesTitleProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:29:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
 27 | /// }
 28 | /// ```
 29 | public protocol SpiceStore: AnyObject, ObservableObject {
    |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 30 |     /// The `UserDefaults` instance used for persisting settings.
 31 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:127:46: error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
 63 | }
 64 |
 65 | extension SpiceStore {
    | `- note: add '@available' attribute to enclosing extension
 66 |     var id: String {
 67 |         if let value = objc_getAssociatedObject(self, &idKey) as? String {
    :
124 |     }
125 |
126 |     func publishObjectWillChange() {
    |          `- note: add '@available' attribute to enclosing instance method
127 |         let publisher = objectWillChange as? ObservableObjectPublisher
    |                                              |- error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
128 |         publisher?.send()
129 |         parent?.publishObjectWillChange()
[43/43] Compiling Spices View+SpiceEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:29:40: error: 'ObservableObject' is only available in macOS 10.15 or newer
 27 | /// }
 28 | /// ```
 29 | public protocol SpiceStore: AnyObject, ObservableObject {
    |                 |                      `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |                 `- note: add '@available' attribute to enclosing protocol
 30 |     /// The `UserDefaults` instance used for persisting settings.
 31 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceStore.swift:127:46: error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
 63 | }
 64 |
 65 | extension SpiceStore {
    | `- note: add '@available' attribute to enclosing extension
 66 |     var id: String {
 67 |         if let value = objc_getAssociatedObject(self, &idKey) as? String {
    :
124 |     }
125 |
126 |     func publishObjectWillChange() {
    |          `- note: add '@available' attribute to enclosing instance method
127 |         let publisher = objectWillChange as? ObservableObjectPublisher
    |                                              |- error: 'ObservableObjectPublisher' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
128 |         publisher?.send()
129 |         parent?.publishObjectWillChange()
BUILD FAILURE 6.2 macosSpm