The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Spices, reference main (a807bc), with Swift 6.0 for macOS (SPM) on 21 May 2025 10:53:18 UTC.

Build Command

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

Build Log

   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
57 |
58 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:58:24: error: 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:10:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
11 |         case .push:
12 |             NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'NavigationLink' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:15:17: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
15 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
16 |             }
17 |         case let .inline(header, footer):
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:14:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
12 |             NavigationLink {
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
15 |                 Text(menuItem.name.rawValue)
16 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:12:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
10 |             ModalPresentationView(menuItem: menuItem)
11 |         case .push:
12 |             NavigationLink {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
13 |                 ChildMenuItemListView(menuItem: menuItem, dismiss: dismiss)
14 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'Section' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'Section' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'init(content:header:footer:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:25:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
23 |             } header: {
24 |                 if let header {
25 |                     Text(header)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                 }
27 |             } footer: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:24:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
22 |                 )
23 |             } header: {
24 |                 if let header {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
25 |                     Text(header)
26 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:26:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
24 |                 if let header {
25 |                     Text(header)
26 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
27 |             } footer: {
28 |                 if let footer {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:23:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
21 |                     dismiss: dismiss
22 |                 )
23 |             } header: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
24 |                 if let header {
25 |                     Text(header)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:29:21: error: 'Text' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
27 |             } footer: {
28 |                 if let footer {
29 |                     Text(footer)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
30 |                 }
31 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:28:31: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
26 |                 }
27 |             } footer: {
28 |                 if let footer {
   |                               |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
29 |                     Text(footer)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:30:17: error: 'buildIf' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
28 |                 if let footer {
29 |                     Text(footer)
30 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
31 |             }
32 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:27:23: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
25 |                     Text(header)
26 |                 }
27 |             } footer: {
   |                       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
28 |                 if let footer {
29 |                     Text(footer)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:18:13: error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
   :
16 |             }
17 |         case let .inline(header, footer):
18 |             Section {
   |             |- error: conformance of 'Section<Parent, Content, Footer>' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
19 |                 MenuItemListContent(
20 |                     menuItems: menuItem.spiceStore.menuItems,
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:7:25: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct ChildSpiceStoreMenuItemView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItem: ChildSpiceStoreMenuItem
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         switch menuItem.presentationStyle {
 9 |         case .modal:
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:47:14: error: 'navigationBarTitleDisplayMode' is unavailable in macOS
45 |                 dismiss: dismiss
46 |             )
47 |             .navigationBarTitleDisplayMode(.inline)
   |              `- error: 'navigationBarTitleDisplayMode' is unavailable in macOS
48 |         }
49 |     }
SwiftUI.View:5:29: note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | extension View {
5 |     nonisolated public func navigationBarTitleDisplayMode(_ displayMode: NavigationBarItem.TitleDisplayMode) -> some View
  |                             `- note: 'navigationBarTitleDisplayMode' has been explicitly marked unavailable here
6 |
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: 'Button' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:59:13: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
   |             |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |                 isModalPresented = true
61 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:60:17: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   |                 |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:62:17: error: 'Text' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
62 |                 Text(menuItem.name.rawValue)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:61:22: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
61 |             } label: {
   |                      |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
62 |                 Text(menuItem.name.rawValue)
63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:64:14: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
62 |                 Text(menuItem.name.rawValue)
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
   |              |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:65:17: error: 'NavigationView' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
63 |             }
64 |             .sheet(isPresented: $isModalPresented) {
65 |                 NavigationView {
   |                 |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/ChildSpiceStoreMenuItemView.swift:67:25: error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
51 |
52 | private extension ChildSpiceStoreMenuItemView {
53 |     struct ModalPresentationView: View {
   |            `- note: add @available attribute to enclosing struct
54 |         let menuItem: ChildSpiceStoreMenuItem
55 |
56 |         @State private var isModalPresented = false
57 |
58 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
59 |             Button {
60 |                 isModalPresented = true
   :
65 |                 NavigationView {
66 |                     ChildMenuItemListView(menuItem: menuItem) {
67 |                         isModalPresented = false
   |                         |- error: setter for 'isModalPresented' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
68 |                     }
69 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'ForEach' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'ForEach' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:8:9: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
   |         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListContent.swift:7:25: error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListContent: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     let menuItems: [MenuItem]
 5 |     let dismiss: () -> Void
 6 |
 7 |     var body: some View {
   |         |               |- error: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
   |         |               `- note: add 'if #available' version check
   |         `- note: add @available attribute to enclosing property
 8 |         ForEach(menuItems, id: \.id) { menuItem in
 9 |             MenuItemView(menuItem: menuItem, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:4:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 5 |     private let title: String
 6 |     private let menuItems: [MenuItem]
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | struct MenuItemListView: View {
   |        `- note: add @available attribute to enclosing struct
 4 |     @EnvironmentObject private var userInteraction: UserInteraction
 5 |     private let title: String
   :
13 |     }
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         Form {
17 |             MenuItemListContent(menuItems: menuItems, dismiss: dismiss)
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Views/MenuItemListView.swift:21:10: error: ambiguous use of 'toolbar(content:)'
19 |         .disabled(!userInteraction.isEnabled)
20 |         .navigationTitle(title)
21 |         .toolbar {
   |          `- error: ambiguous use of 'toolbar(content:)'
22 |             ToolbarItem(placement: .primaryAction) {
23 |                 Button {
SwiftUI.View:3:29: note: found this candidate in module 'SwiftUI'
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | extension View {
3 |     nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
  |                             `- note: found this candidate in module 'SwiftUI'
4 |
5 |     nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
  |                             `- note: found this candidate in module 'SwiftUI'
6 |
7 |     nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
[32/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 | }
[33/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 | }
[34/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 | }
[35/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 | }
[36/43] Compiling Spices PresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
[37/43] Compiling Spices Spice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
[38/43] Compiling Spices SpiceEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
[39/43] Compiling Spices SpiceEditorViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:77:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
 75 |     /// }
 76 |     /// ```
 77 |     public var projectedValue: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 78 |         storage.publisher
 79 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:57: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                                            `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:340:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:96: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                                                                                   `- error: 'AnyView' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:363:36: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            |                       `- error: 'View' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:397:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
397 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:394:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
395 |         name: String? = nil,
396 |         presentation: ModalPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:431:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
431 |     ) where Value == AnyView {
    |                      `- error: 'AnyView' is only available in macOS 10.15 or newer
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:428:28: error: 'View' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
    |                            `- error: 'View' is only available in macOS 10.15 or newer
429 |         name: String? = nil,
430 |         presentation: PushPresentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:343:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
343 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
344 |             setterMessage: "Cannot assign new reference to a custom view spice."
345 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:349:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
338 |     /// - Parameters:
339 |     ///   - wrappedValue: The custom view to embed.
340 |     public init(wrappedValue: some View) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
341 |         self.name = Name(nil)
342 |         self.storage = AnyStorage(ThrowingStorage(
    :
347 |             name: self.name,
348 |             presentationStyle: .inline,
349 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
350 |         )
351 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:366:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
366 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
367 |             setterMessage: "Cannot assign new reference to a custom view spice."
368 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:372:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
361 |     ///   - wrappedValue: The custom view to embed.
362 |     ///   - presentation: Presentation style of the custom view.
363 |     public init(wrappedValue: some View, presentation: InlinePresentationStyle) where Value == AnyView {
    |            `- note: add @available attribute to enclosing initializer
364 |         self.name = Name(nil)
365 |         self.storage = AnyStorage(ThrowingStorage(
    :
370 |             name: self.name,
371 |             presentationStyle: .inline,
372 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
373 |         )
374 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:400:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
398 |         self.name = Name(name)
399 |         self.storage = AnyStorage(ThrowingStorage(
400 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
401 |             setterMessage: "Cannot assign new reference to a custom view spice."
402 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:406:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
391 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
392 |     ///   - presentation: Presentation style of the custom view.
393 |     public init(
    |            `- note: add @available attribute to enclosing initializer
394 |         wrappedValue: some View,
395 |         name: String? = nil,
    :
404 |             name: self.name,
405 |             presentationStyle: .modal,
406 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
407 |         )
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:434:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
432 |         self.name = Name(name)
433 |         self.storage = AnyStorage(ThrowingStorage(
434 |             default: AnyView(wrappedValue),
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
435 |             setterMessage: "Cannot assign new reference to a custom view spice."
436 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Spice.swift:440:22: error: 'AnyView' is only available in macOS 10.15 or newer
 52 | /// }
 53 | /// ```
 54 | @propertyWrapper public struct Spice<Value> {
    |                                `- note: add @available attribute to enclosing generic struct
 55 |     /// Type alias for a synchronous button handler.
 56 |     public typealias ButtonHandler = () throws -> Void
    :
425 |     ///   - name: The display name of the spice store. Defaults to a formatted version of the property name.
426 |     ///   - presentation: Presentation style of the custom view.
427 |     public init(
    |            `- note: add @available attribute to enclosing initializer
428 |         wrappedValue: some View,
429 |         name: String? = nil,
    :
438 |             name: self.name,
439 |             presentationStyle: .push,
440 |             content: AnyView(wrappedValue)
    |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
441 |         )
442 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:20: error: 'dismiss' is only available in macOS 12.0 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |                    `- error: 'dismiss' is only available in macOS 12.0 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:46:6: error: 'Environment' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
46 |     @Environment(\.dismiss) private var dismiss
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
47 |
48 |     /// Initializes a `SpiceEditor` with a ``SpiceStore``.
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:66:27: error: 'View' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:67:9: error: 'NavigationView' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
69 |                 dismiss()
/Users/admin/builder/spi-builder-workspace/Sources/Spices/SpiceEditor.swift:73:10: error: 'environmentObject' is only available in macOS 10.15 or newer
41 | /// }
42 | /// ```
43 | public struct SpiceEditor: View {
   |               `- note: add @available attribute to enclosing struct
44 |     private let title: String
45 |     private let spiceStore: any SpiceStore
   :
64 |
65 |     /// The content of the view.
66 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
67 |         NavigationView {
68 |             MenuItemListView(items: spiceStore.menuItems, title: title) {
   :
71 |         }
72 |         .configureSheetPresentation()
73 |         .environmentObject(UserInteraction())
   |          |- error: 'environmentObject' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
74 |     }
75 | }
[40/43] Compiling Spices ViewMenuItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
[41/43] Compiling Spices Name.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
[42/43] Compiling Spices Preparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
[43/43] Compiling Spices AnyStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:14:18: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
12 |     let name: Name
13 |     let presentationStyle: PresentationStyle
14 |     let content: AnyView
   |                  `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/MenuItems/ViewMenuItem.swift:16:69: error: 'AnyView' is only available in macOS 10.15 or newer
 2 | import SwiftUI
 3 |
 4 | final class ViewMenuItem: MenuItem {
   |             `- note: add @available attribute to enclosing class
 5 |     enum PresentationStyle {
 6 |         case modal
   :
14 |     let content: AnyView
15 |
16 |     init(name: Name, presentationStyle: PresentationStyle, content: AnyView) {
   |     |                                                               `- error: 'AnyView' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
17 |         self.name = name
18 |         self.presentationStyle = presentationStyle
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:5:20: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
   |                    `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 6 |     var value: Value {
 7 |         get {
/Users/admin/builder/spi-builder-workspace/Sources/Spices/Internal/Storage/AnyStorage.swift:11:13: error: 'objectWillChange' is only available in macOS 10.15 or newer
 1 | import Combine
 2 |
 3 | final class AnyStorage<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 4 |     private(set) var isPrepared = false
 5 |     let publisher: AnyPublisher<Value, Never>
 6 |     var value: Value {
   |         `- note: add @available attribute to enclosing property
 7 |         get {
 8 |             read()
 9 |         }
10 |         set {
11 |             objectWillChange.send()
   |             |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
12 |             write(newValue)
13 |         }
BUILD FAILURE 6.0 macosSpm