The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SwiftUIToast, reference 1.0.0 (5756cf), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:52:37 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/VansonLeung/SwiftUI-Toast.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/VansonLeung/SwiftUI-Toast
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5756cf2 Create LICENSE
Cloned https://github.com/VansonLeung/SwiftUI-Toast.git
Revision (git rev-parse @):
5756cf2ea80453e8338fdbf7cd8cf326c94d822e
SUCCESS checkout https://github.com/VansonLeung/SwiftUI-Toast.git at 1.0.0
========================================
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-toast",
      "name": "SwiftUIToast",
      "url": "https://github.com/VansonLeung/SwiftUI-Toast.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-Toast",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/VansonLeung/SwiftUI-Toast.git
[1/55] Fetching swiftui-toast
Fetched https://github.com/VansonLeung/SwiftUI-Toast.git from cache (1.49s)
Creating working copy for https://github.com/VansonLeung/SwiftUI-Toast.git
Working copy of https://github.com/VansonLeung/SwiftUI-Toast.git resolved at 1.0.0 (5756cf2)
warning: '.resolve-product-dependencies': dependency 'swiftui-toast' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/VansonLeung/SwiftUI-Toast.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftUIToast
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:31:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 | public class SUIToastController : ObservableObject {
 30 |
 31 |     public static var shared = SUIToastController()
    |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |
 33 |     public var toastLengthLong = 3.5
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:37:6: error: 'Published' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
    :
 35 |     public var toastLengthShort = 2.0
 36 |
 37 |     @Published var items: [SUIToastViewCellItem] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 38 |
 39 |     private var updateTimer: Timer?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:29:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:100:25: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
 99 |     public var message: String
100 |     public var bgColor: Color
    |                         `- error: 'Color' is only available in macOS 10.15 or newer
101 |     public var messageColor: Color
102 |     public var createdAt: Date
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:101:30: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
 99 |     public var message: String
100 |     public var bgColor: Color
101 |     public var messageColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
102 |     public var createdAt: Date
103 |     public var toastLength: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:108:18: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
    |                  `- error: 'Color' is only available in macOS 10.15 or newer
109 |         messageColor: Color = .white
110 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:109:23: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
109 |         messageColor: Color = .white
    |                       `- error: 'Color' is only available in macOS 10.15 or newer
110 |     ) {
111 |         self.id = UUID().uuidString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:108:27: error: 'black' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
    |                           `- error: 'black' is only available in macOS 10.15 or newer
109 |         messageColor: Color = .white
110 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:109:32: error: 'white' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
109 |         messageColor: Color = .white
    |                                `- error: 'white' is only available in macOS 10.15 or newer
110 |     ) {
111 |         self.id = UUID().uuidString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:131:6: error: 'StateObject' is only available in macOS 11.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
132 |
133 |     public enum StackAlignment {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:155:19: error: 'StateObject' is only available in macOS 11.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
150 |
151 |
152 |     public init(
    |            `- note: add @available attribute to enclosing initializer
153 |         stackAlignment: StackAlignment = .bottom,
154 |         stackOverlap: StackOverlap = .overlap,
155 |         toastObs: StateObject<SUIToastController>? = nil
    |                   `- error: 'StateObject' is only available in macOS 11.0 or newer
156 |     ) {
157 |         self.stackAlignment = stackAlignment
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:167:27: error: 'View' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:239:20: error: 'View' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
[4/4] Compiling SwiftUIToast SwiftUIToast.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:31:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 | public class SUIToastController : ObservableObject {
 30 |
 31 |     public static var shared = SUIToastController()
    |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |
 33 |     public var toastLengthLong = 3.5
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:37:6: error: 'Published' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
    :
 35 |     public var toastLengthShort = 2.0
 36 |
 37 |     @Published var items: [SUIToastViewCellItem] = []
    |      `- error: 'Published' is only available in macOS 10.15 or newer
 38 |
 39 |     private var updateTimer: Timer?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:29:35: error: 'ObservableObject' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              |                    `- error: 'ObservableObject' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:100:25: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
 99 |     public var message: String
100 |     public var bgColor: Color
    |                         `- error: 'Color' is only available in macOS 10.15 or newer
101 |     public var messageColor: Color
102 |     public var createdAt: Date
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:101:30: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
 99 |     public var message: String
100 |     public var bgColor: Color
101 |     public var messageColor: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
102 |     public var createdAt: Date
103 |     public var toastLength: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:108:18: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
    |                  `- error: 'Color' is only available in macOS 10.15 or newer
109 |         messageColor: Color = .white
110 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:109:23: error: 'Color' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
109 |         messageColor: Color = .white
    |                       `- error: 'Color' is only available in macOS 10.15 or newer
110 |     ) {
111 |         self.id = UUID().uuidString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:108:27: error: 'black' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
    |                           `- error: 'black' is only available in macOS 10.15 or newer
109 |         messageColor: Color = .white
110 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:109:32: error: 'white' is only available in macOS 10.15 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
108 |         bgColor: Color = .black,
109 |         messageColor: Color = .white
    |                                `- error: 'white' is only available in macOS 10.15 or newer
110 |     ) {
111 |         self.id = UUID().uuidString
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:131:6: error: 'StateObject' is only available in macOS 11.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    |      `- error: 'StateObject' is only available in macOS 11.0 or newer
132 |
133 |     public enum StackAlignment {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:155:19: error: 'StateObject' is only available in macOS 11.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
150 |
151 |
152 |     public init(
    |            `- note: add @available attribute to enclosing initializer
153 |         stackAlignment: StackAlignment = .bottom,
154 |         stackOverlap: StackOverlap = .overlap,
155 |         toastObs: StateObject<SUIToastController>? = nil
    |                   `- error: 'StateObject' is only available in macOS 11.0 or newer
156 |     ) {
157 |         self.stackAlignment = stackAlignment
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:167:27: error: 'View' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
<unknown>:0: error: cannot convert value of type 'KeyPath<SUIToastController, [SUIToastViewCellItem]>' to expected argument type 'ReferenceWritableKeyPath<SUIToastController, [SUIToastViewCellItem]>'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:239:20: error: 'View' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:50:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
    :
 47 |     }
 48 |
 49 |     public func show(_ message: String) {
    |                 `- note: add @available attribute to enclosing instance method
 50 |         items.append(
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 51 |             .init(
 52 |                 message: message
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:58:9: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
    :
 55 |     }
 56 |
 57 |     public func show(messageItem: SUIToastViewCellItem) {
    |                 `- note: add @available attribute to enclosing instance method
 58 |         items.append(
    |         |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 59 |             messageItem
 60 |         )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:85:17: error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
    :
 77 |     }
 78 |
 79 |     @objc func onUpdate() {
    |                `- note: add @available attribute to enclosing instance method
 80 |         var isUpdated = false
 81 |
    :
 83 |             let it = items[k]
 84 |             if it.isExpired {
 85 |                 items.remove(at: k)
    |                 |- error: cannot pass as inout because setter for 'items' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 86 |                 isUpdated = true
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:91:18: error: 'objectWillChange' is only available in macOS 10.15 or newer
 27 |
 28 |  */
 29 | public class SUIToastController : ObservableObject {
    |              `- note: add @available attribute to enclosing class
 30 |
 31 |     public static var shared = SUIToastController()
    :
 77 |     }
 78 |
 79 |     @objc func onUpdate() {
    |                `- note: add @available attribute to enclosing instance method
 80 |         var isUpdated = false
 81 |
    :
 89 |
 90 |         if isUpdated {
 91 |             self.objectWillChange.send()
    |                  |- error: 'objectWillChange' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:115:31: error: 'now' is only available in macOS 12 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
103 |     public var toastLength: CGFloat
104 |
105 |     public init(
    |            `- note: add @available attribute to enclosing initializer
106 |         message: String = "",
107 |         length: CGFloat = SUIToast.toastLengthLong,
    :
113 |         self.bgColor = bgColor
114 |         self.messageColor = messageColor
115 |         self.createdAt = Date.now
    |                               |- error: 'now' is only available in macOS 12 or newer
    |                               `- note: add 'if #available' version check
116 |         self.toastLength = length
117 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:121:25: error: 'now' is only available in macOS 12 or newer
 94 | }
 95 |
 96 | public struct SUIToastViewCellItem: Identifiable, Hashable {
    |               `- note: add @available attribute to enclosing struct
 97 |
 98 |     public var id: String
    :
117 |     }
118 |
119 |     var isExpired: Bool {
    |         `- note: add @available attribute to enclosing property
120 |         get {
121 |             return Date.now.timeIntervalSinceReferenceDate - createdAt.timeIntervalSinceReferenceDate > toastLength
    |                         |- error: 'now' is only available in macOS 12 or newer
    |                         `- note: add 'if #available' version check
122 |         }
123 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:168:9: error: 'ZStack' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
169 |             VStack(spacing: 0) {
170 |                 if stackAlignment == .bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:168:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
    |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
169 |             VStack(spacing: 0) {
170 |                 if stackAlignment == .bottom
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:169:13: error: 'VStack' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    |             |- error: 'VStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:169:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    |                                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                `- note: add 'if #available' version check
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:172:21: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
172 |                     Spacer()
    |                     |- 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
173 |                 }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:172:21: error: 'Spacer' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
172 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
173 |                 }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:171:50: error: 'buildIf' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
    |                                                  |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
172 |                     Spacer()
173 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:171:50: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
    |                                                  |- 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
172 |                     Spacer()
173 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:173:17: error: 'buildIf' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
171 |                     || stackAlignment == .middle {
172 |                     Spacer()
173 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
174 |
175 |                 if stackOverlap == .overlap {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:176:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
174 |
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
    |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
177 |                         ForEach(
178 |                             toastObs.items,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:176:21: error: 'ZStack' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
174 |
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
    |                     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
177 |                         ForEach(
178 |                             toastObs.items,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:176:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
174 |
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
    |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
177 |                         ForEach(
178 |                             toastObs.items,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:176:40: error: 'center' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
174 |
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
    |                                        |- error: 'center' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
177 |                         ForEach(
178 |                             toastObs.items,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:177:25: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
177 |                         ForEach(
    |                         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                         `- note: add 'if #available' version check
178 |                             toastObs.items,
179 |                             id: \.id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:177:25: error: 'ForEach' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
177 |                         ForEach(
    |                         |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
178 |                             toastObs.items,
179 |                             id: \.id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:177:25: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
177 |                         ForEach(
    |                         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
178 |                             toastObs.items,
179 |                             id: \.id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:183:29: error: 'VStack' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
181 |                         { it in
182 |
183 |                             VStack(spacing: 0) {
    |                             |- error: 'VStack' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
184 |                                 Spacer()
185 |                                 SUIToastViewCell(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:184:33: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
182 |
183 |                             VStack(spacing: 0) {
184 |                                 Spacer()
    |                                 |- 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
185 |                                 SUIToastViewCell(
186 |                                     item: it
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:184:33: error: 'Spacer' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
182 |
183 |                             VStack(spacing: 0) {
184 |                                 Spacer()
    |                                 |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
185 |                                 SUIToastViewCell(
186 |                                     item: it
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:188:34: error: 'zIndex' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
186 |                                     item: it
187 |                                 )
188 |                                 .zIndex(it.createdAt.timeIntervalSinceReferenceDate)
    |                                  |- error: 'zIndex' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
189 |                                 .transition(
190 |                                     .opacity.combined(with: .move(edge: .bottom))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:189:34: error: 'transition' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
187 |                                 )
188 |                                 .zIndex(it.createdAt.timeIntervalSinceReferenceDate)
189 |                                 .transition(
    |                                  |- error: 'transition' is only available in macOS 14.0 or newer
    |                                  `- note: add 'if #available' version check
190 |                                     .opacity.combined(with: .move(edge: .bottom))
191 |                                 )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:190:38: error: 'opacity' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
188 |                                 .zIndex(it.createdAt.timeIntervalSinceReferenceDate)
189 |                                 .transition(
190 |                                     .opacity.combined(with: .move(edge: .bottom))
    |                                      |- error: 'opacity' is only available in macOS 14.0 or newer
    |                                      `- note: add 'if #available' version check
191 |                                 )
192 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:190:46: error: 'combined(with:)' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
188 |                                 .zIndex(it.createdAt.timeIntervalSinceReferenceDate)
189 |                                 .transition(
190 |                                     .opacity.combined(with: .move(edge: .bottom))
    |                                              |- error: 'combined(with:)' is only available in macOS 14.0 or newer
    |                                              `- note: add 'if #available' version check
191 |                                 )
192 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:190:62: error: 'move(edge:)' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
188 |                                 .zIndex(it.createdAt.timeIntervalSinceReferenceDate)
189 |                                 .transition(
190 |                                     .opacity.combined(with: .move(edge: .bottom))
    |                                                              |- error: 'move(edge:)' is only available in macOS 14.0 or newer
    |                                                              `- note: add 'if #available' version check
191 |                                 )
192 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:183:48: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
181 |                         { it in
182 |
183 |                             VStack(spacing: 0) {
    |                                                |- 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
184 |                                 Spacer()
185 |                                 SUIToastViewCell(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:176:48: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
174 |
175 |                 if stackOverlap == .overlap {
176 |                     ZStack(alignment: .center) {
    |                                                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                `- note: add 'if #available' version check
177 |                         ForEach(
178 |                             toastObs.items,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:175:45: error: 'buildIf' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
173 |                 }
174 |
175 |                 if stackOverlap == .overlap {
    |                                             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
176 |                     ZStack(alignment: .center) {
177 |                         ForEach(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:175:45: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
173 |                 }
174 |
175 |                 if stackOverlap == .overlap {
    |                                             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
176 |                     ZStack(alignment: .center) {
177 |                         ForEach(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:175:45: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
173 |                 }
174 |
175 |                 if stackOverlap == .overlap {
    |                                             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                             `- note: add 'if #available' version check
176 |                     ZStack(alignment: .center) {
177 |                         ForEach(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:201:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
199 |                 else if stackOverlap == .stack
200 |                 {
201 |                     ForEach(
    |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                     `- note: add 'if #available' version check
202 |                         toastObs.items.reversed(),
203 |                         id: \.id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:201:21: error: 'ForEach' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
199 |                 else if stackOverlap == .stack
200 |                 {
201 |                     ForEach(
    |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
202 |                         toastObs.items.reversed(),
203 |                         id: \.id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:201:21: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
199 |                 else if stackOverlap == .stack
200 |                 {
201 |                     ForEach(
    |                     |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
202 |                         toastObs.items.reversed(),
203 |                         id: \.id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:210:26: error: 'transition' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
208 |                             item: it
209 |                         )
210 |                         .transition(
    |                          |- error: 'transition' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
211 |                             .opacity.combined(with: .move(edge: .bottom))
212 |                         )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:211:30: error: 'opacity' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
209 |                         )
210 |                         .transition(
211 |                             .opacity.combined(with: .move(edge: .bottom))
    |                              |- error: 'opacity' is only available in macOS 14.0 or newer
    |                              `- note: add 'if #available' version check
212 |                         )
213 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:211:38: error: 'combined(with:)' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
209 |                         )
210 |                         .transition(
211 |                             .opacity.combined(with: .move(edge: .bottom))
    |                                      |- error: 'combined(with:)' is only available in macOS 14.0 or newer
    |                                      `- note: add 'if #available' version check
212 |                         )
213 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:211:54: error: 'move(edge:)' is only available in macOS 14.0 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
209 |                         )
210 |                         .transition(
211 |                             .opacity.combined(with: .move(edge: .bottom))
    |                                                      |- error: 'move(edge:)' is only available in macOS 14.0 or newer
    |                                                      `- note: add 'if #available' version check
212 |                         )
213 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:175:45: error: 'buildIf' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
173 |                 }
174 |
175 |                 if stackOverlap == .overlap {
    |                                             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
176 |                     ZStack(alignment: .center) {
177 |                         ForEach(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:200:17: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
198 |                 }
199 |                 else if stackOverlap == .stack
200 |                 {
    |                 |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
201 |                     ForEach(
202 |                         toastObs.items.reversed(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:200:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
198 |                 }
199 |                 else if stackOverlap == .stack
200 |                 {
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
201 |                     ForEach(
202 |                         toastObs.items.reversed(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:216:17: error: 'buildIf' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
214 |                     }
215 |
216 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
217 |
218 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:222:21: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
220 |                 if stackAlignment == .top
221 |                     || stackAlignment == .middle {
222 |                     Spacer()
    |                     |- 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
223 |                 }
224 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:222:21: error: 'Spacer' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
220 |                 if stackAlignment == .top
221 |                     || stackAlignment == .middle {
222 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
223 |                 }
224 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:221:50: error: 'buildIf' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
219 |
220 |                 if stackAlignment == .top
221 |                     || stackAlignment == .middle {
    |                                                  |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
222 |                     Spacer()
223 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:221:50: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
219 |
220 |                 if stackAlignment == .top
221 |                     || stackAlignment == .middle {
    |                                                  |- 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
222 |                     Spacer()
223 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:223:17: error: 'buildIf' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
221 |                     || stackAlignment == .middle {
222 |                     Spacer()
223 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
224 |             }
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:169:32: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    |                                |- 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
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:169:32: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    |                                |- 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
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:169:32: 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
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    |                                |- 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
170 |                 if stackAlignment == .bottom
171 |                     || stackAlignment == .middle {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:226:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
224 |             }
225 |         }
226 |         .animation(.default, value: toastObs.items)
    |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
227 |         .onAppear {
228 |             toastObs.initialize()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:226:21: error: 'default' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
224 |             }
225 |         }
226 |         .animation(.default, value: toastObs.items)
    |                     |- error: 'default' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
227 |         .onAppear {
228 |             toastObs.initialize()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:227:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
225 |         }
226 |         .animation(.default, value: toastObs.items)
227 |         .onAppear {
    |          |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
228 |             toastObs.initialize()
229 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:230:10: error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
127 |
128 |
129 | public struct SUIToastViewContainer: View {
    |               `- note: add @available attribute to enclosing struct
130 |
131 |     @StateObject var toastObs = SUIToastController.shared
    :
165 |
166 |
167 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
168 |         ZStack {
169 |             VStack(spacing: 0) {
    :
228 |             toastObs.initialize()
229 |         }
230 |         .onDisappear {
    |          |- error: 'onDisappear(perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
231 |             toastObs.uninitialize()
232 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:240:9: error: 'ZStack' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:240:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
    |                |- 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
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:240:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
    |                |- 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
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:240:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
    |                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:241:13: error: 'VStack' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    |             |- error: 'VStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
242 |                 HStack(spacing: 8) {
243 |                     Text(item.message)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:241: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
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    |             |- 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
242 |                 HStack(spacing: 8) {
243 |                     Text(item.message)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:241:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    |                                |- 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
242 |                 HStack(spacing: 8) {
243 |                     Text(item.message)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:242: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
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
    |                 |- 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
243 |                     Text(item.message)
244 |                         .foregroundColor(item.messageColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:242:17: error: 'HStack' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
    |                 |- error: 'HStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
243 |                     Text(item.message)
244 |                         .foregroundColor(item.messageColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:242: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
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
    |                 |- 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
243 |                     Text(item.message)
244 |                         .foregroundColor(item.messageColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:243: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
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
243 |                     Text(item.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
244 |                         .foregroundColor(item.messageColor)
245 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:243:21: error: 'Text' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
243 |                     Text(item.message)
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
244 |                         .foregroundColor(item.messageColor)
245 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:244:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
243 |                     Text(item.message)
244 |                         .foregroundColor(item.messageColor)
    |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
245 |                 }
246 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:242:36: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
242 |                 HStack(spacing: 8) {
    |                                    |- 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
243 |                     Text(item.message)
244 |                         .foregroundColor(item.messageColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:241:32: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    |                                |- 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
242 |                 HStack(spacing: 8) {
243 |                     Text(item.message)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:247:14: error: 'padding' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
245 |                 }
246 |             }
247 |             .padding(.horizontal, 20)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
248 |             .padding(.vertical, 10)
249 |             .background(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:248:14: error: 'padding' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
246 |             }
247 |             .padding(.horizontal, 20)
248 |             .padding(.vertical, 10)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
249 |             .background(
250 |                 RoundedRectangle(cornerRadius: 10)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:249:14: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
247 |             .padding(.horizontal, 20)
248 |             .padding(.vertical, 10)
249 |             .background(
    |              |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
250 |                 RoundedRectangle(cornerRadius: 10)
251 |                     .fill(item.bgColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:250:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
248 |             .padding(.vertical, 10)
249 |             .background(
250 |                 RoundedRectangle(cornerRadius: 10)
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
251 |                     .fill(item.bgColor)
252 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:251:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
249 |             .background(
250 |                 RoundedRectangle(cornerRadius: 10)
251 |                     .fill(item.bgColor)
    |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
252 |             )
253 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:254:10: error: 'padding' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
252 |             )
253 |         }
254 |         .padding(.horizontal, 20)
    |          |- error: 'padding' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
255 |         .padding(.vertical, 10)
256 |         .allowsHitTesting(false)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:255:10: error: 'padding' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
253 |         }
254 |         .padding(.horizontal, 20)
255 |         .padding(.vertical, 10)
    |          |- error: 'padding' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
256 |         .allowsHitTesting(false)
257 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIToast/SwiftUIToast.swift:256:10: error: 'allowsHitTesting' is only available in macOS 10.15 or newer
234 | }
235 |
236 | internal struct SUIToastViewCell: View {
    |                 `- note: add @available attribute to enclosing struct
237 |     var item: SUIToastViewCellItem
238 |
239 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
240 |         ZStack {
241 |             VStack(spacing: 0) {
    :
254 |         .padding(.horizontal, 20)
255 |         .padding(.vertical, 10)
256 |         .allowsHitTesting(false)
    |          |- error: 'allowsHitTesting' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
257 |     }
258 | }
BUILD FAILURE 6.0 macosSpm