The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Panel, reference main (bfe901), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 05:41:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reddavis/Panel.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/reddavis/Panel
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bfe901a Add MIT license
Cloned https://github.com/reddavis/Panel.git
Revision (git rev-parse @):
bfe901a469173830df9bbd2660169626760c7eea
SUCCESS checkout https://github.com/reddavis/Panel.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "panel",
      "name": "Panel",
      "url": "https://github.com/reddavis/Panel.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Panel",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/reddavis/Panel.git
[1/51] Fetching panel
Fetched https://github.com/reddavis/Panel.git from cache (0.68s)
Creating working copy for https://github.com/reddavis/Panel.git
Working copy of https://github.com/reddavis/Panel.git resolved at main (bfe901a)
warning: '.resolve-product-dependencies': dependency 'panel' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/reddavis/Panel.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling Panel AnimationCompletionObserverModifier.swift
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:28:41: error: 'View' is only available in macOS 10.15 or newer
 3 |
 4 | // Thanks to https://www.avanderlee.com/swiftui/withanimation-completion-callback/
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
   |        `- note: add @available attribute to enclosing generic struct
 6 | {
 7 |     var animatableData: Value {
   :
26 |     // MARK: Body
27 |
28 |     func body(content: Content) -> some View { content }
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
29 |
30 |     // MARK: Helpers
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:5:84: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
 3 |
 4 | // Thanks to https://www.avanderlee.com/swiftui/withanimation-completion-callback/
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
   |        |                                                                           `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 6 | {
 7 |     var animatableData: Value {
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:7:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
 6 | {
 7 |     var animatableData: Value {
   |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 8 |         didSet {
 9 |             self.callCompletionIfFinished()
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:48:39: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
44 | // MARK: View
45 |
46 | extension View
   | `- note: add @available attribute to enclosing extension
47 | {
48 |     func onAnimationCompletion<Value: VectorArithmetic>(
   |          |                            `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
49 |         with value: Value,
50 |         onComplete: @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:51:10: error: 'ModifiedContent' is only available in macOS 10.15 or newer
44 | // MARK: View
45 |
46 | extension View
   | `- note: add @available attribute to enclosing extension
47 | {
48 |     func onAnimationCompletion<Value: VectorArithmetic>(
   |          `- note: add @available attribute to enclosing instance method
49 |         with value: Value,
50 |         onComplete: @escaping () -> Void
51 |     ) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>>
   |          `- error: 'ModifiedContent' is only available in macOS 10.15 or newer
52 |     {
53 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:46:11: error: 'View' is only available in macOS 10.15 or newer
44 | // MARK: View
45 |
46 | extension View
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
47 | {
48 |     func onAnimationCompletion<Value: VectorArithmetic>(
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:36:9: error: 'Task' is only available in macOS 10.15 or newer
 3 |
 4 | // Thanks to https://www.avanderlee.com/swiftui/withanimation-completion-callback/
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
   |        `- note: add @available attribute to enclosing generic struct
 6 | {
 7 |     var animatableData: Value {
   :
30 |     // MARK: Helpers
31 |
32 |     private func callCompletionIfFinished()
   |                  `- note: add @available attribute to enclosing instance method
33 |     {
34 |         guard self.animatableData == self.targetValue else { return }
35 |
36 |         Task {
   |         |- error: 'Task' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             self.onComplete()
38 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:36:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 3 |
 4 | // Thanks to https://www.avanderlee.com/swiftui/withanimation-completion-callback/
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
   |        `- note: add @available attribute to enclosing generic struct
 6 | {
 7 |     var animatableData: Value {
   :
30 |     // MARK: Helpers
31 |
32 |     private func callCompletionIfFinished()
   |                  `- note: add @available attribute to enclosing instance method
33 |     {
34 |         guard self.animatableData == self.targetValue else { return }
35 |
36 |         Task {
   |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             self.onComplete()
38 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:53:14: error: 'modifier' is only available in macOS 10.15 or newer
44 | // MARK: View
45 |
46 | extension View
   | `- note: add @available attribute to enclosing extension
47 | {
48 |     func onAnimationCompletion<Value: VectorArithmetic>(
   |          `- note: add @available attribute to enclosing instance method
49 |         with value: Value,
50 |         onComplete: @escaping () -> Void
51 |     ) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>>
52 |     {
53 |         self.modifier(
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |             AnimationCompletionObserverModifier(
55 |                 observedValue: value,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module Panel
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:28:41: error: 'View' is only available in macOS 10.15 or newer
 3 |
 4 | // Thanks to https://www.avanderlee.com/swiftui/withanimation-completion-callback/
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
   |        `- note: add @available attribute to enclosing generic struct
 6 | {
 7 |     var animatableData: Value {
   :
26 |     // MARK: Body
27 |
28 |     func body(content: Content) -> some View { content }
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
29 |
30 |     // MARK: Helpers
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:5:84: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
 3 |
 4 | // Thanks to https://www.avanderlee.com/swiftui/withanimation-completion-callback/
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
   |        |                                                                           `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
 6 | {
 7 |     var animatableData: Value {
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:7:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 5 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic
 6 | {
 7 |     var animatableData: Value {
   |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 8 |         didSet {
 9 |             self.callCompletionIfFinished()
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:48:39: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
44 | // MARK: View
45 |
46 | extension View
   | `- note: add @available attribute to enclosing extension
47 | {
48 |     func onAnimationCompletion<Value: VectorArithmetic>(
   |          |                            `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
49 |         with value: Value,
50 |         onComplete: @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:51:10: error: 'ModifiedContent' is only available in macOS 10.15 or newer
44 | // MARK: View
45 |
46 | extension View
   | `- note: add @available attribute to enclosing extension
47 | {
48 |     func onAnimationCompletion<Value: VectorArithmetic>(
   |          `- note: add @available attribute to enclosing instance method
49 |         with value: Value,
50 |         onComplete: @escaping () -> Void
51 |     ) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>>
   |          `- error: 'ModifiedContent' is only available in macOS 10.15 or newer
52 |     {
53 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Panel/Source/AnimationCompletionObserverModifier.swift:46:11: error: 'View' is only available in macOS 10.15 or newer
44 | // MARK: View
45 |
46 | extension View
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
47 | {
48 |     func onAnimationCompletion<Value: VectorArithmetic>(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:12:49: error: 'EmptyView' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 10 |     private let onCancel: (() -> Void)?
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
    |                                                 `- error: 'EmptyView' is only available in macOS 10.15 or newer
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
  8 |     @Binding private var item: Item?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  9 |     private let contentBuilder: (_ item: Item) -> PanelContent
 10 |     private let onCancel: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:12:33: error: 'AnyView' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 10 |     private let onCancel: (() -> Void)?
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
    |                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 10 |     private let onCancel: (() -> Void)?
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
    |      `- error: 'State' is only available in macOS 10.15 or newer
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
 13 |     @State private var panelHeight = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |     @State private var isPresented = false
 15 |     @State private var panelOpenAnimationProgress = 0.0
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 12 |     @State private var content: AnyView = .init(EmptyView())
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |     @State private var panelOpenAnimationProgress = 0.0
 16 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
 15 |     @State private var panelOpenAnimationProgress = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 |     private var panelSpringResponse: Double {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:34:15: error: 'Binding' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 31 |     ///   button will be added to the panel.
 32 |     ///   - contentBuilder: A closure returning the content of the panel.
 33 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 34 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 35 |         onCancel: (() -> Void)? = nil,
 36 |         @ViewBuilder contentBuilder: @escaping (_ item: Item) -> PanelContent
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:36:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 31 |     ///   button will be added to the panel.
 32 |     ///   - contentBuilder: A closure returning the content of the panel.
 33 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 34 |         item: Binding<Item?>,
 35 |         onCancel: (() -> Void)? = nil,
 36 |         @ViewBuilder contentBuilder: @escaping (_ item: Item) -> PanelContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 37 |     )
 38 |     {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:47:48: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:108:39: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  |                    `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:124:41: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  |                      `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:5:27: error: 'Identifiable' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               |           `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:5:55: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:184:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | {
183 |     typealias Value = Double
184 |     static var defaultValue = 0.0
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 |     static func reduce(value: inout Value, nextValue: () -> Value)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:198:31: error: 'View' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:13:22: error: 'Identifiable' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          |           `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:13:45: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:14:15: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
   |               `- error: 'Binding' is only available in macOS 10.15 or newer
15 |         onCancel: (() -> Void)? = nil,
16 |         @ViewBuilder content: @escaping (_ item: Item) -> Content
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:16:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
16 |         @ViewBuilder content: @escaping (_ item: Item) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
17 |     ) -> some View where Item: Equatable
18 |     {
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:17:15: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
16 |         @ViewBuilder content: @escaping (_ item: Item) -> Content
17 |     ) -> some View where Item: Equatable
   |               `- error: 'View' is only available in macOS 10.15 or newer
18 |     {
19 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
[5/6] Compiling Panel View+Panel.swift
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:13:22: error: 'Identifiable' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          |           `- error: 'Identifiable' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:13:45: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:14:15: error: 'Binding' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
   |               `- error: 'Binding' is only available in macOS 10.15 or newer
15 |         onCancel: (() -> Void)? = nil,
16 |         @ViewBuilder content: @escaping (_ item: Item) -> Content
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:16:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
16 |         @ViewBuilder content: @escaping (_ item: Item) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
17 |     ) -> some View where Item: Equatable
18 |     {
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:17:15: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
16 |         @ViewBuilder content: @escaping (_ item: Item) -> Content
17 |     ) -> some View where Item: Equatable
   |               `- error: 'View' is only available in macOS 10.15 or newer
18 |     {
19 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:4:18: error: 'View' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:19:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
   :
17 |     ) -> some View where Item: Equatable
18 |     {
19 |         self.modifier(
   |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |              `- note: add 'if #available' version check
20 |             Panel(
21 |                 item: item,
/Users/admin/builder/spi-builder-workspace/Panel/Source/View+Panel.swift:19:14: error: 'modifier' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | public extension View
   |        `- note: add @available attribute to enclosing extension
 5 | {
 6 |     /// Presents a panel using the given item as a data source for the panel's content.
   :
11 |     ///   button will be added to the panel.
12 |     ///   - content: A closure returning the content of the panel.
13 |     func panel<Item: Identifiable, Content: View>(
   |          `- note: add @available attribute to enclosing instance method
14 |         item: Binding<Item?>,
15 |         onCancel: (() -> Void)? = nil,
   :
17 |     ) -> some View where Item: Equatable
18 |     {
19 |         self.modifier(
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
20 |             Panel(
21 |                 item: item,
[6/6] Compiling Panel Panel.swift
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:12:49: error: 'EmptyView' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 10 |     private let onCancel: (() -> Void)?
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
    |                                                 `- error: 'EmptyView' is only available in macOS 10.15 or newer
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:8:6: error: 'Binding' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
  8 |     @Binding private var item: Item?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
  9 |     private let contentBuilder: (_ item: Item) -> PanelContent
 10 |     private let onCancel: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:12:33: error: 'AnyView' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 10 |     private let onCancel: (() -> Void)?
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
    |                                 `- error: 'AnyView' is only available in macOS 10.15 or newer
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 10 |     private let onCancel: (() -> Void)?
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
    |      `- error: 'State' is only available in macOS 10.15 or newer
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 11 |
 12 |     @State private var content: AnyView = .init(EmptyView())
 13 |     @State private var panelHeight = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |     @State private var isPresented = false
 15 |     @State private var panelOpenAnimationProgress = 0.0
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 12 |     @State private var content: AnyView = .init(EmptyView())
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |     @State private var panelOpenAnimationProgress = 0.0
 16 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 13 |     @State private var panelHeight = 0.0
 14 |     @State private var isPresented = false
 15 |     @State private var panelOpenAnimationProgress = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 |     private var panelSpringResponse: Double {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:34:15: error: 'Binding' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 31 |     ///   button will be added to the panel.
 32 |     ///   - contentBuilder: A closure returning the content of the panel.
 33 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 34 |         item: Binding<Item?>,
    |               `- error: 'Binding' is only available in macOS 10.15 or newer
 35 |         onCancel: (() -> Void)? = nil,
 36 |         @ViewBuilder contentBuilder: @escaping (_ item: Item) -> PanelContent
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:36:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 31 |     ///   button will be added to the panel.
 32 |     ///   - contentBuilder: A closure returning the content of the panel.
 33 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 34 |         item: Binding<Item?>,
 35 |         onCancel: (() -> Void)? = nil,
 36 |         @ViewBuilder contentBuilder: @escaping (_ item: Item) -> PanelContent
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 37 |     )
 38 |     {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:47:48: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:108:39: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  |                    `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:124:41: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  |                      `- error: 'View' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:5:27: error: 'Identifiable' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               |           `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:5:55: error: 'View' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               |                                       `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:184:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 | {
183 |     typealias Value = Double
184 |     static var defaultValue = 0.0
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 |     static func reduce(value: inout Value, nextValue: () -> Value)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:198:31: error: 'View' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:40:29: error: 'State' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 31 |     ///   button will be added to the panel.
 32 |     ///   - contentBuilder: A closure returning the content of the panel.
 33 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 34 |         item: Binding<Item?>,
 35 |         onCancel: (() -> Void)? = nil,
    :
 38 |     {
 39 |         self._item = item
 40 |         self._isPresented = State(initialValue: item.wrappedValue != nil)
    |                             |- error: 'State' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 41 |         self.contentBuilder = contentBuilder
 42 |         self.onCancel = onCancel
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:49:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 50 |             content
 51 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:49:9: error: 'ZStack' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 50 |             content
 51 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:52:13: error: 'ZStack' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
 50 |             content
 51 |
 52 |             ZStack(alignment: .bottom) {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 53 |                 self.background()
 54 |                 self.panelContent()
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:52:32: error: 'bottom' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
 50 |             content
 51 |
 52 |             ZStack(alignment: .bottom) {
    |                                |- error: 'bottom' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 53 |                 self.background()
 54 |                 self.panelContent()
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:56:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
    :
 54 |                 self.panelContent()
 55 |             }
 56 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 57 |             .ignoresSafeArea()
 58 |             .onChange(of: self.item) { item in
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:57:14: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
    :
 55 |             }
 56 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
 57 |             .ignoresSafeArea()
    |              |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
 58 |             .onChange(of: self.item) { item in
 59 |                 if let item = item
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:58:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
    :
 56 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
 57 |             .ignoresSafeArea()
 58 |             .onChange(of: self.item) { item in
    |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
 59 |                 if let item = item
 60 |                 {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:77:10: warning: conformance of 'Double' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
 49 |         ZStack {
    :
 75 |             }
 76 |         }
 77 |         .onAnimationCompletion(with: self.panelOpenAnimationProgress) {
    |          |- warning: conformance of 'Double' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |          `- note: add 'if #available' version check
 78 |             guard let item = self.item,
 79 |                   !self.isPresented else { return }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:48:5: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 45 |     // MARK: Body
 46 |
 47 |     public func body(content: Content) -> some View
    |                 `- note: add @available attribute to enclosing instance method
 48 |     {
    |     |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |     `- note: add 'if #available' version check
 49 |         ZStack {
 50 |             content
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:88:9: error: setter for 'content' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 84 |     // MARK: Panel management
 85 |
 86 |     private func presentPanel(for item: Item)
    |                  `- note: add @available attribute to enclosing instance method
 87 |     {
 88 |         self.content = AnyView(self.contentBuilder(item))
    |         |- error: setter for 'content' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 89 |
 90 |         Task {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:88:24: error: 'AnyView' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 84 |     // MARK: Panel management
 85 |
 86 |     private func presentPanel(for item: Item)
    |                  `- note: add @available attribute to enclosing instance method
 87 |     {
 88 |         self.content = AnyView(self.contentBuilder(item))
    |                        |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 89 |
 90 |         Task {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:90:9: error: 'Task' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 84 |     // MARK: Panel management
 85 |
 86 |     private func presentPanel(for item: Item)
    |                  `- note: add @available attribute to enclosing instance method
 87 |     {
 88 |         self.content = AnyView(self.contentBuilder(item))
 89 |
 90 |         Task {
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 91 |             withAnimation {
 92 |                 self.isPresented = true
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:90:9: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 84 |     // MARK: Panel management
 85 |
 86 |     private func presentPanel(for item: Item)
    |                  `- note: add @available attribute to enclosing instance method
 87 |     {
 88 |         self.content = AnyView(self.contentBuilder(item))
 89 |
 90 |         Task {
    |         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 91 |             withAnimation {
 92 |                 self.isPresented = true
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:91:13: error: 'withAnimation' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 84 |     // MARK: Panel management
 85 |
 86 |     private func presentPanel(for item: Item)
    |                  `- note: add @available attribute to enclosing instance method
 87 |     {
 88 |         self.content = AnyView(self.contentBuilder(item))
 89 |
 90 |         Task {
 91 |             withAnimation {
    |             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 92 |                 self.isPresented = true
 93 |                 self.panelOpenAnimationProgress = 1.0
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:92:17: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 84 |     // MARK: Panel management
 85 |
 86 |     private func presentPanel(for item: Item)
    |                  `- note: add @available attribute to enclosing instance method
 87 |     {
 88 |         self.content = AnyView(self.contentBuilder(item))
    :
 90 |         Task {
 91 |             withAnimation {
 92 |                 self.isPresented = true
    |                 |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 93 |                 self.panelOpenAnimationProgress = 1.0
 94 |             }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:93:17: error: setter for 'panelOpenAnimationProgress' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 84 |     // MARK: Panel management
 85 |
 86 |     private func presentPanel(for item: Item)
    |                  `- note: add @available attribute to enclosing instance method
 87 |     {
 88 |         self.content = AnyView(self.contentBuilder(item))
    :
 91 |             withAnimation {
 92 |                 self.isPresented = true
 93 |                 self.panelOpenAnimationProgress = 1.0
    |                 |- error: setter for 'panelOpenAnimationProgress' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 94 |             }
 95 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:100:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 96 |     }
 97 |
 98 |     private func closePanel()
    |                  `- note: add @available attribute to enclosing instance method
 99 |     {
100 |         withAnimation {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
101 |             self.isPresented = false
102 |             self.panelOpenAnimationProgress = 0.0
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:101:13: error: setter for 'isPresented' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 96 |     }
 97 |
 98 |     private func closePanel()
    |                  `- note: add @available attribute to enclosing instance method
 99 |     {
100 |         withAnimation {
101 |             self.isPresented = false
    |             |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
102 |             self.panelOpenAnimationProgress = 0.0
103 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:102:13: error: setter for 'panelOpenAnimationProgress' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
 96 |     }
 97 |
 98 |     private func closePanel()
    |                  `- note: add @available attribute to enclosing instance method
 99 |     {
100 |         withAnimation {
101 |             self.isPresented = false
102 |             self.panelOpenAnimationProgress = 0.0
    |             |- error: setter for 'panelOpenAnimationProgress' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
103 |         }
104 |     }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:110:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    |         |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
111 |             if self.isPresented
112 |             {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:110:9: error: 'Group' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
111 |             if self.isPresented
112 |             {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:110:9: error: 'init(content:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
111 |             if self.isPresented
112 |             {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:113:17: error: 'Color' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
111 |             if self.isPresented
112 |             {
113 |                 Color.black.opacity(0.8)
    |                 |- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
114 |                     .ignoresSafeArea()
115 |                     .transition(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:113:23: error: 'black' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
111 |             if self.isPresented
112 |             {
113 |                 Color.black.opacity(0.8)
    |                       |- error: 'black' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
114 |                     .ignoresSafeArea()
115 |                     .transition(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:113:29: error: 'opacity' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
111 |             if self.isPresented
112 |             {
113 |                 Color.black.opacity(0.8)
    |                             |- error: 'opacity' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
114 |                     .ignoresSafeArea()
115 |                     .transition(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:114:22: error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    :
112 |             {
113 |                 Color.black.opacity(0.8)
114 |                     .ignoresSafeArea()
    |                      |- error: 'ignoresSafeArea(_:edges:)' is only available in macOS 11.0 or newer
    |                      `- note: add 'if #available' version check
115 |                     .transition(
116 |                         .opacity.animation(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:115:22: error: 'transition' is only available in macOS 14.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    :
113 |                 Color.black.opacity(0.8)
114 |                     .ignoresSafeArea()
115 |                     .transition(
    |                      |- error: 'transition' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
116 |                         .opacity.animation(
117 |                             .easeInOut(duration: self.backgroundAnimationDuration)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:116:26: error: 'opacity' is only available in macOS 14.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    :
114 |                     .ignoresSafeArea()
115 |                     .transition(
116 |                         .opacity.animation(
    |                          |- error: 'opacity' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
117 |                             .easeInOut(duration: self.backgroundAnimationDuration)
118 |                         )
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:116:34: error: 'animation' is only available in macOS 14.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    :
114 |                     .ignoresSafeArea()
115 |                     .transition(
116 |                         .opacity.animation(
    |                                  |- error: 'animation' is only available in macOS 14.0 or newer
    |                                  `- note: add 'if #available' version check
117 |                             .easeInOut(duration: self.backgroundAnimationDuration)
118 |                         )
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:117:30: error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    :
115 |                     .transition(
116 |                         .opacity.animation(
117 |                             .easeInOut(duration: self.backgroundAnimationDuration)
    |                              |- error: 'easeInOut(duration:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
118 |                         )
119 |                     )
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:112:13: error: 'buildIf' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
111 |             if self.isPresented
112 |             {
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 Color.black.opacity(0.8)
114 |                     .ignoresSafeArea()
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:120:13: error: 'buildIf' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    :
118 |                         )
119 |                     )
120 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
121 |         }
122 |     }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:110:15: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
106 |     // MARK: UI
107 |
108 |     private func background() -> some View
    |                  `- note: add @available attribute to enclosing instance method
109 |     {
110 |         Group {
    |               |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |               `- note: add 'if #available' version check
111 |             if self.isPresented
112 |             {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:126:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
127 |             ZStack(alignment: .topTrailing) {
128 |                 self.content
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:126:24: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
127 |             ZStack(alignment: .topTrailing) {
128 |                 self.content
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:127:13: error: 'ZStack' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
127 |             ZStack(alignment: .topTrailing) {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
128 |                 self.content
129 |                     .padding(EdgeInsets(top: 32.0, leading: 24.0, bottom: 32.0, trailing: 24.0))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:127:32: error: 'topTrailing' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
127 |             ZStack(alignment: .topTrailing) {
    |                                |- error: 'topTrailing' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
128 |                 self.content
129 |                     .padding(EdgeInsets(top: 32.0, leading: 24.0, bottom: 32.0, trailing: 24.0))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:129:22: error: 'padding' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
127 |             ZStack(alignment: .topTrailing) {
128 |                 self.content
129 |                     .padding(EdgeInsets(top: 32.0, leading: 24.0, bottom: 32.0, trailing: 24.0))
    |                      |- error: 'padding' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
130 |
131 |                 if let onCancel = self.onCancel
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:129:30: error: 'EdgeInsets' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
127 |             ZStack(alignment: .topTrailing) {
128 |                 self.content
129 |                     .padding(EdgeInsets(top: 32.0, leading: 24.0, bottom: 32.0, trailing: 24.0))
    |                              |- error: 'EdgeInsets' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
130 |
131 |                 if let onCancel = self.onCancel
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:133:21: error: 'Button' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
131 |                 if let onCancel = self.onCancel
132 |                 {
133 |                     Button(
    |                     |- error: 'Button' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
134 |                         action: {
135 |                             self.item = nil
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:135:29: error: setter for 'item' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
133 |                     Button(
134 |                         action: {
135 |                             self.item = nil
    |                             |- error: setter for 'item' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
136 |                             onCancel()
137 |                         },
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:139:29: error: 'Image' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
137 |                         },
138 |                         label: {
139 |                             Image(systemName: "xmark.circle.fill")
    |                             |- error: 'Image' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
140 |                                 .foregroundColor(Color(.lightGray))
141 |                                 .font(.system(size: 20))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:139:29: error: 'init(systemName:)' is only available in macOS 11.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
137 |                         },
138 |                         label: {
139 |                             Image(systemName: "xmark.circle.fill")
    |                             |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                             `- note: add 'if #available' version check
140 |                                 .foregroundColor(Color(.lightGray))
141 |                                 .font(.system(size: 20))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:140:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
138 |                         label: {
139 |                             Image(systemName: "xmark.circle.fill")
140 |                                 .foregroundColor(Color(.lightGray))
    |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
141 |                                 .font(.system(size: 20))
142 |                         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:140:50: error: 'Color' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
138 |                         label: {
139 |                             Image(systemName: "xmark.circle.fill")
140 |                                 .foregroundColor(Color(.lightGray))
    |                                                  |- error: 'Color' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
141 |                                 .font(.system(size: 20))
142 |                         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:140:50: error: 'init(_:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
138 |                         label: {
139 |                             Image(systemName: "xmark.circle.fill")
140 |                                 .foregroundColor(Color(.lightGray))
    |                                                  |- error: 'init(_:)' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
141 |                                 .font(.system(size: 20))
142 |                         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:141:34: error: 'font' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
139 |                             Image(systemName: "xmark.circle.fill")
140 |                                 .foregroundColor(Color(.lightGray))
141 |                                 .font(.system(size: 20))
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
142 |                         }
143 |                     )
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:141:40: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
139 |                             Image(systemName: "xmark.circle.fill")
140 |                                 .foregroundColor(Color(.lightGray))
141 |                                 .font(.system(size: 20))
    |                                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
    |                                        `- note: add 'if #available' version check
142 |                         }
143 |                     )
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:144:22: error: 'padding' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
142 |                         }
143 |                     )
144 |                     .padding([.top, .trailing], 24)
    |                      |- error: 'padding' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
145 |                 }
146 |             }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:132:17: error: 'buildIf' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
130 |
131 |                 if let onCancel = self.onCancel
132 |                 {
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
133 |                     Button(
134 |                         action: {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:145:17: error: 'buildIf' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
143 |                     )
144 |                     .padding([.top, .trailing], 24)
145 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
146 |             }
147 |             .frame(maxWidth: .infinity, alignment: .bottom)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:127:45: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
127 |             ZStack(alignment: .topTrailing) {
    |                                             |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                             `- note: add 'if #available' version check
128 |                 self.content
129 |                     .padding(EdgeInsets(top: 32.0, leading: 24.0, bottom: 32.0, trailing: 24.0))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:147:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
145 |                 }
146 |             }
147 |             .frame(maxWidth: .infinity, alignment: .bottom)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
148 |             .background(
149 |                 GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:147:53: error: 'bottom' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
145 |                 }
146 |             }
147 |             .frame(maxWidth: .infinity, alignment: .bottom)
    |                                                     |- error: 'bottom' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
148 |             .background(
149 |                 GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:148:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
146 |             }
147 |             .frame(maxWidth: .infinity, alignment: .bottom)
148 |             .background(
    |              |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
149 |                 GeometryReader { proxy in
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:149:17: error: 'GeometryReader' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
147 |             .frame(maxWidth: .infinity, alignment: .bottom)
148 |             .background(
149 |                 GeometryReader { proxy in
    |                 |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
151 |                         .fill(Color.white)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:149:32: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
147 |             .frame(maxWidth: .infinity, alignment: .bottom)
148 |             .background(
149 |                 GeometryReader { proxy in
    |                                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
151 |                         .fill(Color.white)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:150:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
148 |             .background(
149 |                 GeometryReader { proxy in
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
    |                     |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
151 |                         .fill(Color.white)
152 |                         .preference(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:151:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
149 |                 GeometryReader { proxy in
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
151 |                         .fill(Color.white)
    |                          |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
152 |                         .preference(
153 |                             key: ViewHeightKey.self,
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:151:31: error: 'Color' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
149 |                 GeometryReader { proxy in
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
151 |                         .fill(Color.white)
    |                               |- error: 'Color' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
152 |                         .preference(
153 |                             key: ViewHeightKey.self,
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:151:37: error: 'white' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
149 |                 GeometryReader { proxy in
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
151 |                         .fill(Color.white)
    |                                     |- error: 'white' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
152 |                         .preference(
153 |                             key: ViewHeightKey.self,
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:152:26: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
150 |                     RoundedRectangle(cornerRadius: 40, style: .continuous)
151 |                         .fill(Color.white)
152 |                         .preference(
    |                          |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
153 |                             key: ViewHeightKey.self,
154 |                             value: proxy.frame(in: .local).size.height
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:154:42: error: 'frame(in:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
152 |                         .preference(
153 |                             key: ViewHeightKey.self,
154 |                             value: proxy.frame(in: .local).size.height
    |                                          |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
155 |                         )
156 |                 }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:158:14: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
156 |                 }
157 |             )
158 |             .onPreferenceChange(ViewHeightKey.self) {
    |              |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
159 |                 self.panelHeight = $0
160 |             }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:159:17: error: setter for 'panelHeight' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
157 |             )
158 |             .onPreferenceChange(ViewHeightKey.self) {
159 |                 self.panelHeight = $0
    |                 |- error: setter for 'panelHeight' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
160 |             }
161 |             .offset(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:161:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
159 |                 self.panelHeight = $0
160 |             }
161 |             .offset(
    |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
162 |                 x: 0,
163 |                 y: self.isPresented ? proxy.size.height - self.panelHeight : proxy.size.height
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:169:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
167 |             // when set. Unsure if bug or on purpose.
168 |             // Hence we animate ourselves.
169 |             .animation(
    |              |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
170 |                 .spring(response: self.panelSpringResponse, dampingFraction: 0.9),
171 |                 value: self.isPresented
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:170:18: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
  3 |
  4 | /// A panel UI component.
  5 | public struct Panel<Item: Identifiable, PanelContent: View>: ViewModifier where Item: Equatable
    |               `- note: add @available attribute to enclosing generic struct
  6 | {
  7 |     // Private
    :
122 |     }
123 |
124 |     private func panelContent() -> some View
    |                  `- note: add @available attribute to enclosing instance method
125 |     {
126 |         GeometryReader { proxy in
    :
168 |             // Hence we animate ourselves.
169 |             .animation(
170 |                 .spring(response: self.panelSpringResponse, dampingFraction: 0.9),
    |                  |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
171 |                 value: self.isPresented
172 |             )
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:199:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
    |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
200 |             Text("Hello")
201 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:199:9: error: 'VStack' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
200 |             Text("Hello")
201 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:199:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
    |         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
200 |             Text("Hello")
201 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:200:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    |             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
201 |         }
202 |         .modifier(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:200:13: error: 'Text' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
201 |         }
202 |         .modifier(
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:199:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
    |                |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
200 |             Text("Hello")
201 |         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:202:10: error: 'modifier' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
201 |         }
202 |         .modifier(
    |          |- error: 'modifier' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
203 |             Panel(
204 |                 item: .constant(PanelItem.wifi),
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:207:21: error: 'VStack' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
205 |                 onCancel: { },
206 |                 contentBuilder: { _ in
207 |                     VStack(spacing: 24) {
    |                     |- error: 'VStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
208 |                         VStack(spacing: 32) {
209 |                             Text("Wi-Fi Password")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:208:25: error: 'VStack' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
206 |                 contentBuilder: { _ in
207 |                     VStack(spacing: 24) {
208 |                         VStack(spacing: 32) {
    |                         |- error: 'VStack' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
209 |                             Text("Wi-Fi Password")
210 |                                 .font(.title)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:209:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
207 |                     VStack(spacing: 24) {
208 |                         VStack(spacing: 32) {
209 |                             Text("Wi-Fi Password")
    |                             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
210 |                                 .font(.title)
211 |                                 .foregroundColor(Color(.darkGray))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:209:29: error: 'Text' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
207 |                     VStack(spacing: 24) {
208 |                         VStack(spacing: 32) {
209 |                             Text("Wi-Fi Password")
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
210 |                                 .font(.title)
211 |                                 .foregroundColor(Color(.darkGray))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:210:34: error: 'font' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
208 |                         VStack(spacing: 32) {
209 |                             Text("Wi-Fi Password")
210 |                                 .font(.title)
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
211 |                                 .foregroundColor(Color(.darkGray))
212 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:210:40: error: 'title' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
208 |                         VStack(spacing: 32) {
209 |                             Text("Wi-Fi Password")
210 |                                 .font(.title)
    |                                        |- error: 'title' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
211 |                                 .foregroundColor(Color(.darkGray))
212 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:211:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
209 |                             Text("Wi-Fi Password")
210 |                                 .font(.title)
211 |                                 .foregroundColor(Color(.darkGray))
    |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
212 |
213 |                             Image(systemName: "wifi")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:211:50: error: 'Color' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
209 |                             Text("Wi-Fi Password")
210 |                                 .font(.title)
211 |                                 .foregroundColor(Color(.darkGray))
    |                                                  |- error: 'Color' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
212 |
213 |                             Image(systemName: "wifi")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:211:50: error: 'init(_:)' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
209 |                             Text("Wi-Fi Password")
210 |                                 .font(.title)
211 |                                 .foregroundColor(Color(.darkGray))
    |                                                  |- error: 'init(_:)' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
212 |
213 |                             Image(systemName: "wifi")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:213:29: error: 'Image' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
211 |                                 .foregroundColor(Color(.darkGray))
212 |
213 |                             Image(systemName: "wifi")
    |                             |- error: 'Image' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
214 |                                 .font(.system(size: 100))
215 |                                 .foregroundColor(Color(.lightGray))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:213:29: error: 'init(systemName:)' is only available in macOS 11.0 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
211 |                                 .foregroundColor(Color(.darkGray))
212 |
213 |                             Image(systemName: "wifi")
    |                             |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                             `- note: add 'if #available' version check
214 |                                 .font(.system(size: 100))
215 |                                 .foregroundColor(Color(.lightGray))
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:214:34: error: 'font' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
212 |
213 |                             Image(systemName: "wifi")
214 |                                 .font(.system(size: 100))
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
215 |                                 .foregroundColor(Color(.lightGray))
216 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:214:40: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
212 |
213 |                             Image(systemName: "wifi")
214 |                                 .font(.system(size: 100))
    |                                        |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
    |                                        `- note: add 'if #available' version check
215 |                                 .foregroundColor(Color(.lightGray))
216 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:215:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
213 |                             Image(systemName: "wifi")
214 |                                 .font(.system(size: 100))
215 |                                 .foregroundColor(Color(.lightGray))
    |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
216 |
217 |                             Text("Do you want to share the Wi-Fi password for \"Home\" with Pita Bread?")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:215:50: error: 'Color' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
213 |                             Image(systemName: "wifi")
214 |                                 .font(.system(size: 100))
215 |                                 .foregroundColor(Color(.lightGray))
    |                                                  |- error: 'Color' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
216 |
217 |                             Text("Do you want to share the Wi-Fi password for \"Home\" with Pita Bread?")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:215:50: error: 'init(_:)' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
213 |                             Image(systemName: "wifi")
214 |                                 .font(.system(size: 100))
215 |                                 .foregroundColor(Color(.lightGray))
    |                                                  |- error: 'init(_:)' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
216 |
217 |                             Text("Do you want to share the Wi-Fi password for \"Home\" with Pita Bread?")
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:217:29: error: 'Text' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
215 |                                 .foregroundColor(Color(.lightGray))
216 |
217 |                             Text("Do you want to share the Wi-Fi password for \"Home\" with Pita Bread?")
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
218 |                                 .multilineTextAlignment(.center)
219 |                         }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:218:34: error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
216 |
217 |                             Text("Do you want to share the Wi-Fi password for \"Home\" with Pita Bread?")
218 |                                 .multilineTextAlignment(.center)
    |                                  |- error: 'multilineTextAlignment' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
219 |                         }
220 |
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:208:45: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
206 |                 contentBuilder: { _ in
207 |                     VStack(spacing: 24) {
208 |                         VStack(spacing: 32) {
    |                                             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                             `- note: add 'if #available' version check
209 |                             Text("Wi-Fi Password")
210 |                                 .font(.title)
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:221:25: error: 'Button' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
219 |                         }
220 |
221 |                         Button(
    |                         |- error: 'Button' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
222 |                             action: { },
223 |                             label: {
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:224:33: error: 'Text' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
222 |                             action: { },
223 |                             label: {
224 |                                 Text("Done")
    |                                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
225 |                                     .frame(maxWidth: .infinity)
226 |                             }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:225:38: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
223 |                             label: {
224 |                                 Text("Done")
225 |                                     .frame(maxWidth: .infinity)
    |                                      |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
226 |                             }
227 |                         )
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:228:26: error: 'buttonStyle' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
226 |                             }
227 |                         )
228 |                         .buttonStyle(.borderedProminent)
    |                          |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
229 |                         .controlSize(.large)
230 |                     }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:228:39: error: 'borderedProminent' is only available in macOS 12.0 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
226 |                             }
227 |                         )
228 |                         .buttonStyle(.borderedProminent)
    |                                       |- error: 'borderedProminent' is only available in macOS 12.0 or newer
    |                                       `- note: add 'if #available' version check
229 |                         .controlSize(.large)
230 |                     }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:229:26: error: 'controlSize' is only available in macOS 10.15 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
227 |                         )
228 |                         .buttonStyle(.borderedProminent)
229 |                         .controlSize(.large)
    |                          |- error: 'controlSize' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
230 |                     }
231 |                 }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:229:39: error: 'large' is only available in macOS 11.0 or newer
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
    :
227 |                         )
228 |                         .buttonStyle(.borderedProminent)
229 |                         .controlSize(.large)
    |                                       |- error: 'large' is only available in macOS 11.0 or newer
    |                                       `- note: add 'if #available' version check
230 |                     }
231 |                 }
/Users/admin/builder/spi-builder-workspace/Panel/Source/Panel.swift:198:36: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
194 | // MARK: Previews
195 |
196 | struct PanelSheet_Previews: PreviewProvider
    |        `- note: add @available attribute to enclosing struct
197 | {
198 |     static var previews: some View {
    |                |                   |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |                   `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing static property
199 |         VStack {
200 |             Text("Hello")
BUILD FAILURE 6.0 macosSpm