The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUISnackbar, reference main (6bfa06), with Swift 6.2 for macOS (SPM) on 9 Apr 2026 23:04:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chrisnyw/SwiftUI-Snackbar.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chrisnyw/SwiftUI-Snackbar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6bfa062 Merge pull request #3 from awt2542/main
Cloned https://github.com/chrisnyw/SwiftUI-Snackbar.git
Revision (git rev-parse @):
6bfa062d548daae4b5a0a401908d445b2a4594aa
SUCCESS checkout https://github.com/chrisnyw/SwiftUI-Snackbar.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftui-snackbar",
      "name": "SwiftUISnackbar",
      "url": "https://github.com/chrisnyw/SwiftUI-Snackbar.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-Snackbar",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/chrisnyw/SwiftUI-Snackbar.git
[1/113] Fetching swiftui-snackbar
Fetched https://github.com/chrisnyw/SwiftUI-Snackbar.git from cache (0.92s)
Creating working copy for https://github.com/chrisnyw/SwiftUI-Snackbar.git
Working copy of https://github.com/chrisnyw/SwiftUI-Snackbar.git resolved at main (6bfa062)
warning: '.resolve-product-dependencies': dependency 'swiftui-snackbar' is not used by any target
Found 0 product dependencies
========================================
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.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.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:117:19: note: consider making struct 'Properties' conform to the 'Sendable' protocol
115 |     }
116 |
117 |     public struct Properties: Hashable {
    |                   `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
118 |         /// Configure the snackbar position
119 |         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:48:17: note: consider making enum 'Icon' conform to the 'Sendable' protocol
 46 |     }
 47 |
 48 |     public enum Icon: Hashable {
    |                 `- note: consider making enum 'Icon' conform to the 'Sendable' protocol
 49 |         case none
 50 |         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:58:17: note: consider making enum 'Action' conform to the 'Sendable' protocol
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: consider making enum 'Action' conform to the 'Sendable' protocol
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             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 |         /// Set the snackbar corner radius
 23 |         let cornerRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:25:26: 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
    :
 23 |         let cornerRadius: CGFloat
 24 |         /// Set the snackbar shadow color
 25 |         let shadowColor: Color
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 26 |         /// Set the snackbar shadow blur radius
 27 |         let shadowRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:31: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:32: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:33: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:26: 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:31:44: error: cannot find 'UIColor' in scope
 29 |         public init(
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                                            `- error: cannot find 'UIColor' in scope
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:32: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
    |                                      `- error: 'primary' is only available in macOS 10.15 or newer
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:33: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
    |                                        `- error: 'primary' is only available in macOS 10.15 or newer
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:34: 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:40: error: 'black' 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                                        `- error: 'black' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:46: error: 'opacity' 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                                              `- error: 'opacity' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:48:5: warning: 'public' modifier is redundant for enum declared in a public extension
 46 |     }
 47 |
 48 |     public enum Icon: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 49 |         case none
 50 |         case error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:54:47: error: 'Color' is only available in macOS 10.15 or newer
 46 |     }
 47 |
 48 |     public enum Icon: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 49 |         case none
 50 |         case error
    :
 52 |         case success
 53 |         case info
 54 |         case system(imageName: String, Color: Color)
    |                                               `- error: 'Color' is only available in macOS 10.15 or newer
 55 |         case custom(imageName: String)
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:58:5: warning: 'public' modifier is redundant for enum declared in a public extension
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:94:20: error: 'Color' is only available in macOS 10.15 or newer
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
    :
 92 |
 93 |         case none
 94 |         case xMark(Color)
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 95 |         case text(String, Color, ActionHanlder)
 96 |         case systemImage(String, Color, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:95:27: error: 'Color' is only available in macOS 10.15 or newer
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
    :
 93 |         case none
 94 |         case xMark(Color)
 95 |         case text(String, Color, ActionHanlder)
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 96 |         case systemImage(String, Color, ActionHanlder)
 97 |         case imageName(String, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:96:34: error: 'Color' is only available in macOS 10.15 or newer
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
    :
 94 |         case xMark(Color)
 95 |         case text(String, Color, ActionHanlder)
 96 |         case systemImage(String, Color, ActionHanlder)
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 97 |         case imageName(String, ActionHanlder)
 98 |     }
/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 Position: Hashable, CaseIterable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
101 |         public static var allCases: [Snackbar.Position] = [
102 |             .top(offset: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:112:5: warning: 'public' modifier is redundant for enum declared in a public extension
110 |     }
111 |
112 |     public enum Duration: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
113 |         case fixed(seconds: TimeInterval)
114 |         case infinite
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:117:5: warning: 'public' modifier is redundant for struct declared in a public extension
115 |     }
116 |
117 |     public struct Properties: Hashable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
118 |         /// Configure the snackbar position
119 |         let position: Position
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:158:21: error: 'Color' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         |           `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:185:16: error: 'Image' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         |      `- error: 'Image' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:218:20: error: 'Alignment' is only available in macOS 10.15 or newer
207 | }
208 |
209 | extension Snackbar.Position {
    | `- note: add '@available' attribute to enclosing extension
210 |     public var description: String {
211 |         switch self {
    :
216 |     }
217 |
218 |     var alignment: Alignment {
    |         |          `- error: 'Alignment' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
219 |         switch self {
220 |         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:117:19: note: consider making struct 'Properties' conform to the 'Sendable' protocol
115 |     }
116 |
117 |     public struct Properties: Hashable {
    |                   `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
118 |         /// Configure the snackbar position
119 |         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:48:17: note: consider making enum 'Icon' conform to the 'Sendable' protocol
 46 |     }
 47 |
 48 |     public enum Icon: Hashable {
    |                 `- note: consider making enum 'Icon' conform to the 'Sendable' protocol
 49 |         case none
 50 |         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:58:17: note: consider making enum 'Action' conform to the 'Sendable' protocol
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: consider making enum 'Action' conform to the 'Sendable' protocol
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             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 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 | }
[6/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 |         /// Set the snackbar corner radius
 23 |         let cornerRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:25:26: 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
    :
 23 |         let cornerRadius: CGFloat
 24 |         /// Set the snackbar shadow color
 25 |         let shadowColor: Color
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 26 |         /// Set the snackbar shadow blur radius
 27 |         let shadowRadius: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:31: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:32: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
    |                             `- error: 'Color' is only available in macOS 10.15 or newer
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:33: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:26: 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:31:44: error: cannot find 'UIColor' in scope
 29 |         public init(
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    |                                            `- error: cannot find 'UIColor' in scope
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:32: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
    |                                      `- error: 'primary' is only available in macOS 10.15 or newer
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:33: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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
 32 |             titleTextColor: Color = .primary,
 33 |             messageTextColor: Color = .primary,
    |                                        `- error: 'primary' is only available in macOS 10.15 or newer
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:34: 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:40: error: 'black' 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                                        `- error: 'black' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:35:46: error: 'opacity' 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
    :
 27 |         let shadowRadius: CGFloat
 28 |
 29 |         public init(
    |                `- note: add '@available' attribute to enclosing initializer
 30 |             width: Double = .infinity,
 31 |             backgroundColor: Color = Color(UIColor.secondarySystemBackground),
    :
 33 |             messageTextColor: Color = .primary,
 34 |             cornerRadius: CGFloat = 8,
 35 |             shadowColor: Color = Color.black.opacity(0.8),
    |                                              `- error: 'opacity' is only available in macOS 10.15 or newer
 36 |             shadowRadius: CGFloat = 8
 37 |         ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:48:5: warning: 'public' modifier is redundant for enum declared in a public extension
 46 |     }
 47 |
 48 |     public enum Icon: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 49 |         case none
 50 |         case error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:54:47: error: 'Color' is only available in macOS 10.15 or newer
 46 |     }
 47 |
 48 |     public enum Icon: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 49 |         case none
 50 |         case error
    :
 52 |         case success
 53 |         case info
 54 |         case system(imageName: String, Color: Color)
    |                                               `- error: 'Color' is only available in macOS 10.15 or newer
 55 |         case custom(imageName: String)
 56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:58:5: warning: 'public' modifier is redundant for enum declared in a public extension
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:94:20: error: 'Color' is only available in macOS 10.15 or newer
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
    :
 92 |
 93 |         case none
 94 |         case xMark(Color)
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 95 |         case text(String, Color, ActionHanlder)
 96 |         case systemImage(String, Color, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:95:27: error: 'Color' is only available in macOS 10.15 or newer
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
    :
 93 |         case none
 94 |         case xMark(Color)
 95 |         case text(String, Color, ActionHanlder)
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 96 |         case systemImage(String, Color, ActionHanlder)
 97 |         case imageName(String, ActionHanlder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:96:34: error: 'Color' is only available in macOS 10.15 or newer
 56 |     }
 57 |
 58 |     public enum Action: Hashable {
    |                 `- note: add '@available' attribute to enclosing enum
 59 |         public func hash(into hasher: inout Hasher) {
 60 |             switch self {
    :
 94 |         case xMark(Color)
 95 |         case text(String, Color, ActionHanlder)
 96 |         case systemImage(String, Color, ActionHanlder)
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 97 |         case imageName(String, ActionHanlder)
 98 |     }
/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 Position: Hashable, CaseIterable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
101 |         public static var allCases: [Snackbar.Position] = [
102 |             .top(offset: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:112:5: warning: 'public' modifier is redundant for enum declared in a public extension
110 |     }
111 |
112 |     public enum Duration: Hashable {
    |     `- warning: 'public' modifier is redundant for enum declared in a public extension
113 |         case fixed(seconds: TimeInterval)
114 |         case infinite
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:117:5: warning: 'public' modifier is redundant for struct declared in a public extension
115 |     }
116 |
117 |     public struct Properties: Hashable {
    |     `- warning: 'public' modifier is redundant for struct declared in a public extension
118 |         /// Configure the snackbar position
119 |         let position: Position
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:158:21: error: 'Color' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         |           `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:185:16: error: 'Image' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         |      `- error: 'Image' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:218:20: error: 'Alignment' is only available in macOS 10.15 or newer
207 | }
208 |
209 | extension Snackbar.Position {
    | `- note: add '@available' attribute to enclosing extension
210 |     public var description: String {
211 |         switch self {
    :
216 |     }
217 |
218 |     var alignment: Alignment {
    |         |          `- error: 'Alignment' is only available in macOS 10.15 or newer
    |         `- note: add '@available' attribute to enclosing property
219 |         switch self {
220 |         case .top: return .top
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:162:20: error: 'Color' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
161 |                 .custom:
162 |             return Color.primary
    |                    |- error: 'Color' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
163 |         case .error: return Color.red
164 |         case .warning: return Color.orange
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:162:26: error: 'primary' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
161 |                 .custom:
162 |             return Color.primary
    |                          |- error: 'primary' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
163 |         case .error: return Color.red
164 |         case .warning: return Color.orange
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:163:29: error: 'Color' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
161 |                 .custom:
162 |             return Color.primary
163 |         case .error: return Color.red
    |                             |- error: 'Color' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
164 |         case .warning: return Color.orange
165 |         case .info: return Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:163:35: error: 'red' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
161 |                 .custom:
162 |             return Color.primary
163 |         case .error: return Color.red
    |                                   |- error: 'red' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
164 |         case .warning: return Color.orange
165 |         case .info: return Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:164:31: error: 'Color' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
    :
162 |             return Color.primary
163 |         case .error: return Color.red
164 |         case .warning: return Color.orange
    |                               |- error: 'Color' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
165 |         case .info: return Color.blue
166 |         case .success: return Color.green
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:164:37: error: 'orange' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
    :
162 |             return Color.primary
163 |         case .error: return Color.red
164 |         case .warning: return Color.orange
    |                                     |- error: 'orange' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
165 |         case .info: return Color.blue
166 |         case .success: return Color.green
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:165:28: error: 'Color' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
    :
163 |         case .error: return Color.red
164 |         case .warning: return Color.orange
165 |         case .info: return Color.blue
    |                            |- error: 'Color' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
166 |         case .success: return Color.green
167 |         case .system(_, let color):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:165:34: error: 'blue' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
    :
163 |         case .error: return Color.red
164 |         case .warning: return Color.orange
165 |         case .info: return Color.blue
    |                                  |- error: 'blue' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
166 |         case .success: return Color.green
167 |         case .system(_, let color):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:166:31: error: 'Color' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
    :
164 |         case .warning: return Color.orange
165 |         case .info: return Color.blue
166 |         case .success: return Color.green
    |                               |- error: 'Color' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
167 |         case .system(_, let color):
168 |             return color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:166:37: error: 'green' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
156 |     }
157 |
158 |     var themeColor: Color {
    |         `- note: add '@available' attribute to enclosing property
159 |         switch self {
160 |         case .none,
    :
164 |         case .warning: return Color.orange
165 |         case .info: return Color.blue
166 |         case .success: return Color.green
    |                                     |- error: 'green' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
167 |         case .system(_, let color):
168 |             return color
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:194:24: error: 'Image' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
    :
192 |                 .error:
193 |             if let imageName = self.iconFileName {
194 |                 return Image(systemName: imageName)
    |                        |- error: 'Image' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
195 |             }
196 |         case .system(let imageName, _):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:194:24: error: 'init(systemName:)' is only available in macOS 11.0 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
    :
192 |                 .error:
193 |             if let imageName = self.iconFileName {
194 |                 return Image(systemName: imageName)
    |                        |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                        `- note: add 'if #available' version check
195 |             }
196 |         case .system(let imageName, _):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:197:20: error: 'Image' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
    :
195 |             }
196 |         case .system(let imageName, _):
197 |             return Image(systemName: imageName)
    |                    |- error: 'Image' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
198 |         case .custom(let imageName):
199 |             return Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:197:20: error: 'init(systemName:)' is only available in macOS 11.0 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
    :
195 |             }
196 |         case .system(let imageName, _):
197 |             return Image(systemName: imageName)
    |                    |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                    `- note: add 'if #available' version check
198 |         case .custom(let imageName):
199 |             return Image(imageName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:199:20: error: 'Image' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
    :
197 |             return Image(systemName: imageName)
198 |         case .custom(let imageName):
199 |             return Image(imageName)
    |                    |- error: 'Image' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
200 |         }
201 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:199:20: error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
143 | }
144 |
145 | extension Snackbar.Icon {
    | `- note: add '@available' attribute to enclosing extension
146 |     public var description: String {
147 |         switch self {
    :
183 |     }
184 |
185 |     var image: Image? {
    |         `- note: add '@available' attribute to enclosing property
186 |         switch self {
187 |         case .none:
    :
197 |             return Image(systemName: imageName)
198 |         case .custom(let imageName):
199 |             return Image(imageName)
    |                    |- error: 'init(_:bundle:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
200 |         }
201 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:220:28: error: 'top' is only available in macOS 10.15 or newer
207 | }
208 |
209 | extension Snackbar.Position {
    | `- note: add '@available' attribute to enclosing extension
210 |     public var description: String {
211 |         switch self {
    :
216 |     }
217 |
218 |     var alignment: Alignment {
    |         `- note: add '@available' attribute to enclosing property
219 |         switch self {
220 |         case .top: return .top
    |                            |- error: 'top' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
221 |         case .center: return .center
222 |         case .bottom: return .bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:221:31: error: 'center' is only available in macOS 10.15 or newer
207 | }
208 |
209 | extension Snackbar.Position {
    | `- note: add '@available' attribute to enclosing extension
210 |     public var description: String {
211 |         switch self {
    :
216 |     }
217 |
218 |     var alignment: Alignment {
    |         `- note: add '@available' attribute to enclosing property
219 |         switch self {
220 |         case .top: return .top
221 |         case .center: return .center
    |                               |- error: 'center' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
222 |         case .bottom: return .bottom
223 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISnackbar/SnackbarProperties.swift:222:31: error: 'bottom' is only available in macOS 10.15 or newer
207 | }
208 |
209 | extension Snackbar.Position {
    | `- note: add '@available' attribute to enclosing extension
210 |     public var description: String {
211 |         switch self {
    :
216 |     }
217 |
218 |     var alignment: Alignment {
    |         `- note: add '@available' attribute to enclosing property
219 |         switch self {
220 |         case .top: return .top
221 |         case .center: return .center
222 |         case .bottom: return .bottom
    |                               |- error: 'bottom' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
223 |         }
224 |     }
[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(snackbar.decorator.cornerRadius)
/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(snackbar.decorator.cornerRadius)
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(snackbar.decorator.cornerRadius)
   |          |- 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: snackbar.decorator.shadowColor, radius: snackbar.decorator.shadowRadius)
/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(snackbar.decorator.cornerRadius)
41 |         .padding(.horizontal, 16)
   |          |- error: 'padding' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
42 |         .shadow(color: snackbar.decorator.shadowColor, radius: snackbar.decorator.shadowRadius)
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(snackbar.decorator.cornerRadius)
41 |         .padding(.horizontal, 16)
42 |         .shadow(color: snackbar.decorator.shadowColor, radius: snackbar.decorator.shadowRadius)
   |          |- 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: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