This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 HUD with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kmatzka/HUD.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kmatzka/HUD
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 58ec444 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/kmatzka/HUD.git
Revision (git rev-parse @):
58ec444ccbc452b13b968a59582b3706c2e4bd86
SUCCESS checkout https://github.com/kmatzka/HUD.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/kmatzka/HUD.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module HUD
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |     public var autoClosureDelay: Int
18 |     public var content: any View
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:18:29: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
17 |     public var autoClosureDelay: Int
18 |     public var content: any View
   |                             `- error: 'View' is only available in macOS 10.15 or newer
19 |
20 |     public init(isPresented: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:22:30: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
18 |     public var content: any View
19 |
20 |     public init(isPresented: Bool = false,
   |            `- note: add @available attribute to enclosing initializer
21 |                 autoClosureDelay: Int = 3,
22 |                 content: any View = Text(" -- no hud content -- "))
   |                              `- error: 'View' is only available in macOS 10.15 or newer
23 |     {
24 |         self.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:22:37: 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
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
18 |     public var content: any View
19 |
20 |     public init(isPresented: Bool = false,
   |            `- note: add @available attribute to enclosing initializer
21 |                 autoClosureDelay: Int = 3,
22 |                 content: any View = Text(" -- no hud content -- "))
   |                                     `- 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
23 |     {
24 |         self.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:22:37: error: 'Text' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
18 |     public var content: any View
19 |
20 |     public init(isPresented: Bool = false,
   |            `- note: add @available attribute to enclosing initializer
21 |                 autoClosureDelay: Int = 3,
22 |                 content: any View = Text(" -- no hud content -- "))
   |                                     `- error: 'Text' is only available in macOS 10.15 or newer
23 |     {
24 |         self.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:33:62: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
31 |     ///   - autoClosureDelay: Seconds the HUD shows before it closes automativally.
32 |     ///   - content: The HUD capsule content to show.
33 |     public func show(autoClosureDelay: Int = 3, content: any View) {
   |                 |                                            `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
34 |         self.content = content.foregroundColor(Color(.label))
35 |         self.autoClosureDelay = autoClosureDelay
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:46:66: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
44 |     ///   - autoClosureDelay: Seconds the HUD shows before it closes automativally.
45 |     ///   - content: The HUD capsule content to show.
46 |     public func configue(autoClosureDelay: Int = 3, content: any View) {
   |                 |                                                `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
47 |         self.content = content.foregroundColor(Color(.label))
48 |         self.autoClosureDelay = autoClosureDelay
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:14:24: error: 'ObservableObject' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              |         `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:18:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 19 |
 20 |     @State private var offset: CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
 19 |
 20 |     @State private var offset: CGFloat = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 21 |     @GestureState private var dragOffset: CGSize = .zero
 22 |     @State private var autoClosureTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:21:6: error: 'GestureState' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
 19 |
 20 |     @State private var offset: CGFloat = 0.0
 21 |     @GestureState private var dragOffset: CGSize = .zero
    |      `- error: 'GestureState' is only available in macOS 10.15 or newer
 22 |     @State private var autoClosureTask: Task<Void, Never>?
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:22:41: error: 'Task' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 20 |     @State private var offset: CGFloat = 0.0
 21 |     @GestureState private var dragOffset: CGSize = .zero
 22 |     @State private var autoClosureTask: Task<Void, Never>?
    |                                         `- error: 'Task' is only available in macOS 10.15 or newer
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 20 |     @State private var offset: CGFloat = 0.0
 21 |     @GestureState private var dragOffset: CGSize = .zero
 22 |     @State private var autoClosureTask: Task<Void, Never>?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:24:57: error: 'Task' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 22 |     @State private var autoClosureTask: Task<Void, Never>?
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
    |            |                                            `- error: 'Task' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 25 |         self.offset = offset
 26 |         self.autoClosureTask = autoClosureTask
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:29:48: error: 'View' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     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
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:55:34: error: 'Gesture' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 |                `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:66:35: error: 'Gesture' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 |                 `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |     @ViewBuilder let content: Content
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
14 |
15 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:10:25: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        |                `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:31:37: error: 'View' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                |                    `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:40:31: error: 'View' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   :
38 |     }
39 |
40 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
41 |         HUDView(content: { previewContent })
42 |     }
[4/6] Compiling HUD HUDview.swift
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:12:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
   |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
13 |     @ViewBuilder let content: Content
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:13:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
14 |
15 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:10:25: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        |                `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:31:37: error: 'View' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                |                    `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:40:31: error: 'View' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   :
38 |     }
39 |
40 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
41 |         HUDView(content: { previewContent })
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:17:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
18 |             .font(.footnote)
19 |             .padding(.horizontal, 12)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:18:14: error: 'font' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
18 |             .font(.footnote)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
19 |             .padding(.horizontal, 12)
20 |             .padding(16)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:18:20: error: 'footnote' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
18 |             .font(.footnote)
   |                    |- error: 'footnote' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
19 |             .padding(.horizontal, 12)
20 |             .padding(16)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:19:14: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
18 |             .font(.footnote)
19 |             .padding(.horizontal, 12)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
20 |             .padding(16)
21 |             .background(.ultraThickMaterial, in: Capsule())
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:20:14: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
18 |             .font(.footnote)
19 |             .padding(.horizontal, 12)
20 |             .padding(16)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
21 |             .background(.ultraThickMaterial, in: Capsule())
22 |             .compositingGroup()
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:21:14: error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
19 |             .padding(.horizontal, 12)
20 |             .padding(16)
21 |             .background(.ultraThickMaterial, in: Capsule())
   |              |- error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
   |              `- note: add 'if #available' version check
22 |             .compositingGroup()
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:21:26: error: 'ultraThickMaterial' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
19 |             .padding(.horizontal, 12)
20 |             .padding(16)
21 |             .background(.ultraThickMaterial, in: Capsule())
   |                          |- error: 'ultraThickMaterial' is only available in macOS 12.0 or newer
   |                          `- note: add 'if #available' version check
22 |             .compositingGroup()
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:21:50: error: 'Capsule' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
19 |             .padding(.horizontal, 12)
20 |             .padding(16)
21 |             .background(.ultraThickMaterial, in: Capsule())
   |                                                  |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
22 |             .compositingGroup()
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:22:14: error: 'compositingGroup()' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
20 |             .padding(16)
21 |             .background(.ultraThickMaterial, in: Capsule())
22 |             .compositingGroup()
   |              |- error: 'compositingGroup()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
24 |             .padding(.horizontal)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:23:14: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
21 |             .background(.ultraThickMaterial, in: Capsule())
22 |             .compositingGroup()
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
   |              |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
24 |             .padding(.horizontal)
25 |             .padding(.top, 10)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:23:29: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
21 |             .background(.ultraThickMaterial, in: Capsule())
22 |             .compositingGroup()
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
   |                             |- error: 'black' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
24 |             .padding(.horizontal)
25 |             .padding(.top, 10)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:23:35: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
21 |             .background(.ultraThickMaterial, in: Capsule())
22 |             .compositingGroup()
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
   |                                   |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
24 |             .padding(.horizontal)
25 |             .padding(.top, 10)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:24:14: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
22 |             .compositingGroup()
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
24 |             .padding(.horizontal)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
25 |             .padding(.top, 10)
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:25:14: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HUDView<Content: View>: View {
   |        `- note: add @available attribute to enclosing generic struct
11 |
12 |     @EnvironmentObject var hudState: HUDState
13 |     @ViewBuilder let content: Content
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         content
17 |             .frame(minWidth: 100)
   :
23 |             .shadow(color: .black.opacity(0.3), radius: 5, x: 2, y: 2)
24 |             .padding(.horizontal)
25 |             .padding(.top, 10)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
26 |     }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:32:9: error: 'HStack' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:32:28: error: 'center' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
   |                            |- error: 'center' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:33:13: error: 'Image' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
   |             |- error: 'Image' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
34 |                 .foregroundColor(.purple)
35 |                 .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:33:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
   |             |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |             `- note: add 'if #available' version check
34 |                 .foregroundColor(.purple)
35 |                 .font(.title2)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:34:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
   |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
35 |                 .font(.title2)
36 |             Text("Download **HUD** from github today! **BEST SUSHI** quality! Please eat ***slowly***")
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:34:35: error: 'purple' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
   |                                   |- error: 'purple' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
35 |                 .font(.title2)
36 |             Text("Download **HUD** from github today! **BEST SUSHI** quality! Please eat ***slowly***")
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:35:18: error: 'font' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
35 |                 .font(.title2)
   |                  |- error: 'font' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
36 |             Text("Download **HUD** from github today! **BEST SUSHI** quality! Please eat ***slowly***")
37 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:35:24: error: 'title2' is only available in macOS 11.0 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
35 |                 .font(.title2)
   |                        |- error: 'title2' is only available in macOS 11.0 or newer
   |                        `- note: add 'if #available' version check
36 |             Text("Download **HUD** from github today! **BEST SUSHI** quality! Please eat ***slowly***")
37 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:36: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
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
35 |                 .font(.title2)
36 |             Text("Download **HUD** from github today! **BEST SUSHI** quality! Please eat ***slowly***")
   |             |- 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
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:36:13: error: 'Text' is only available in macOS 10.15 or newer
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
35 |                 .font(.title2)
36 |             Text("Download **HUD** from github today! **BEST SUSHI** quality! Please eat ***slowly***")
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |         }
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDview.swift:32:36: 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
27 | }
28 |
29 | struct HUDView_Preview_Provider: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
30 |
31 |     static var previewContent: some View {
   |                `- note: add @available attribute to enclosing static property
32 |         HStack(alignment: .center) {
   |                                    |- 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
33 |             Image(systemName: "speaker.wave.3.fill")
34 |                 .foregroundColor(.purple)
[5/6] Compiling HUD HUDViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:18:6: error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    |      `- error: 'EnvironmentObject' is only available in macOS 10.15 or newer
 19 |
 20 |     @State private var offset: CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:20:6: error: 'State' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
 19 |
 20 |     @State private var offset: CGFloat = 0.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 21 |     @GestureState private var dragOffset: CGSize = .zero
 22 |     @State private var autoClosureTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:21:6: error: 'GestureState' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
 19 |
 20 |     @State private var offset: CGFloat = 0.0
 21 |     @GestureState private var dragOffset: CGSize = .zero
    |      `- error: 'GestureState' is only available in macOS 10.15 or newer
 22 |     @State private var autoClosureTask: Task<Void, Never>?
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:22:41: error: 'Task' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 20 |     @State private var offset: CGFloat = 0.0
 21 |     @GestureState private var dragOffset: CGSize = .zero
 22 |     @State private var autoClosureTask: Task<Void, Never>?
    |                                         `- error: 'Task' is only available in macOS 10.15 or newer
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 20 |     @State private var offset: CGFloat = 0.0
 21 |     @GestureState private var dragOffset: CGSize = .zero
 22 |     @State private var autoClosureTask: Task<Void, Never>?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:24:57: error: 'Task' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 22 |     @State private var autoClosureTask: Task<Void, Never>?
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
    |            |                                            `- error: 'Task' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 25 |         self.offset = offset
 26 |         self.autoClosureTask = autoClosureTask
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:29:48: error: 'View' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     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
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:55:34: error: 'Gesture' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 |                `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:66:35: error: 'Gesture' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 |                 `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:25:9: error: setter for 'offset' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 22 |     @State private var autoClosureTask: Task<Void, Never>?
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 25 |         self.offset = offset
    |         |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 26 |         self.autoClosureTask = autoClosureTask
 27 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:26:9: error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 22 |     @State private var autoClosureTask: Task<Void, Never>?
 23 |
 24 |     public init(offset: CGFloat = 0.0, autoClosureTask: Task<Void, Never>? = nil) {
    |            `- note: add @available attribute to enclosing initializer
 25 |         self.offset = offset
 26 |         self.autoClosureTask = autoClosureTask
    |         |- error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 27 |     }
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:30:9: error: 'ZStack' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 31 |             // For the case that the 'content' view is not filling the whole screen,
 32 |             // we add a clear layer (behind content) that fills the whole display area,
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:34:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
 32 |             // we add a clear layer (behind content) that fills the whole display area,
 33 |             // so that the top-aligned .overlay always shows the HUD at the top of the screen.
 34 |             Color.clear
    |             |- warning: conformance of 'Color' 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
 35 |             content
 36 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:34:13: error: 'Color' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
 32 |             // we add a clear layer (behind content) that fills the whole display area,
 33 |             // so that the top-aligned .overlay always shows the HUD at the top of the screen.
 34 |             Color.clear
    |             |- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 35 |             content
 36 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:34:19: error: 'clear' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
 32 |             // we add a clear layer (behind content) that fills the whole display area,
 33 |             // so that the top-aligned .overlay always shows the HUD at the top of the screen.
 34 |             Color.clear
    |                   |- error: 'clear' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 35 |             content
 36 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:30:16: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
    |                |- warning: conformance of 'Color' 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
 31 |             // For the case that the 'content' view is not filling the whole screen,
 32 |             // we add a clear layer (behind content) that fills the whole display area,
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:37:10: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 35 |             content
 36 |         }
 37 |         .overlay(alignment: .top) {
    |          |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
 38 |             if hudState.isPresented {
 39 |                 HUDView {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:37:30: error: 'top' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 35 |             content
 36 |         }
 37 |         .overlay(alignment: .top) {
    |                              |- error: 'top' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 38 |             if hudState.isPresented {
 39 |                 HUDView {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:40:21: error: 'AnyView' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 38 |             if hudState.isPresented {
 39 |                 HUDView {
 40 |                     AnyView(hudState.content)
    |                     |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 41 |                 }
 42 |                 .zIndex(1)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:42:18: error: 'zIndex' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 40 |                     AnyView(hudState.content)
 41 |                 }
 42 |                 .zIndex(1)
    |                  |- error: 'zIndex' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:43:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 41 |                 }
 42 |                 .zIndex(1)
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:44:18: error: 'transition' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 42 |                 .zIndex(1)
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
    |                  |- error: 'transition' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
 46 |                 .gesture(dragGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:44:30: error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 42 |                 .zIndex(1)
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
    |                              |- error: 'asymmetric(insertion:removal:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
 46 |                 .gesture(dragGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:44:53: error: 'move(edge:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 42 |                 .zIndex(1)
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
    |                                                     |- error: 'move(edge:)' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
 46 |                 .gesture(dragGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:44:70: error: 'combined(with:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 42 |                 .zIndex(1)
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
    |                                                                      |- error: 'combined(with:)' is only available in macOS 10.15 or newer
    |                                                                      `- note: add 'if #available' version check
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
 46 |                 .gesture(dragGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:44:86: error: 'opacity' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 42 |                 .zIndex(1)
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
    |                                                                                      |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                                                      `- note: add 'if #available' version check
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
 46 |                 .gesture(dragGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:45:51: error: 'move(edge:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
    |                                                   |- error: 'move(edge:)' is only available in macOS 10.15 or newer
    |                                                   `- note: add 'if #available' version check
 46 |                 .gesture(dragGesture)
 47 |                 .gesture(tapGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:45:68: error: 'combined(with:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
    |                                                                    |- error: 'combined(with:)' is only available in macOS 10.15 or newer
    |                                                                    `- note: add 'if #available' version check
 46 |                 .gesture(dragGesture)
 47 |                 .gesture(tapGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:45:84: error: 'opacity' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 43 |                 .offset(x: 0, y: offset + dragOffset.height)
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
    |                                                                                    |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                                                    `- note: add 'if #available' version check
 46 |                 .gesture(dragGesture)
 47 |                 .gesture(tapGesture)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:46:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 44 |                 .transition(.asymmetric(insertion: .move(edge: .top).combined(with: .opacity),
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
 46 |                 .gesture(dragGesture)
    |                  |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 47 |                 .gesture(tapGesture)
 48 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:47:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 45 |                                         removal: .move(edge: .top).combined(with: .opacity)))
 46 |                 .gesture(dragGesture)
 47 |                 .gesture(tapGesture)
    |                  |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 48 |             }
 49 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:38:37: error: 'buildIf' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 36 |         }
 37 |         .overlay(alignment: .top) {
 38 |             if hudState.isPresented {
    |                                     |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
 39 |                 HUDView {
 40 |                     AnyView(hudState.content)
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:48:13: error: 'buildIf' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 46 |                 .gesture(dragGesture)
 47 |                 .gesture(tapGesture)
 48 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 49 |         }
 50 |         .onChange(of: hudState.isPresented) { createHudAutoClosureTask($0) }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:37:35: 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
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 35 |             content
 36 |         }
 37 |         .overlay(alignment: .top) {
    |                                   |- 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
 38 |             if hudState.isPresented {
 39 |                 HUDView {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:50:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 27 |     }
 28 |
 29 |     public func body(content: Content) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
 30 |         ZStack {
 31 |             // For the case that the 'content' view is not filling the whole screen,
    :
 48 |             }
 49 |         }
 50 |         .onChange(of: hudState.isPresented) { createHudAutoClosureTask($0) }
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
 51 |     }
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:57:14: warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
    |              |- warning: conformance of '_EndedGesture<Content>' to 'Gesture' 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
 58 |                 withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
 59 |                     hudState.isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:56:9: error: 'TapGesture' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
    |         |- error: 'TapGesture' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 57 |             .onEnded { _ in
 58 |                 withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:57:14: error: 'onEnded' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
    |              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 58 |                 withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
 59 |                     hudState.isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:58:17: error: 'withAnimation' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
 58 |                 withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 59 |                     hudState.isPresented = false
 60 |                     autoClosureTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:58:32: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
 58 |                 withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
    |                                |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 59 |                     hudState.isPresented = false
 60 |                     autoClosureTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:59:21: error: setter for 'isPresented' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
 58 |                 withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
 59 |                     hudState.isPresented = false
    |                     |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 60 |                     autoClosureTask?.cancel()
 61 |                     autoClosureTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:60:38: error: 'cancel()' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
 58 |                 withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
 59 |                     hudState.isPresented = false
 60 |                     autoClosureTask?.cancel()
    |                                      |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 61 |                     autoClosureTask = nil
 62 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:61:21: error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 53 |     // MARK: - Gestures
 54 |
 55 |     private var tapGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 56 |         TapGesture()
 57 |             .onEnded { _ in
    :
 59 |                     hudState.isPresented = false
 60 |                     autoClosureTask?.cancel()
 61 |                     autoClosureTask = nil
    |                     |- error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 62 |                 }
 63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:75:14: warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 73 |             }
 74 |
 75 |             .onEnded { value in
    |              |- warning: conformance of '_EndedGesture<Content>' to 'Gesture' 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
 76 |                 if value.translation.height < 0 {
 77 |                     offset += value.translation.height
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:67:9: error: 'DragGesture' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
    |         |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 68 |
 69 |             .updating($dragOffset) { value, dragOffset, transaction in
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:67:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
    |         |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 68 |
 69 |             .updating($dragOffset) { value, dragOffset, transaction in
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:69:14: error: 'updating(_:body:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
 69 |             .updating($dragOffset) { value, dragOffset, transaction in
    |              |- error: 'updating(_:body:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 70 |                 if value.translation.height < 0 {
 71 |                     dragOffset = value.translation
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:75:14: error: 'onEnded' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 73 |             }
 74 |
 75 |             .onEnded { value in
    |              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 76 |                 if value.translation.height < 0 {
 77 |                     offset += value.translation.height
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:77:21: error: cannot pass as inout because setter for 'offset' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 75 |             .onEnded { value in
 76 |                 if value.translation.height < 0 {
 77 |                     offset += value.translation.height
    |                     |- error: cannot pass as inout because setter for 'offset' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 78 |                     withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
 79 |                         offset += value.predictedEndLocation.y - value.translation.height
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:78:21: error: 'withAnimation' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 76 |                 if value.translation.height < 0 {
 77 |                     offset += value.translation.height
 78 |                     withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
    |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 79 |                         offset += value.predictedEndLocation.y - value.translation.height
 80 |                         hudState.isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:78:36: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 76 |                 if value.translation.height < 0 {
 77 |                     offset += value.translation.height
 78 |                     withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
    |                                    |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 79 |                         offset += value.predictedEndLocation.y - value.translation.height
 80 |                         hudState.isPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:79:25: error: cannot pass as inout because setter for 'offset' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 77 |                     offset += value.translation.height
 78 |                     withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
 79 |                         offset += value.predictedEndLocation.y - value.translation.height
    |                         |- error: cannot pass as inout because setter for 'offset' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 80 |                         hudState.isPresented = false
 81 |                         offset = 0
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:80:25: error: setter for 'isPresented' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 78 |                     withAnimation(.spring(response: 0.2, dampingFraction: 1.0)) {
 79 |                         offset += value.predictedEndLocation.y - value.translation.height
 80 |                         hudState.isPresented = false
    |                         |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 81 |                         offset = 0
 82 |                         autoClosureTask?.cancel()
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:81:25: error: setter for 'offset' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 79 |                         offset += value.predictedEndLocation.y - value.translation.height
 80 |                         hudState.isPresented = false
 81 |                         offset = 0
    |                         |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 82 |                         autoClosureTask?.cancel()
 83 |                         autoClosureTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:82:42: error: 'cancel()' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 80 |                         hudState.isPresented = false
 81 |                         offset = 0
 82 |                         autoClosureTask?.cancel()
    |                                          |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                                          `- note: add 'if #available' version check
 83 |                         autoClosureTask = nil
 84 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:83:25: error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 64 |     }
 65 |
 66 |     private var dragGesture: some Gesture {
    |                 `- note: add @available attribute to enclosing property
 67 |         DragGesture(minimumDistance: 5, coordinateSpace: .global)
 68 |
    :
 81 |                         offset = 0
 82 |                         autoClosureTask?.cancel()
 83 |                         autoClosureTask = nil
    |                         |- error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 84 |                     }
 85 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:92:26: error: 'cancel()' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
    |                          |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 93 |         autoClosureTask = nil
 94 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:93:9: error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    |         |- error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 94 |
 95 |         guard isPresented else { return }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:97:9: error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 95 |         guard isPresented else { return }
 96 |
 97 |         autoClosureTask = Task {
    |         |- error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
 99 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:97:27: error: 'Task' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 95 |         guard isPresented else { return }
 96 |
 97 |         autoClosureTask = Task {
    |                           |- error: 'Task' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
 99 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:97:27: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 95 |         guard isPresented else { return }
 96 |
 97 |         autoClosureTask = Task {
    |                           |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
 99 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:98:24: error: 'Task' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 96 |
 97 |         autoClosureTask = Task {
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
    |                        |- error: 'Task' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 99 |
100 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:98:29: error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 96 |
 97 |         autoClosureTask = Task {
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
    |                             |- error: 'sleep(for:tolerance:clock:)' is only available in macOS 13.0 or newer
    |                             `- note: add 'if #available' version check
 99 |
100 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:98:41: error: 'seconds' is only available in macOS 13.0 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 96 |
 97 |         autoClosureTask = Task {
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
    |                                         |- error: 'seconds' is only available in macOS 13.0 or newer
    |                                         `- note: add 'if #available' version check
 99 |
100 |             guard !Task.isCancelled else { return }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:100:20: error: 'Task' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
 99 |
100 |             guard !Task.isCancelled else { return }
    |                    |- error: 'Task' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
101 |
102 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:100:25: error: 'isCancelled' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
 98 |             try? await Task.sleep(for: .seconds(hudState.autoClosureDelay))
 99 |
100 |             guard !Task.isCancelled else { return }
    |                         |- error: 'isCancelled' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
101 |
102 |             DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:103:17: error: 'withAnimation' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
101 |
102 |             DispatchQueue.main.async {
103 |                 withAnimation {
    |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
104 |                     hudState.isPresented = false
105 |                     offset = 0
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:104:21: error: setter for 'isPresented' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
102 |             DispatchQueue.main.async {
103 |                 withAnimation {
104 |                     hudState.isPresented = false
    |                     |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
105 |                     offset = 0
106 |                     autoClosureTask = nil
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:105:21: error: setter for 'offset' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
103 |                 withAnimation {
104 |                     hudState.isPresented = false
105 |                     offset = 0
    |                     |- error: setter for 'offset' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
106 |                     autoClosureTask = nil
107 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDViewModifier.swift:106:21: error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
 14 | /// `.modifier(HUDViewModifier())`
 15 | ///
 16 | public struct HUDViewModifier: ViewModifier {
    |               `- note: add @available attribute to enclosing struct
 17 |
 18 |     @EnvironmentObject private var hudState: HUDState
    :
 89 |     // MARK: - HUD auto closure task
 90 |
 91 |     private func createHudAutoClosureTask(_ isPresented: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
 92 |         autoClosureTask?.cancel()
 93 |         autoClosureTask = nil
    :
104 |                     hudState.isPresented = false
105 |                     offset = 0
106 |                     autoClosureTask = nil
    |                     |- error: setter for 'autoClosureTask' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                 }
108 |             }
[6/6] Compiling HUD HUDState.swift
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |     public var autoClosureDelay: Int
18 |     public var content: any View
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:18:29: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
17 |     public var autoClosureDelay: Int
18 |     public var content: any View
   |                             `- error: 'View' is only available in macOS 10.15 or newer
19 |
20 |     public init(isPresented: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:22:30: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
18 |     public var content: any View
19 |
20 |     public init(isPresented: Bool = false,
   |            `- note: add @available attribute to enclosing initializer
21 |                 autoClosureDelay: Int = 3,
22 |                 content: any View = Text(" -- no hud content -- "))
   |                              `- error: 'View' is only available in macOS 10.15 or newer
23 |     {
24 |         self.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:22:37: 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
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
18 |     public var content: any View
19 |
20 |     public init(isPresented: Bool = false,
   |            `- note: add @available attribute to enclosing initializer
21 |                 autoClosureDelay: Int = 3,
22 |                 content: any View = Text(" -- no hud content -- "))
   |                                     `- 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
23 |     {
24 |         self.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:22:37: error: 'Text' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
18 |     public var content: any View
19 |
20 |     public init(isPresented: Bool = false,
   |            `- note: add @available attribute to enclosing initializer
21 |                 autoClosureDelay: Int = 3,
22 |                 content: any View = Text(" -- no hud content -- "))
   |                                     `- error: 'Text' is only available in macOS 10.15 or newer
23 |     {
24 |         self.isPresented = isPresented
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:33:62: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
31 |     ///   - autoClosureDelay: Seconds the HUD shows before it closes automativally.
32 |     ///   - content: The HUD capsule content to show.
33 |     public func show(autoClosureDelay: Int = 3, content: any View) {
   |                 |                                            `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
34 |         self.content = content.foregroundColor(Color(.label))
35 |         self.autoClosureDelay = autoClosureDelay
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:46:66: error: 'View' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
44 |     ///   - autoClosureDelay: Seconds the HUD shows before it closes automativally.
45 |     ///   - content: The HUD capsule content to show.
46 |     public func configue(autoClosureDelay: Int = 3, content: any View) {
   |                 |                                                `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
47 |         self.content = content.foregroundColor(Color(.label))
48 |         self.autoClosureDelay = autoClosureDelay
<unknown>:0: error: cannot convert value of type 'KeyPath<HUDState, Bool>' to expected argument type 'ReferenceWritableKeyPath<HUDState, Bool>'
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:14:24: error: 'ObservableObject' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              |         `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:24:9: error: setter for 'isPresented' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
18 |     public var content: any View
19 |
20 |     public init(isPresented: Bool = false,
   |            `- note: add @available attribute to enclosing initializer
21 |                 autoClosureDelay: Int = 3,
22 |                 content: any View = Text(" -- no hud content -- "))
23 |     {
24 |         self.isPresented = isPresented
   |         |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |         self.autoClosureDelay = autoClosureDelay
26 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:34:55: error: reference to member 'label' cannot be resolved without a contextual type
32 |     ///   - content: The HUD capsule content to show.
33 |     public func show(autoClosureDelay: Int = 3, content: any View) {
34 |         self.content = content.foregroundColor(Color(.label))
   |                                                       `- error: reference to member 'label' cannot be resolved without a contextual type
35 |         self.autoClosureDelay = autoClosureDelay
36 |
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:37:9: error: 'withAnimation' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
31 |     ///   - autoClosureDelay: Seconds the HUD shows before it closes automativally.
32 |     ///   - content: The HUD capsule content to show.
33 |     public func show(autoClosureDelay: Int = 3, content: any View) {
   |                 `- note: add @available attribute to enclosing instance method
34 |         self.content = content.foregroundColor(Color(.label))
35 |         self.autoClosureDelay = autoClosureDelay
36 |
37 |         withAnimation {
   |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
38 |             self.isPresented = true
39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:38:13: error: setter for 'isPresented' is only available in macOS 10.15 or newer
12 | /// Inject at the top level of your view tree, typically within the app's WindowGroup() view.
13 | /// Use function 'show(autoClosureDelay:content:)' to configure and show the HUD from within any view.
14 | public class HUDState: ObservableObject {
   |              `- note: add @available attribute to enclosing class
15 |
16 |     @Published public var isPresented: Bool
   :
31 |     ///   - autoClosureDelay: Seconds the HUD shows before it closes automativally.
32 |     ///   - content: The HUD capsule content to show.
33 |     public func show(autoClosureDelay: Int = 3, content: any View) {
   |                 `- note: add @available attribute to enclosing instance method
34 |         self.content = content.foregroundColor(Color(.label))
35 |         self.autoClosureDelay = autoClosureDelay
36 |
37 |         withAnimation {
38 |             self.isPresented = true
   |             |- error: setter for 'isPresented' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
39 |         }
40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HUD/HUDState.swift:47:55: error: reference to member 'label' cannot be resolved without a contextual type
45 |     ///   - content: The HUD capsule content to show.
46 |     public func configue(autoClosureDelay: Int = 3, content: any View) {
47 |         self.content = content.foregroundColor(Color(.label))
   |                                                       `- error: reference to member 'label' cannot be resolved without a contextual type
48 |         self.autoClosureDelay = autoClosureDelay
49 |     }
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.