The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUISnackbar, reference 1.0.1 (c62d86), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 09:59:49 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chrisnyw/SwiftUI-Snackbar.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chrisnyw/SwiftUI-Snackbar
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at c62d862 Added top and bottom offset support
Cloned https://github.com/chrisnyw/SwiftUI-Snackbar.git
Revision (git rev-parse @):
c62d8622ffbdef00218c1d5b93b32074ac0fbdcb
SUCCESS checkout https://github.com/chrisnyw/SwiftUI-Snackbar.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/chrisnyw/SwiftUI-Snackbar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/7] Emitting module SwiftUISnackbar
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:16:9: warning: stored property 'properties' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Properties'; this is an error in the Swift 6 language mode
14 |     let message: String
15 |     /// Properties of snackbar
16 |     let properties: Properties
   |         `- warning: stored property 'properties' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Properties'; this is an error in the Swift 6 language mode
17 |     /// An enum icon to be set to snackbar on the left side
18 |     let icon: Icon
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:105:19: note: consider making struct 'Properties' conform to the 'Sendable' protocol
103 |     }
104 |
105 |     public struct Properties: Hashable {
    |                   `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
106 |         /// Configure the snackbar position
107 |         let position: Position
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:18:9: warning: stored property 'icon' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Icon'; this is an error in the Swift 6 language mode
16 |     let properties: Properties
17 |     /// An enum icon to be set to snackbar on the left side
18 |     let icon: Icon
   |         `- warning: stored property 'icon' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Icon'; this is an error in the Swift 6 language mode
19 |     /// Configure the action on the right side
20 |     let action: Action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:36:17: note: consider making enum 'Icon' conform to the 'Sendable' protocol
 34 |     }
 35 |
 36 |     public enum Icon: Hashable {
    |                 `- note: consider making enum 'Icon' conform to the 'Sendable' protocol
 37 |         case none
 38 |         case error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:20:9: warning: stored property 'action' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Action'; this is an error in the Swift 6 language mode
18 |     let icon: Icon
19 |     /// Configure the action on the right side
20 |     let action: Action
   |         `- warning: stored property 'action' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Action'; this is an error in the Swift 6 language mode
21 |     /// Configure the color of background and texts
22 |     let decorator: Decorator
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:46:17: note: consider making enum 'Action' conform to the 'Sendable' protocol
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: consider making enum 'Action' conform to the 'Sendable' protocol
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:22:9: warning: stored property 'decorator' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Decorator'; this is an error in the Swift 6 language mode
20 |     let action: Action
21 |     /// Configure the color of background and texts
22 |     let decorator: Decorator
   |         `- warning: stored property 'decorator' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Decorator'; this is an error in the Swift 6 language mode
23 |
24 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:13:19: note: consider making struct 'Decorator' conform to the 'Sendable' protocol
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: consider making struct 'Decorator' conform to the 'Sendable' protocol
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 13 |     @State private var workItem: DispatchWorkItem?
 14 |     @State private var translation: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
 13 |     @State private var workItem: DispatchWorkItem?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |     @State private var translation: CGSize = .zero
 15 |     @State private var isDragging: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
 13 |     @State private var workItem: DispatchWorkItem?
 14 |     @State private var translation: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |     @State private var isDragging: Bool = false
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
 13 |     @State private var workItem: DispatchWorkItem?
 14 |     @State private var translation: CGSize = .zero
 15 |     @State private var isDragging: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:17:41: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     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
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:42:50: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       |                          `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:42:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:140:40: error: 'Binding' is only available in macOS 10.15 or newer
136 | }
137 |
138 | extension View {
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
    |                 |                      `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
141 |         self.modifier(SnackbarModifier(snackbar: snackbar))
142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:140:68: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | extension View {
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
    |                 |                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
141 |         self.modifier(SnackbarModifier(snackbar: snackbar))
142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:138:11: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:17:30: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
 16 |         /// Set snackbar background color
 17 |         let backgroundColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 18 |         /// Set the title text color
 19 |         let titleTextColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:19:29: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 17 |         let backgroundColor: Color
 18 |         /// Set the title text color
 19 |         let titleTextColor: Color
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 20 |         /// Set the message text color
 21 |         let messageTextColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:21:31: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 19 |         let titleTextColor: Color
 20 |         /// Set the message text color
 21 |         let messageTextColor: Color
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 22 |
 23 |         public init(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:25:30: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:26:29: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 27 |             messageTextColor: Color = .primary
 28 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:27:31: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 28 |         ) {
 29 |             self.width = width
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:25:44: error: cannot find 'UIColor' in scope
 23 |         public init(
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                                            `- error: cannot find 'UIColor' in scope
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:26:38: error: 'primary' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
    |                                      `- error: 'primary' is only available in macOS 10.15 or newer
 27 |             messageTextColor: Color = .primary
 28 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:27:40: error: 'primary' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
    |                                        `- error: 'primary' is only available in macOS 10.15 or newer
 28 |         ) {
 29 |             self.width = width
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:36:5: warning: 'public' modifier is redundant for enum declared in a public extension
 34 |     }
 35 |
 36 |     public enum Icon: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 37 |         case none
 38 |         case error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:42:47: error: 'Color' is only available in macOS 10.15 or newer
 34 |     }
 35 |
 36 |     public enum Icon: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 37 |         case none
 38 |         case error
    :
 40 |         case success
 41 |         case info
 42 |         case system(imageName: String, Color: Color)
    |                                               `- error: 'Color' is only available in macOS 10.15 or newer
 43 |         case custom(imageName: String)
 44 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:46:5: warning: 'public' modifier is redundant for enum declared in a public extension
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:82:20: error: 'Color' is only available in macOS 10.15 or newer
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
    :
 80 |
 81 |         case none
 82 |         case xMark(Color)
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 83 |         case text(String, Color, ActionHanlder)
 84 |         case systemImage(String, Color, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:83:27: error: 'Color' is only available in macOS 10.15 or newer
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
    :
 81 |         case none
 82 |         case xMark(Color)
 83 |         case text(String, Color, ActionHanlder)
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 84 |         case systemImage(String, Color, ActionHanlder)
 85 |         case imageName(String, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:84:34: error: 'Color' is only available in macOS 10.15 or newer
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
    :
 82 |         case xMark(Color)
 83 |         case text(String, Color, ActionHanlder)
 84 |         case systemImage(String, Color, ActionHanlder)
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 85 |         case imageName(String, ActionHanlder)
 86 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:88:5: warning: 'public' modifier is redundant for enum declared in a public extension
 86 |     }
 87 |
 88 |     public enum Position: Hashable, CaseIterable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 89 |         public static var allCases: [Snackbar.Position] = [
 90 |             .top(offset: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:100:5: warning: 'public' modifier is redundant for enum declared in a public extension
 98 |     }
 99 |
100 |     public enum Duration: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
101 |         case fixed(seconds: TimeInterval)
102 |         case infinite
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:105:5: warning: 'public' modifier is redundant for struct declared in a public extension
103 |     }
104 |
105 |     public struct Properties: Hashable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
106 |         /// Configure the snackbar position
107 |         let position: Position
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:146:21: error: 'Color' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         |           `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:173:16: error: 'Image' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         |      `- error: 'Image' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:206:20: error: 'Alignment' is only available in macOS 10.15 or newer
195 | }
196 |
197 | extension Snackbar.Position {
    | `- note: add @available attribute to enclosing extension
198 |     public var description: String {
199 |         switch self {
    :
204 |     }
205 |
206 |     var alignment: Alignment {
    |         |          `- error: 'Alignment' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
207 |         switch self {
208 |         case .top: return .top
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
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 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:45:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
46 |         switch snackbar.action {
47 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:86:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
84 | }
85 |
86 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
87 |     SnackbarView(
88 |         snackbar: Snackbar(
[4/7] Compiling SwiftUISnackbar Snackbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:16:9: warning: stored property 'properties' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Properties'; this is an error in the Swift 6 language mode
14 |     let message: String
15 |     /// Properties of snackbar
16 |     let properties: Properties
   |         `- warning: stored property 'properties' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Properties'; this is an error in the Swift 6 language mode
17 |     /// An enum icon to be set to snackbar on the left side
18 |     let icon: Icon
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:105:19: note: consider making struct 'Properties' conform to the 'Sendable' protocol
103 |     }
104 |
105 |     public struct Properties: Hashable {
    |                   `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
106 |         /// Configure the snackbar position
107 |         let position: Position
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:18:9: warning: stored property 'icon' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Icon'; this is an error in the Swift 6 language mode
16 |     let properties: Properties
17 |     /// An enum icon to be set to snackbar on the left side
18 |     let icon: Icon
   |         `- warning: stored property 'icon' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Icon'; this is an error in the Swift 6 language mode
19 |     /// Configure the action on the right side
20 |     let action: Action
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:36:17: note: consider making enum 'Icon' conform to the 'Sendable' protocol
 34 |     }
 35 |
 36 |     public enum Icon: Hashable {
    |                 `- note: consider making enum 'Icon' conform to the 'Sendable' protocol
 37 |         case none
 38 |         case error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:20:9: warning: stored property 'action' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Action'; this is an error in the Swift 6 language mode
18 |     let icon: Icon
19 |     /// Configure the action on the right side
20 |     let action: Action
   |         `- warning: stored property 'action' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Action'; this is an error in the Swift 6 language mode
21 |     /// Configure the color of background and texts
22 |     let decorator: Decorator
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:46:17: note: consider making enum 'Action' conform to the 'Sendable' protocol
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: consider making enum 'Action' conform to the 'Sendable' protocol
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/Snackbar.swift:22:9: warning: stored property 'decorator' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Decorator'; this is an error in the Swift 6 language mode
20 |     let action: Action
21 |     /// Configure the color of background and texts
22 |     let decorator: Decorator
   |         `- warning: stored property 'decorator' of 'Sendable'-conforming struct 'Snackbar' has non-sendable type 'Snackbar.Decorator'; this is an error in the Swift 6 language mode
23 |
24 |     public init(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:13:19: note: consider making struct 'Decorator' conform to the 'Sendable' protocol
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: consider making struct 'Decorator' conform to the 'Sendable' protocol
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
[5/7] Compiling SwiftUISnackbar SnackbarProperties.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:13:5: warning: 'public' modifier is redundant for struct declared in a public extension
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:17:30: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
 16 |         /// Set snackbar background color
 17 |         let backgroundColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 18 |         /// Set the title text color
 19 |         let titleTextColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:19:29: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 17 |         let backgroundColor: Color
 18 |         /// Set the title text color
 19 |         let titleTextColor: Color
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 20 |         /// Set the message text color
 21 |         let messageTextColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:21:31: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 19 |         let titleTextColor: Color
 20 |         /// Set the message text color
 21 |         let messageTextColor: Color
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 22 |
 23 |         public init(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:25:30: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:26:29: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 27 |             messageTextColor: Color = .primary
 28 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:27:31: error: 'Color' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 28 |         ) {
 29 |             self.width = width
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:25:44: error: cannot find 'UIColor' in scope
 23 |         public init(
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                                            `- error: cannot find 'UIColor' in scope
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:26:38: error: 'primary' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
    |                                      `- error: 'primary' is only available in macOS 10.15 or newer
 27 |             messageTextColor: Color = .primary
 28 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:27:40: error: 'primary' is only available in macOS 10.15 or newer
 11 |     typealias ActionHanlder = () -> Void
 12 |
 13 |     public struct Decorator: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 14 |         /// Set the snackbar maximum width
 15 |         let width: Double
    :
 21 |         let messageTextColor: Color
 22 |
 23 |         public init(
    |                `- note: add @available attribute to enclosing initializer
 24 |             width: Double = .infinity,
 25 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 26 |             titleTextColor: Color = .primary,
 27 |             messageTextColor: Color = .primary
    |                                        `- error: 'primary' is only available in macOS 10.15 or newer
 28 |         ) {
 29 |             self.width = width
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:36:5: warning: 'public' modifier is redundant for enum declared in a public extension
 34 |     }
 35 |
 36 |     public enum Icon: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 37 |         case none
 38 |         case error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:42:47: error: 'Color' is only available in macOS 10.15 or newer
 34 |     }
 35 |
 36 |     public enum Icon: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 37 |         case none
 38 |         case error
    :
 40 |         case success
 41 |         case info
 42 |         case system(imageName: String, Color: Color)
    |                                               `- error: 'Color' is only available in macOS 10.15 or newer
 43 |         case custom(imageName: String)
 44 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:46:5: warning: 'public' modifier is redundant for enum declared in a public extension
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:82:20: error: 'Color' is only available in macOS 10.15 or newer
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
    :
 80 |
 81 |         case none
 82 |         case xMark(Color)
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 83 |         case text(String, Color, ActionHanlder)
 84 |         case systemImage(String, Color, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:83:27: error: 'Color' is only available in macOS 10.15 or newer
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
    :
 81 |         case none
 82 |         case xMark(Color)
 83 |         case text(String, Color, ActionHanlder)
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 84 |         case systemImage(String, Color, ActionHanlder)
 85 |         case imageName(String, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:84:34: error: 'Color' is only available in macOS 10.15 or newer
 44 |     }
 45 |
 46 |     public enum Action: Hashable {
    |                 `- note: add @available attribute to enclosing enum
 47 |         public func hash(into hasher: inout Hasher) {
 48 |             switch self {
    :
 82 |         case xMark(Color)
 83 |         case text(String, Color, ActionHanlder)
 84 |         case systemImage(String, Color, ActionHanlder)
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 85 |         case imageName(String, ActionHanlder)
 86 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:88:5: warning: 'public' modifier is redundant for enum declared in a public extension
 86 |     }
 87 |
 88 |     public enum Position: Hashable, CaseIterable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 89 |         public static var allCases: [Snackbar.Position] = [
 90 |             .top(offset: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:100:5: warning: 'public' modifier is redundant for enum declared in a public extension
 98 |     }
 99 |
100 |     public enum Duration: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
101 |         case fixed(seconds: TimeInterval)
102 |         case infinite
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:105:5: warning: 'public' modifier is redundant for struct declared in a public extension
103 |     }
104 |
105 |     public struct Properties: Hashable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
106 |         /// Configure the snackbar position
107 |         let position: Position
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:146:21: error: 'Color' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         |           `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:173:16: error: 'Image' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         |      `- error: 'Image' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:206:20: error: 'Alignment' is only available in macOS 10.15 or newer
195 | }
196 |
197 | extension Snackbar.Position {
    | `- note: add @available attribute to enclosing extension
198 |     public var description: String {
199 |         switch self {
    :
204 |     }
205 |
206 |     var alignment: Alignment {
    |         |          `- error: 'Alignment' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
207 |         switch self {
208 |         case .top: return .top
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:150:20: error: 'Color' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
149 |                 .custom:
150 |             return Color.primary
    |                    |- error: 'Color' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
151 |         case .error: return Color.red
152 |         case .warning: return Color.orange
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:150:26: error: 'primary' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
149 |                 .custom:
150 |             return Color.primary
    |                          |- error: 'primary' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
151 |         case .error: return Color.red
152 |         case .warning: return Color.orange
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:151:29: error: 'Color' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
149 |                 .custom:
150 |             return Color.primary
151 |         case .error: return Color.red
    |                             |- error: 'Color' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
152 |         case .warning: return Color.orange
153 |         case .info: return Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:151:35: error: 'red' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
149 |                 .custom:
150 |             return Color.primary
151 |         case .error: return Color.red
    |                                   |- error: 'red' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
152 |         case .warning: return Color.orange
153 |         case .info: return Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:152:31: error: 'Color' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
    :
150 |             return Color.primary
151 |         case .error: return Color.red
152 |         case .warning: return Color.orange
    |                               |- error: 'Color' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
153 |         case .info: return Color.blue
154 |         case .success: return Color.green
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:152:37: error: 'orange' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
    :
150 |             return Color.primary
151 |         case .error: return Color.red
152 |         case .warning: return Color.orange
    |                                     |- error: 'orange' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
153 |         case .info: return Color.blue
154 |         case .success: return Color.green
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:153:28: error: 'Color' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
    :
151 |         case .error: return Color.red
152 |         case .warning: return Color.orange
153 |         case .info: return Color.blue
    |                            |- error: 'Color' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
154 |         case .success: return Color.green
155 |         case .system(_, let color):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:153:34: error: 'blue' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
    :
151 |         case .error: return Color.red
152 |         case .warning: return Color.orange
153 |         case .info: return Color.blue
    |                                  |- error: 'blue' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
154 |         case .success: return Color.green
155 |         case .system(_, let color):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:154:31: error: 'Color' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
    :
152 |         case .warning: return Color.orange
153 |         case .info: return Color.blue
154 |         case .success: return Color.green
    |                               |- error: 'Color' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
155 |         case .system(_, let color):
156 |             return color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:154:37: error: 'green' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
144 |     }
145 |
146 |     var themeColor: Color {
    |         `- note: add @available attribute to enclosing property
147 |         switch self {
148 |         case .none,
    :
152 |         case .warning: return Color.orange
153 |         case .info: return Color.blue
154 |         case .success: return Color.green
    |                                     |- error: 'green' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
155 |         case .system(_, let color):
156 |             return color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:182:24: error: 'Image' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
    :
180 |                 .error:
181 |             if let imageName = self.iconFileName {
182 |                 return Image(systemName: imageName)
    |                        |- error: 'Image' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
183 |             }
184 |         case .system(let imageName, _):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:182:24: error: 'init(systemName:)' is only available in macOS 11.0 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
    :
180 |                 .error:
181 |             if let imageName = self.iconFileName {
182 |                 return Image(systemName: imageName)
    |                        |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                        `- note: add 'if #available' version check
183 |             }
184 |         case .system(let imageName, _):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:185:20: error: 'Image' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
    :
183 |             }
184 |         case .system(let imageName, _):
185 |             return Image(systemName: imageName)
    |                    |- error: 'Image' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
186 |         case .custom(let imageName):
187 |             return Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:185:20: error: 'init(systemName:)' is only available in macOS 11.0 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
    :
183 |             }
184 |         case .system(let imageName, _):
185 |             return Image(systemName: imageName)
    |                    |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                    `- note: add 'if #available' version check
186 |         case .custom(let imageName):
187 |             return Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:187:20: error: 'Image' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
    :
185 |             return Image(systemName: imageName)
186 |         case .custom(let imageName):
187 |             return Image(imageName)
    |                    |- error: 'Image' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
188 |         }
189 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:187:20: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
131 | }
132 |
133 | extension Snackbar.Icon {
    | `- note: add @available attribute to enclosing extension
134 |     public var description: String {
135 |         switch self {
    :
171 |     }
172 |
173 |     var image: Image? {
    |         `- note: add @available attribute to enclosing property
174 |         switch self {
175 |         case .none:
    :
185 |             return Image(systemName: imageName)
186 |         case .custom(let imageName):
187 |             return Image(imageName)
    |                    |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
188 |         }
189 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:208:28: error: 'top' is only available in macOS 10.15 or newer
195 | }
196 |
197 | extension Snackbar.Position {
    | `- note: add @available attribute to enclosing extension
198 |     public var description: String {
199 |         switch self {
    :
204 |     }
205 |
206 |     var alignment: Alignment {
    |         `- note: add @available attribute to enclosing property
207 |         switch self {
208 |         case .top: return .top
    |                            |- error: 'top' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
209 |         case .center: return .center
210 |         case .bottom: return .bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:209:31: error: 'center' is only available in macOS 10.15 or newer
195 | }
196 |
197 | extension Snackbar.Position {
    | `- note: add @available attribute to enclosing extension
198 |     public var description: String {
199 |         switch self {
    :
204 |     }
205 |
206 |     var alignment: Alignment {
    |         `- note: add @available attribute to enclosing property
207 |         switch self {
208 |         case .top: return .top
209 |         case .center: return .center
    |                               |- error: 'center' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
210 |         case .bottom: return .bottom
211 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:210:31: error: 'bottom' is only available in macOS 10.15 or newer
195 | }
196 |
197 | extension Snackbar.Position {
    | `- note: add @available attribute to enclosing extension
198 |     public var description: String {
199 |         switch self {
    :
204 |     }
205 |
206 |     var alignment: Alignment {
    |         `- note: add @available attribute to enclosing property
207 |         switch self {
208 |         case .top: return .top
209 |         case .center: return .center
210 |         case .bottom: return .bottom
    |                               |- error: 'bottom' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
211 |         }
212 |     }
[6/7] Compiling SwiftUISnackbar SnackbarModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 13 |     @State private var workItem: DispatchWorkItem?
 14 |     @State private var translation: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
 13 |     @State private var workItem: DispatchWorkItem?
    |      `- error: 'State' is only available in macOS 10.15 or newer
 14 |     @State private var translation: CGSize = .zero
 15 |     @State private var isDragging: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
 13 |     @State private var workItem: DispatchWorkItem?
 14 |     @State private var translation: CGSize = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 15 |     @State private var isDragging: Bool = false
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
 13 |     @State private var workItem: DispatchWorkItem?
 14 |     @State private var translation: CGSize = .zero
 15 |     @State private var isDragging: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 |     func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:17:41: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     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
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:42:50: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       |                          `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:42:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:140:40: error: 'Binding' is only available in macOS 10.15 or newer
136 | }
137 |
138 | extension View {
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
    |                 |                      `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
141 |         self.modifier(SnackbarModifier(snackbar: snackbar))
142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:140:68: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | extension View {
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
    |                 |                                                  `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
141 |         self.modifier(SnackbarModifier(snackbar: snackbar))
142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:138:11: error: 'View' is only available in macOS 10.15 or newer
136 | }
137 |
138 | extension View {
    | |         `- error: 'View' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:19: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 SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 20 |             .overlay(alignment: snackbar?.properties.position.alignment ?? .center) {
 21 |                 ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:20:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
 20 |             .overlay(alignment: snackbar?.properties.position.alignment ?? .center) {
    |              |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
 21 |                 ZStack {
 22 |                     mainSnackbarView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:20:77: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
 20 |             .overlay(alignment: snackbar?.properties.position.alignment ?? .center) {
    |                                                                             |- error: 'center' is only available in macOS 10.15 or newer
    |                                                                             `- note: add 'if #available' version check
 21 |                 ZStack {
 22 |                     mainSnackbarView()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:21:17: error: 'ZStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
 20 |             .overlay(alignment: snackbar?.properties.position.alignment ?? .center) {
 21 |                 ZStack {
    |                 |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 22 |                     mainSnackbarView()
 23 |                         .offset(y: animatedYOffset)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:23:26: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    :
 21 |                 ZStack {
 22 |                     mainSnackbarView()
 23 |                         .offset(y: animatedYOffset)
    |                          |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 24 |                         .opacity(animatedOpacity)
 25 |                 }.animation(.spring(), value: snackbar)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:24:26: error: 'opacity' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    :
 22 |                     mainSnackbarView()
 23 |                         .offset(y: animatedYOffset)
 24 |                         .opacity(animatedOpacity)
    |                          |- error: 'opacity' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 25 |                 }.animation(.spring(), value: snackbar)
 26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:25:19: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    :
 23 |                         .offset(y: animatedYOffset)
 24 |                         .opacity(animatedOpacity)
 25 |                 }.animation(.spring(), value: snackbar)
    |                   |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 26 |             }
 27 |             .onChange(of: snackbar, initial: false) { _, _ in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:25:30: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    :
 23 |                         .offset(y: animatedYOffset)
 24 |                         .opacity(animatedOpacity)
 25 |                 }.animation(.spring(), value: snackbar)
    |                              |- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 26 |             }
 27 |             .onChange(of: snackbar, initial: false) { _, _ in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:27:14: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 15 |     @State private var isDragging: Bool = false
 16 |
 17 |     func body(content: Content) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 18 |         content
 19 |             .frame(maxWidth: .infinity, maxHeight: .infinity)
    :
 25 |                 }.animation(.spring(), value: snackbar)
 26 |             }
 27 |             .onChange(of: snackbar, initial: false) { _, _ in
    |              |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |              `- note: add 'if #available' version check
 28 |                 showSnackbar()
 29 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:38:19: warning: immutable value 'snackbar' was never used; consider replacing with '_' or removing it [#no-usage]
 36 |     private var animatedOpacity: Double {
 37 |         let opaque = 1.0
 38 |         guard let snackbar, isDragging, isDismissing(translation: translation) else { return opaque }
    |                   `- warning: immutable value 'snackbar' was never used; consider replacing with '_' or removing it [#no-usage]
 39 |         return 1.0 / abs(translation.height / 10)
 40 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:47:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
 45 |                 dismissSnackbar(isUserAction: true)
 46 |             }
 47 |             .gesture(
    |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 48 |                 DragGesture()
 49 |                     .onChanged({ value in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:48:17: error: 'DragGesture' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 46 |             }
 47 |             .gesture(
 48 |                 DragGesture()
    |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 49 |                     .onChanged({ value in
 50 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:48:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 46 |             }
 47 |             .gesture(
 48 |                 DragGesture()
    |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |                 `- note: add 'if #available' version check
 49 |                     .onChanged({ value in
 50 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:49:22: error: 'onChanged' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 47 |             .gesture(
 48 |                 DragGesture()
 49 |                     .onChanged({ value in
    |                      |- error: 'onChanged' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 50 |                         withAnimation {
 51 |                             translation = value.translation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:50:25: error: 'withAnimation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 48 |                 DragGesture()
 49 |                     .onChanged({ value in
 50 |                         withAnimation {
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 51 |                             translation = value.translation
 52 |                             isDragging = true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:51:29: error: setter for 'translation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 49 |                     .onChanged({ value in
 50 |                         withAnimation {
 51 |                             translation = value.translation
    |                             |- error: setter for 'translation' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 52 |                             isDragging = true
 53 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:52:29: error: setter for 'isDragging' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 50 |                         withAnimation {
 51 |                             translation = value.translation
 52 |                             isDragging = true
    |                             |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 53 |                         }
 54 |                     })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:55:22: error: 'onEnded' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 53 |                         }
 54 |                     })
 55 |                     .onEnded({ value in
    |                      |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 56 |                         withAnimation {
 57 |                             if !isDismissing(translation: value.translation) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:56:25: error: 'withAnimation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 54 |                     })
 55 |                     .onEnded({ value in
 56 |                         withAnimation {
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 57 |                             if !isDismissing(translation: value.translation) {
 58 |                                 translation = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:58:33: error: setter for 'translation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 56 |                         withAnimation {
 57 |                             if !isDismissing(translation: value.translation) {
 58 |                                 translation = .zero
    |                                 |- error: setter for 'translation' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 59 |                                 isDragging = false
 60 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:59:33: error: setter for 'isDragging' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 57 |                             if !isDismissing(translation: value.translation) {
 58 |                                 translation = .zero
 59 |                                 isDragging = false
    |                                 |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 60 |                             }
 61 |                             dismissSnackbarIsNecessary(lastTranslation: value.translation)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:43:36: error: 'buildIf' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
    |                                    |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 44 |             SnackbarView(snackbar: snackbar) {
 45 |                 dismissSnackbar(isUserAction: true)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:67:9: error: 'buildIf' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
    :
 65 |             )
 66 |
 67 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 68 |     }
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:42:55: 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
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 40 |     }
 41 |
 42 |     @ViewBuilder func mainSnackbarView() -> some View {
    |                       |                               |- 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
    |                       `- note: add @available attribute to enclosing instance method
 43 |         if let snackbar = snackbar {
 44 |             SnackbarView(snackbar: snackbar) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:74:9: error: setter for 'isDragging' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 68 |     }
 69 |
 70 |     private func showSnackbar() {
    |                  `- note: add @available attribute to enclosing instance method
 71 |         guard let snackbar else { return }
 72 |
 73 |         // reset all properties
 74 |         isDragging = false
    |         |- error: setter for 'isDragging' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 75 |         translation = .zero
 76 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:75:9: error: setter for 'translation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 68 |     }
 69 |
 70 |     private func showSnackbar() {
    |                  `- note: add @available attribute to enclosing instance method
 71 |         guard let snackbar else { return }
 72 |
 73 |         // reset all properties
 74 |         isDragging = false
 75 |         translation = .zero
    |         |- error: setter for 'translation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |
 77 |         if snackbar.properties.disableHapticVibration == false {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:78:13: error: cannot find 'UIImpactFeedbackGenerator' in scope
 76 |
 77 |         if snackbar.properties.disableHapticVibration == false {
 78 |             UIImpactFeedbackGenerator(style: .light)
    |             `- error: cannot find 'UIImpactFeedbackGenerator' in scope
 79 |                 .impactOccurred()
 80 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:78:47: error: cannot infer contextual base in reference to member 'light'
 76 |
 77 |         if snackbar.properties.disableHapticVibration == false {
 78 |             UIImpactFeedbackGenerator(style: .light)
    |                                               `- error: cannot infer contextual base in reference to member 'light'
 79 |                 .impactOccurred()
 80 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:89:13: error: setter for 'workItem' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
 68 |     }
 69 |
 70 |     private func showSnackbar() {
    |                  `- note: add @available attribute to enclosing instance method
 71 |         guard let snackbar else { return }
 72 |
    :
 87 |             }
 88 |
 89 |             workItem = task
    |             |- error: setter for 'workItem' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 90 |             DispatchQueue.main.asyncAfter(deadline: .now() + seconds, execute: task)
 91 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:113:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
109 |     }
110 |
111 |     private func dismissSnackbar(isUserAction: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
112 |         let tempAction = snackbar?.action
113 |         withAnimation {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
114 |             snackbar = nil
115 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:114:13: error: setter for 'snackbar' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
109 |     }
110 |
111 |     private func dismissSnackbar(isUserAction: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
112 |         let tempAction = snackbar?.action
113 |         withAnimation {
114 |             snackbar = nil
    |             |- error: setter for 'snackbar' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
115 |         }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:118:9: error: setter for 'workItem' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct SnackbarModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
 11 |
 12 |     @Binding var snackbar: Snackbar?
    :
109 |     }
110 |
111 |     private func dismissSnackbar(isUserAction: Bool) {
    |                  `- note: add @available attribute to enclosing instance method
112 |         let tempAction = snackbar?.action
113 |         withAnimation {
    :
116 |
117 |         workItem?.cancel()
118 |         workItem = nil
    |         |- error: setter for 'workItem' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
119 |
120 |         if let action = tempAction, isUserAction {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:141:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
136 | }
137 |
138 | extension View {
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
141 |         self.modifier(SnackbarModifier(snackbar: snackbar))
    |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |              `- note: add 'if #available' version check
142 |     }
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarModifier.swift:141:14: error: 'modifier' is only available in macOS 10.15 or newer
136 | }
137 |
138 | extension View {
    | `- note: add @available attribute to enclosing extension
139 |
140 |     public func snackbarView(snackbar: Binding<Snackbar?>) -> some View {
    |                 `- note: add @available attribute to enclosing instance method
141 |         self.modifier(SnackbarModifier(snackbar: snackbar))
    |              |- error: 'modifier' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
142 |     }
143 | }
[7/7] Compiling SwiftUISnackbar SnackbarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
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 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:45:41: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:45:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
46 |         switch snackbar.action {
47 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:86:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
84 | }
85 |
86 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
87 |     SnackbarView(
88 |         snackbar: Snackbar(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:16:9: error: 'HStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             if let image = snackbar.icon.image {
18 |                 image
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:16:28: error: 'center' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
   |                            |- error: 'center' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
17 |             if let image = snackbar.icon.image {
18 |                 image
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:19:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
18 |                 image
19 |                     .resizable()
   |                      |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
20 |                     .foregroundColor(snackbar.icon.themeColor)
21 |                     .frame(width: 25, height: 25)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:20:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
18 |                 image
19 |                     .resizable()
20 |                     .foregroundColor(snackbar.icon.themeColor)
   |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
21 |                     .frame(width: 25, height: 25)
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:21:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
19 |                     .resizable()
20 |                     .foregroundColor(snackbar.icon.themeColor)
21 |                     .frame(width: 25, height: 25)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
22 |             }
23 |             VStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:17:48: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   |                                                |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                                `- note: add 'if #available' version check
18 |                 image
19 |                     .resizable()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:22:13: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
20 |                     .foregroundColor(snackbar.icon.themeColor)
21 |                     .frame(width: 25, height: 25)
22 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
23 |             VStack(alignment: .leading) {
24 |                 if let title = snackbar.title, !title.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:23:13: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
21 |                     .frame(width: 25, height: 25)
22 |             }
23 |             VStack(alignment: .leading) {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:23:32: error: 'leading' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
21 |                     .frame(width: 25, height: 25)
22 |             }
23 |             VStack(alignment: .leading) {
   |                                |- error: 'leading' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:25:21: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
23 |             VStack(alignment: .leading) {
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
   |                     |- 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
26 |                         .font(Font.headline)
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:25:21: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
23 |             VStack(alignment: .leading) {
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
26 |                         .font(Font.headline)
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:26:26: error: 'font' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
26 |                         .font(Font.headline)
   |                          |- error: 'font' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
28 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:26:31: error: 'Font' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
26 |                         .font(Font.headline)
   |                               |- error: 'Font' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
28 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:26:36: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
26 |                         .font(Font.headline)
   |                                    |- error: 'headline' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
28 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:27:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
25 |                     Text(title)
26 |                         .font(Font.headline)
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
   |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
28 |                 }
29 |                 Text(snackbar.message)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:24:63: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
22 |             }
23 |             VStack(alignment: .leading) {
24 |                 if let title = snackbar.title, !title.isEmpty {
   |                                                               |- 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
25 |                     Text(title)
26 |                         .font(Font.headline)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:24:63: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
22 |             }
23 |             VStack(alignment: .leading) {
24 |                 if let title = snackbar.title, !title.isEmpty {
   |                                                               |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                                               `- note: add 'if #available' version check
25 |                     Text(title)
26 |                         .font(Font.headline)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:28:17: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
26 |                         .font(Font.headline)
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
28 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
29 |                 Text(snackbar.message)
30 |                     .font(Font.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:29:17: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
28 |                 }
29 |                 Text(snackbar.message)
   |                 |- 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
30 |                     .font(Font.caption)
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:29:17: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
27 |                         .foregroundColor(snackbar.decorator.titleTextColor)
28 |                 }
29 |                 Text(snackbar.message)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
30 |                     .font(Font.caption)
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:30:22: error: 'font' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
28 |                 }
29 |                 Text(snackbar.message)
30 |                     .font(Font.caption)
   |                      |- error: 'font' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
32 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:30:27: error: 'Font' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
28 |                 }
29 |                 Text(snackbar.message)
30 |                     .font(Font.caption)
   |                           |- error: 'Font' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
32 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:30:32: error: 'caption' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
28 |                 }
29 |                 Text(snackbar.message)
30 |                     .font(Font.caption)
   |                                |- error: 'caption' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
32 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:31:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
29 |                 Text(snackbar.message)
30 |                     .font(Font.caption)
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
   |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
32 |             }
33 |             Spacer(minLength: 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:23:41: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
21 |                     .frame(width: 25, height: 25)
22 |             }
23 |             VStack(alignment: .leading) {
   |                                         |- 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
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:23:41: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
21 |                     .frame(width: 25, height: 25)
22 |             }
23 |             VStack(alignment: .leading) {
   |                                         |- 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
24 |                 if let title = snackbar.title, !title.isEmpty {
25 |                     Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:33:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
32 |             }
33 |             Spacer(minLength: 10)
   |             |- warning: conformance of 'Spacer' 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
34 |
35 |             actionButton
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:33:13: error: 'Spacer' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
31 |                     .foregroundColor(snackbar.decorator.messageTextColor)
32 |             }
33 |             Spacer(minLength: 10)
   |             |- error: 'Spacer' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
34 |
35 |             actionButton
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:16:49: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
   |                                                 |- 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
17 |             if let image = snackbar.icon.image {
18 |                 image
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:16:49: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
   |                                                 |- warning: conformance of 'Spacer' 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
17 |             if let image = snackbar.icon.image {
18 |                 image
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:37:10: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
35 |             actionButton
36 |         }
37 |         .padding()
   |          |- error: 'padding' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
38 |         .frame(minWidth: 0, maxWidth: snackbar.decorator.width)
39 |         .background(snackbar.decorator.backgroundColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:38:10: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
36 |         }
37 |         .padding()
38 |         .frame(minWidth: 0, maxWidth: snackbar.decorator.width)
   |          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
39 |         .background(snackbar.decorator.backgroundColor)
40 |         .cornerRadius(8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:39:10: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
37 |         .padding()
38 |         .frame(minWidth: 0, maxWidth: snackbar.decorator.width)
39 |         .background(snackbar.decorator.backgroundColor)
   |          |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |          `- note: add 'if #available' version check
40 |         .cornerRadius(8)
41 |         .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:40:10: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
38 |         .frame(minWidth: 0, maxWidth: snackbar.decorator.width)
39 |         .background(snackbar.decorator.backgroundColor)
40 |         .cornerRadius(8)
   |          |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
41 |         .padding(.horizontal, 16)
42 |         .shadow(color: Color.black.opacity(0.8), radius: 8)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:41:10: error: 'padding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
39 |         .background(snackbar.decorator.backgroundColor)
40 |         .cornerRadius(8)
41 |         .padding(.horizontal, 16)
   |          |- error: 'padding' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
42 |         .shadow(color: Color.black.opacity(0.8), radius: 8)
43 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:42:10: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
40 |         .cornerRadius(8)
41 |         .padding(.horizontal, 16)
42 |         .shadow(color: Color.black.opacity(0.8), radius: 8)
   |          |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
43 |     }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:42:24: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
40 |         .cornerRadius(8)
41 |         .padding(.horizontal, 16)
42 |         .shadow(color: Color.black.opacity(0.8), radius: 8)
   |                        |- error: 'Color' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
43 |     }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:42:30: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
40 |         .cornerRadius(8)
41 |         .padding(.horizontal, 16)
42 |         .shadow(color: Color.black.opacity(0.8), radius: 8)
   |                              |- error: 'black' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
43 |     }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:42:36: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
13 |     let onActionTapped: (() -> Void)
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         HStack(alignment: .center, spacing: 12) {
17 |             if let image = snackbar.icon.image {
   :
40 |         .cornerRadius(8)
41 |         .padding(.horizontal, 16)
42 |         .shadow(color: Color.black.opacity(0.8), radius: 8)
   |                                    |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
43 |     }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:48:13: error: 'EmptyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
   |             |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
49 |         case .xMark(let color):
50 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:48:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
49 |         case .xMark(let color):
50 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:48:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
49 |         case .xMark(let color):
50 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:48:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
49 |         case .xMark(let color):
50 |             Button {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:50:13: error: 'Button' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
49 |         case .xMark(let color):
50 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
51 |                 onActionTapped()
52 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:53:17: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
51 |                 onActionTapped()
52 |             } label: {
53 |                 Image(systemName: "xmark")
   |                 |- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
54 |                     .foregroundColor(color)
55 |                     .frame(width: 25, height: 25)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:53:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
51 |                 onActionTapped()
52 |             } label: {
53 |                 Image(systemName: "xmark")
   |                 |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                 `- note: add 'if #available' version check
54 |                     .foregroundColor(color)
55 |                     .frame(width: 25, height: 25)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:54:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
52 |             } label: {
53 |                 Image(systemName: "xmark")
54 |                     .foregroundColor(color)
   |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
55 |                     .frame(width: 25, height: 25)
56 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:55:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
53 |                 Image(systemName: "xmark")
54 |                     .foregroundColor(color)
55 |                     .frame(width: 25, height: 25)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
56 |             }
57 |         case .text(let string, let color, _):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:50:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
49 |         case .xMark(let color):
50 |             Button {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
51 |                 onActionTapped()
52 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:50:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
49 |         case .xMark(let color):
50 |             Button {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
51 |                 onActionTapped()
52 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:50:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
48 |             EmptyView()
49 |         case .xMark(let color):
50 |             Button {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
51 |                 onActionTapped()
52 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:58: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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
56 |             }
57 |         case .text(let string, let color, _):
58 |             Button {
   |             |- 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
59 |                 onActionTapped()
60 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:58:13: error: 'Button' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
56 |             }
57 |         case .text(let string, let color, _):
58 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
59 |                 onActionTapped()
60 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:58: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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
56 |             }
57 |         case .text(let string, let color, _):
58 |             Button {
   |             |- 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
59 |                 onActionTapped()
60 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:61:17: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
59 |                 onActionTapped()
60 |             } label: {
61 |                 Text(string)
   |                 |- 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
62 |                     .foregroundStyle(color)
63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:61:17: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
59 |                 onActionTapped()
60 |             } label: {
61 |                 Text(string)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
62 |                     .foregroundStyle(color)
63 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:62:22: error: 'foregroundStyle' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
60 |             } label: {
61 |                 Text(string)
62 |                     .foregroundStyle(color)
   |                      |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
63 |             }
64 |         case .systemImage(let imageName, let color, _):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:60:22: 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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
58 |             Button {
59 |                 onActionTapped()
60 |             } label: {
   |                      |- 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
61 |                 Text(string)
62 |                     .foregroundStyle(color)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:58: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
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
56 |             }
57 |         case .text(let string, let color, _):
58 |             Button {
   |             |- 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
59 |                 onActionTapped()
60 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:58:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
56 |             }
57 |         case .text(let string, let color, _):
58 |             Button {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
59 |                 onActionTapped()
60 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:58:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
56 |             }
57 |         case .text(let string, let color, _):
58 |             Button {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
59 |                 onActionTapped()
60 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:58:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
56 |             }
57 |         case .text(let string, let color, _):
58 |             Button {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
59 |                 onActionTapped()
60 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:65:13: error: 'Button' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
63 |             }
64 |         case .systemImage(let imageName, let color, _):
65 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
66 |                 onActionTapped()
67 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:68:17: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
66 |                 onActionTapped()
67 |             } label: {
68 |                 Image(systemName: imageName)
   |                 |- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
69 |                     .foregroundColor(color)
70 |                     .frame(width: 25, height: 25)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:68:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
66 |                 onActionTapped()
67 |             } label: {
68 |                 Image(systemName: imageName)
   |                 |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
   |                 `- note: add 'if #available' version check
69 |                     .foregroundColor(color)
70 |                     .frame(width: 25, height: 25)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:69:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
67 |             } label: {
68 |                 Image(systemName: imageName)
69 |                     .foregroundColor(color)
   |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
70 |                     .frame(width: 25, height: 25)
71 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:70:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
68 |                 Image(systemName: imageName)
69 |                     .foregroundColor(color)
70 |                     .frame(width: 25, height: 25)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
71 |             }
72 |         case .imageName(let imageName, _):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:65:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
63 |             }
64 |         case .systemImage(let imageName, let color, _):
65 |             Button {
   |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
66 |                 onActionTapped()
67 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:65:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
63 |             }
64 |         case .systemImage(let imageName, let color, _):
65 |             Button {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
66 |                 onActionTapped()
67 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:65:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
63 |             }
64 |         case .systemImage(let imageName, let color, _):
65 |             Button {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
66 |                 onActionTapped()
67 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:73:13: error: 'Button' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
71 |             }
72 |         case .imageName(let imageName, _):
73 |             Button {
   |             |- error: 'Button' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
74 |                 onActionTapped()
75 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:76:17: error: 'Image' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
74 |                 onActionTapped()
75 |             } label: {
76 |                 Image(imageName)
   |                 |- error: 'Image' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
77 |                     .resizable()
78 |                     .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:76:17: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
74 |                 onActionTapped()
75 |             } label: {
76 |                 Image(imageName)
   |                 |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
77 |                     .resizable()
78 |                     .aspectRatio(contentMode: .fit)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:77:22: error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
75 |             } label: {
76 |                 Image(imageName)
77 |                     .resizable()
   |                      |- error: 'resizable(capInsets:resizingMode:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
78 |                     .aspectRatio(contentMode: .fit)
79 |                     .frame(width: 25, height: 25)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:78:22: error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
76 |                 Image(imageName)
77 |                     .resizable()
78 |                     .aspectRatio(contentMode: .fit)
   |                      |- error: 'aspectRatio(_:contentMode:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
79 |                     .frame(width: 25, height: 25)
80 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:79:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
77 |                     .resizable()
78 |                     .aspectRatio(contentMode: .fit)
79 |                     .frame(width: 25, height: 25)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
80 |             }
81 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:73:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
   :
71 |             }
72 |         case .imageName(let imageName, _):
73 |             Button {
   |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
74 |                 onActionTapped()
75 |             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarView.swift:45:46: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | struct SnackbarView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     let snackbar: Snackbar
   :
43 |     }
44 |
45 |     @ViewBuilder var actionButton: some View {
   |                      |                       |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                      |                       `- note: add 'if #available' version check
   |                      `- note: add @available attribute to enclosing property
46 |         switch snackbar.action {
47 |         case .none:
BUILD FAILURE 6.2 macosSpm