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 SwipeActions, reference main (7f1499), with Swift 6.0 (beta) for macOS (SPM) on 15 Sep 2024 08:14:04 UTC.

Build Command

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

Build Log

1050 |
1051 | /// A `SwipeView` with trailing actions only.
1052 | public extension SwipeView where LeadingActions == EmptyView {
     |        `- note: add @available attribute to enclosing extension
1053 |     init(
     |     `- note: add @available attribute to enclosing initializer
1054 |         @ViewBuilder label: @escaping () -> Label,
     |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
1055 |         @ViewBuilder trailingActions: @escaping (SwipeContext) -> TrailingActions
1056 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1055:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1050 |
1051 | /// A `SwipeView` with trailing actions only.
1052 | public extension SwipeView where LeadingActions == EmptyView {
     |        `- note: add @available attribute to enclosing extension
1053 |     init(
     |     `- note: add @available attribute to enclosing initializer
1054 |         @ViewBuilder label: @escaping () -> Label,
1055 |         @ViewBuilder trailingActions: @escaping (SwipeContext) -> TrailingActions
     |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
1056 |     ) {
1057 |         self.init(label: label, leadingActions: { _ in }, trailingActions: trailingActions)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1052:52: error: 'EmptyView' is only available in macOS 10.15 or newer
1050 |
1051 | /// A `SwipeView` with trailing actions only.
1052 | public extension SwipeView where LeadingActions == EmptyView {
     |        |                                           `- error: 'EmptyView' is only available in macOS 10.15 or newer
     |        `- note: add @available attribute to enclosing extension
1053 |     init(
1054 |         @ViewBuilder label: @escaping () -> Label,
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1063:11: error: 'ViewBuilder' is only available in macOS 10.15 or newer
1060 |
1061 | /// A `SwipeView` with no actions.
1062 | public extension SwipeView where LeadingActions == EmptyView, TrailingActions == EmptyView {
     |        `- note: add @available attribute to enclosing extension
1063 |     init(@ViewBuilder label: @escaping () -> Label) {
     |     |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
     |     `- note: add @available attribute to enclosing initializer
1064 |         self.init(label: label) { _ in } trailingActions: { _ in }
1065 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1062:52: error: 'EmptyView' is only available in macOS 10.15 or newer
1060 |
1061 | /// A `SwipeView` with no actions.
1062 | public extension SwipeView where LeadingActions == EmptyView, TrailingActions == EmptyView {
     |        |                                           `- error: 'EmptyView' is only available in macOS 10.15 or newer
     |        `- note: add @available attribute to enclosing extension
1063 |     init(@ViewBuilder label: @escaping () -> Label) {
1064 |         self.init(label: label) { _ in } trailingActions: { _ in }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1062:82: error: 'EmptyView' is only available in macOS 10.15 or newer
1060 |
1061 | /// A `SwipeView` with no actions.
1062 | public extension SwipeView where LeadingActions == EmptyView, TrailingActions == EmptyView {
     |        |                                                                         `- error: 'EmptyView' is only available in macOS 10.15 or newer
     |        `- note: add @available attribute to enclosing extension
1063 |     init(@ViewBuilder label: @escaping () -> Label) {
1064 |         self.init(label: label) { _ in } trailingActions: { _ in }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1088:60: error: 'View' is only available in macOS 10.15 or newer
1068 | // MARK: - Convenience modifiers
1069 |
1070 | public extension SwipeAction {
     |        `- note: add @available attribute to enclosing extension
1071 |     /**
1072 |      Apply this to the edge action to enable drag-to-trigger.
     :
1086 |          }
1087 |      */
1088 |     func allowSwipeToTrigger(_ value: Bool = true) -> some View {
     |          |                                                 `- error: 'View' is only available in macOS 10.15 or newer
     |          `- note: add @available attribute to enclosing instance method
1089 |         var view = self
1090 |         view.allowSwipeToTrigger = value
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1223:54: error: 'Animation' is only available in macOS 10.15 or newer
1114 | }
1115 |
1116 | public extension SwipeView {
     |        `- note: add @available attribute to enclosing extension
1117 |     /// If swiping is currently enabled.
1118 |     func swipeEnabled(_ value: Bool) -> SwipeView {
     :
1221 |
1222 |     /// The animation used for adjusting the content's view when it's triggered.
1223 |     func swipeActionContentTriggerAnimation(_ value: Animation) -> SwipeView {
     |          |                                           `- error: 'Animation' is only available in macOS 10.15 or newer
     |          `- note: add @available attribute to enclosing instance method
1224 |         var view = self
1225 |         view.options.actionContentTriggerAnimation = value
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1265:48: error: 'View' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1280:29: error: 'AnyTransition' is only available in macOS 10.15 or newer
1276 | }
1277 |
1278 | public extension AnyTransition {
     |        `- note: add @available attribute to enclosing extension
1279 |     /// Transition that mimics iOS's default delete transition (clipped to the top).
1280 |     static var swipeDelete: AnyTransition {
     |                |            `- error: 'AnyTransition' is only available in macOS 10.15 or newer
     |                `- note: add @available attribute to enclosing static property
1281 |         .modifier(
1282 |             active: SwipeDeleteModifier(visibility: 0),
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1278:18: error: 'AnyTransition' is only available in macOS 10.15 or newer
1276 | }
1277 |
1278 | public extension AnyTransition {
     |        |         `- error: 'AnyTransition' is only available in macOS 10.15 or newer
     |        `- note: add @available attribute to enclosing extension
1279 |     /// Transition that mimics iOS's default delete transition (clipped to the top).
1280 |     static var swipeDelete: AnyTransition {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1292:42: error: 'Path' is only available in macOS 10.15 or newer
1287 |
1288 | /// Custom shape that changes height as `animatableData` changes.
1289 | public struct SwipeDeleteMaskShape: Shape {
     |               `- note: add @available attribute to enclosing struct
1290 |     public var animatableData: Double
1291 |
1292 |     public func path(in rect: CGRect) -> Path {
     |                 |                        `- error: 'Path' is only available in macOS 10.15 or newer
     |                 `- note: add @available attribute to enclosing instance method
1293 |         var maskRect = rect
1294 |         maskRect.size.height = rect.size.height * animatableData
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1289:15: warning: conformance of 'Double' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1287 |
1288 | /// Custom shape that changes height as `animatableData` changes.
1289 | public struct SwipeDeleteMaskShape: Shape {
     |               |- warning: conformance of 'Double' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |               |- note: add @available attribute to enclosing struct
     |               `- note: in associated type 'Self.AnimatableData' (inferred as 'Double')
1290 |     public var animatableData: Double
1291 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1305:64: error: 'View' is only available in macOS 10.15 or newer
1300 |
1301 | /// A style to remove the "press" effect on buttons.
1302 | public struct SwipeActionButtonStyle: ButtonStyle {
     |               `- note: add @available attribute to enclosing struct
1303 |     public init() {}
1304 |
1305 |     public func makeBody(configuration: Configuration) -> some View {
     |                 |                                              `- error: 'View' is only available in macOS 10.15 or newer
     |                 `- note: add @available attribute to enclosing instance method
1306 |         return configuration.label
1307 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1339:26: error: 'DragGesture' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
     |                          `- error: 'DragGesture' is only available in macOS 10.15 or newer
1340 |     @State var current: DragGesture.Value?
1341 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1339:6: error: 'State' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
     |      `- error: 'State' is only available in macOS 10.15 or newer
1340 |     @State var current: DragGesture.Value?
1341 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1340:25: error: 'DragGesture' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
1340 |     @State var current: DragGesture.Value?
     |                         `- error: 'DragGesture' is only available in macOS 10.15 or newer
1341 |
1342 |     func update(_ value: DragGesture.Value) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1340:6: error: 'State' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
1340 |     @State var current: DragGesture.Value?
     |      `- error: 'State' is only available in macOS 10.15 or newer
1341 |
1342 |     func update(_ value: DragGesture.Value) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1342:26: error: 'DragGesture' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
1340 |     @State var current: DragGesture.Value?
1341 |
1342 |     func update(_ value: DragGesture.Value) {
     |          |               `- error: 'DragGesture' is only available in macOS 10.15 or newer
     |          `- note: add @available attribute to enclosing instance method
1343 |         if current != nil {
1344 |             previous = current
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1386:59: error: '_EndedGesture' is only available in macOS 10.15 or newer
1383 | }
1384 |
1385 | extension Gesture where Value == DragGesture.Value {
     | `- note: add @available attribute to enclosing extension
1386 |     func updatingVelocity(_ velocity: GestureVelocity) -> _EndedGesture<_ChangedGesture<Self>> {
     |          |                                                `- error: '_EndedGesture' is only available in macOS 10.15 or newer
     |          `- note: add @available attribute to enclosing instance method
1387 |         onChanged { value in
1388 |             velocity.update(value)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1385:11: error: 'Gesture' is only available in macOS 10.15 or newer
1383 | }
1384 |
1385 | extension Gesture where Value == DragGesture.Value {
     | |         `- error: 'Gesture' is only available in macOS 10.15 or newer
     | `- note: add @available attribute to enclosing extension
1386 |     func updatingVelocity(_ velocity: GestureVelocity) -> _EndedGesture<_ChangedGesture<Self>> {
1387 |         onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1385:34: error: 'DragGesture' is only available in macOS 10.15 or newer
1383 | }
1384 |
1385 | extension Gesture where Value == DragGesture.Value {
     | |                                `- error: 'DragGesture' is only available in macOS 10.15 or newer
     | `- note: add @available attribute to enclosing extension
1386 |     func updatingVelocity(_ velocity: GestureVelocity) -> _EndedGesture<_ChangedGesture<Self>> {
1387 |         onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1402:61: error: 'View' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          |                                                  `- error: 'View' is only available in macOS 10.15 or newer
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
1404 |             GeometryReader { geometry in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1401:11: error: 'View' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | |         `- error: 'View' is only available in macOS 10.15 or newer
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
1403 |         return background(
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1424:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1422 |
1423 | struct AllowSwipeToTriggerKey: PreferenceKey {
1424 |     static var defaultValue: Bool? = nil
     |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
     |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
     |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1425 |     static func reduce(value: inout Bool?, nextValue: () -> Bool?) { value = nextValue() }
1426 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:70:21: error: 'leading' is only available in macOS 10.15 or newer
  50 |
  51 | /// Either `leading` or `trailing`.
  52 | public enum SwipeSide {
     |             `- note: add @available attribute to enclosing enum
  53 |     case leading
  54 |     case trailing
     :
  65 |
  66 |     /// Convert to `SwiftUI`'s `Alignment` struct.
  67 |     var alignment: Alignment {
     |         `- note: add @available attribute to enclosing property
  68 |         switch self {
  69 |         case .leading:
  70 |             return .leading
     |                     |- error: 'leading' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
  71 |         case .trailing:
  72 |             return .trailing
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:72:21: error: 'trailing' is only available in macOS 10.15 or newer
  50 |
  51 | /// Either `leading` or `trailing`.
  52 | public enum SwipeSide {
     |             `- note: add @available attribute to enclosing enum
  53 |     case leading
  54 |     case trailing
     :
  65 |
  66 |     /// Convert to `SwiftUI`'s `Alignment` struct.
  67 |     var alignment: Alignment {
     |         `- note: add @available attribute to enclosing property
  68 |         switch self {
  69 |         case .leading:
  70 |             return .leading
  71 |         case .trailing:
  72 |             return .trailing
     |                     |- error: 'trailing' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
  73 |         }
  74 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:80:21: error: 'trailing' is only available in macOS 10.15 or newer
  50 |
  51 | /// Either `leading` or `trailing`.
  52 | public enum SwipeSide {
     |             `- note: add @available attribute to enclosing enum
  53 |     case leading
  54 |     case trailing
     :
  75 |
  76 |     /// Used when there's only one action.
  77 |     var edgeTriggerAlignment: Alignment {
     |         `- note: add @available attribute to enclosing property
  78 |         switch self {
  79 |         case .leading:
  80 |             return .trailing
     |                     |- error: 'trailing' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
  81 |         case .trailing:
  82 |             return .leading
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:82:21: error: 'leading' is only available in macOS 10.15 or newer
  50 |
  51 | /// Either `leading` or `trailing`.
  52 | public enum SwipeSide {
     |             `- note: add @available attribute to enclosing enum
  53 |     case leading
  54 |     case trailing
     :
  75 |
  76 |     /// Used when there's only one action.
  77 |     var edgeTriggerAlignment: Alignment {
     |         `- note: add @available attribute to enclosing property
  78 |         switch self {
  79 |         case .leading:
  80 |             return .trailing
  81 |         case .trailing:
  82 |             return .leading
     |                     |- error: 'leading' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
  83 |         }
  84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:226:14: error: 'environment' is only available in macOS 10.15 or newer
 213 |
 214 |  */
 215 | public struct SwipeViewGroup<Content: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 216 |     @ViewBuilder var content: () -> Content
 217 |
     :
 222 |     }
 223 |
 224 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 225 |         content()
 226 |             .environment(\.swipeViewGroupSelection, $selection)
     |              |- error: 'environment' is only available in macOS 10.15 or newer
     |              `- note: add 'if #available' version check
 227 |     }
 228 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:278:29: error: 'Alignment' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     |                             |- error: 'Alignment' is only available in macOS 10.15 or newer
     |                             `- note: add 'if #available' version check
 279 |             guard let allowSwipeToTrigger, allowSwipeToTrigger else { return .center }
 280 |             if swipeContext.numberOfActions == 1 {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:279:79: error: 'center' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
 279 |             guard let allowSwipeToTrigger, allowSwipeToTrigger else { return .center }
     |                                                                               |- error: 'center' is only available in macOS 10.15 or newer
     |                                                                               `- note: add 'if #available' version check
 280 |             if swipeContext.numberOfActions == 1 {
 281 |                 if swipeContext.state.wrappedValue == .triggering || swipeContext.state.wrappedValue == .triggered {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:285:21: error: 'center' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 283 |                 }
 284 |             }
 285 |             return .center
     |                     |- error: 'center' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 286 |         }()
 287 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:296:9: error: 'Button' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 294 |         }()
 295 |
 296 |         Button(action: action) {
     |         |- error: 'Button' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 297 |             background(highlighted)
 298 |                 .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:298:18: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 296 |         Button(action: action) {
 297 |             background(highlighted)
 298 |                 .overlay(
     |                  |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
     |                  `- note: add 'if #available' version check
 299 |                     label(highlighted)
 300 |                         .opacity(labelOpacity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:300:26: error: 'opacity' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 298 |                 .overlay(
 299 |                     label(highlighted)
 300 |                         .opacity(labelOpacity)
     |                          |- error: 'opacity' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
 301 |                         .fixedSize(horizontal: labelFixedSize, vertical: labelFixedSize)
 302 |                         .padding(.horizontal, labelHorizontalPadding),
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:301:26: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 299 |                     label(highlighted)
 300 |                         .opacity(labelOpacity)
 301 |                         .fixedSize(horizontal: labelFixedSize, vertical: labelFixedSize)
     |                          |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
 302 |                         .padding(.horizontal, labelHorizontalPadding),
 303 |                     alignment: labelAlignment
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:302:26: error: 'padding' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 300 |                         .opacity(labelOpacity)
 301 |                         .fixedSize(horizontal: labelFixedSize, vertical: labelFixedSize)
 302 |                         .padding(.horizontal, labelHorizontalPadding),
     |                          |- error: 'padding' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
 303 |                     alignment: labelAlignment
 304 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:306:10: error: 'opacity' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 304 |                 )
 305 |         }
 306 |         .opacity(totalOpacity)
     |          |- error: 'opacity' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 307 |         ._onButtonGesture { pressing in
 308 |             self.highlighted = pressing
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:307:10: error: '_onButtonGesture(pressing:perform:)' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 305 |         }
 306 |         .opacity(totalOpacity)
 307 |         ._onButtonGesture { pressing in
     |          |- error: '_onButtonGesture(pressing:perform:)' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 308 |             self.highlighted = pressing
 309 |         } perform: {}
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:308:13: error: setter for 'highlighted' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 306 |         .opacity(totalOpacity)
 307 |         ._onButtonGesture { pressing in
 308 |             self.highlighted = pressing
     |             |- error: setter for 'highlighted' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 309 |         } perform: {}
 310 |         .buttonStyle(SwipeActionButtonStyle())
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:310:10: error: 'buttonStyle' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 308 |             self.highlighted = pressing
 309 |         } perform: {}
 310 |         .buttonStyle(SwipeActionButtonStyle())
     |          |- error: 'buttonStyle' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 311 |         .onChange(of: swipeContext.state.wrappedValue) { state in /// Read changes in state.
 312 |             guard let allowSwipeToTrigger, allowSwipeToTrigger else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:311:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 309 |         } perform: {}
 310 |         .buttonStyle(SwipeActionButtonStyle())
 311 |         .onChange(of: swipeContext.state.wrappedValue) { state in /// Read changes in state.
     |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
     |          `- note: add 'if #available' version check
 312 |             guard let allowSwipeToTrigger, allowSwipeToTrigger else { return }
 313 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:316:21: error: setter for 'highlighted' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 314 |             if let state {
 315 |                 if state == .triggering || state == .triggered {
 316 |                     highlighted = true
     |                     |- error: setter for 'highlighted' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 317 |                 } else {
 318 |                     highlighted = false
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:318:21: error: setter for 'highlighted' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 316 |                     highlighted = true
 317 |                 } else {
 318 |                     highlighted = false
     |                     |- error: setter for 'highlighted' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 319 |                 }
 320 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:325:17: error: setter for 'highlighted' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 323 |                 }
 324 |             } else {
 325 |                 highlighted = false
     |                 |- error: setter for 'highlighted' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 326 |             }
 327 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:328:10: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
 231 |
 232 | /// For use in `SwipeView`'s `leading` or `trailing` side.
 233 | public struct SwipeAction<Label: View, Background: View>: View {
     |               `- note: add @available attribute to enclosing generic struct
 234 |     // MARK: - Properties
 235 |
     :
 274 |     }
 275 |
 276 |     public var body: some View {
     |                `- note: add @available attribute to enclosing property
 277 |         /// Usually `.center`, but if there's only one action and it's triggered, move it closer to the center.
 278 |         let labelAlignment: Alignment = {
     :
 326 |             }
 327 |         }
 328 |         .preference(key: AllowSwipeToTriggerKey.self, value: allowSwipeToTrigger)
     |          |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 329 |     }
 330 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:469:33: error: cannot find 'UIImpactFeedbackGenerator' in scope
 467 |
 468 |             if changed, options.enableTriggerHaptics { /// Generate haptic feedback if necessary.
 469 |                 let generator = UIImpactFeedbackGenerator(style: .rigid)
     |                                 `- error: cannot find 'UIImpactFeedbackGenerator' in scope
 470 |                 generator.impactOccurred()
 471 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:480:33: error: cannot find 'UIImpactFeedbackGenerator' in scope
 478 |
 479 |             if changed, options.enableTriggerHaptics {
 480 |                 let generator = UIImpactFeedbackGenerator(style: .rigid)
     |                                 `- error: cannot find 'UIImpactFeedbackGenerator' in scope
 481 |                 generator.impactOccurred()
 482 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:551:9: error: '_VariadicView' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 549 |         }()
 550 |
 551 |         _VariadicView.Tree(
     |         |- error: '_VariadicView' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 552 |             SwipeActionsLayout(
 553 |                 numberOfActions: numberOfActions,
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:560:32: error: 'Binding' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 558 |             )
 559 |         ) {
 560 |             let stateBinding = Binding {
     |                                |- error: 'Binding' is only available in macOS 10.15 or newer
     |                                `- note: add 'if #available' version check
 561 |                 state.wrappedValue
 562 |             } set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:566:21: error: setter for 'currentSide' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 564 |
 565 |                 if newValue == .closed {
 566 |                     currentSide = nil /// If closed, set `currentSide` to nil.
     |                     |- error: setter for 'currentSide' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 567 |                 } else {
 568 |                     currentSide = side /// Set the current side to the action's side.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:568:21: error: setter for 'currentSide' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 566 |                     currentSide = nil /// If closed, set `currentSide` to nil.
 567 |                 } else {
 568 |                     currentSide = side /// Set the current side to the action's side.
     |                     |- error: setter for 'currentSide' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 569 |                 }
 570 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:585:10: error: 'mask' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 583 |             actions(context) /// Call the `actions` view and pass in context.
 584 |         }
 585 |         .mask(
     |          |- error: 'mask' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 586 |             Color.clear.overlay(
 587 |                 /// Clip the swipe actions as they're being revealed.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:586:13: error: 'Color' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 584 |         }
 585 |         .mask(
 586 |             Color.clear.overlay(
     |             |- error: 'Color' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 587 |                 /// Clip the swipe actions as they're being revealed.
 588 |                 RoundedRectangle(cornerRadius: options.actionsMaskCornerRadius, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:586:19: error: 'clear' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 584 |         }
 585 |         .mask(
 586 |             Color.clear.overlay(
     |                   |- error: 'clear' is only available in macOS 10.15 or newer
     |                   `- note: add 'if #available' version check
 587 |                 /// Clip the swipe actions as they're being revealed.
 588 |                 RoundedRectangle(cornerRadius: options.actionsMaskCornerRadius, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:586:25: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 584 |         }
 585 |         .mask(
 586 |             Color.clear.overlay(
     |                         |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
     |                         `- note: add 'if #available' version check
 587 |                 /// Clip the swipe actions as they're being revealed.
 588 |                 RoundedRectangle(cornerRadius: options.actionsMaskCornerRadius, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:588:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 586 |             Color.clear.overlay(
 587 |                 /// Clip the swipe actions as they're being revealed.
 588 |                 RoundedRectangle(cornerRadius: options.actionsMaskCornerRadius, style: .continuous)
     |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 589 |                     .frame(width: visibleWidth),
 590 |                 alignment: side.alignment
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:589:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 520 | // MARK: - Actions view
 521 |
 522 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 523 |     /// The swipe actions.
 524 |     @ViewBuilder func actionsView<Actions: View>(
     |                       `- note: add @available attribute to enclosing instance method
 525 |         side: SwipeSide,
 526 |         state: Binding<SwipeState?>,
     :
 587 |                 /// Clip the swipe actions as they're being revealed.
 588 |                 RoundedRectangle(cornerRadius: options.actionsMaskCornerRadius, style: .continuous)
 589 |                     .frame(width: visibleWidth),
     |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
     |                      `- note: add 'if #available' version check
 590 |                 alignment: side.alignment
 591 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:611:33: warning: conformance of '_VariadicView_Children' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
 609 |             switch side {
 610 |             case .leading:
 611 |                 return children.first?.id
     |                                 |- warning: conformance of '_VariadicView_Children' to 'Collection' 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
 612 |             case .trailing:
 613 |                 return children.last?.id
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:613:33: warning: conformance of '_VariadicView_Children' to 'BidirectionalCollection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 611 |                 return children.first?.id
 612 |             case .trailing:
 613 |                 return children.last?.id
     |                                 |- warning: conformance of '_VariadicView_Children' to 'BidirectionalCollection' 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
 614 |             }
 615 |         }()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:617:9: error: 'HStack' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 615 |         }()
 616 |
 617 |         HStack(spacing: options.spacing) {
     |         |- error: 'HStack' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
 619 |                 let isEdge = child.id == edgeID
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:617:9: 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
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 615 |         }()
 616 |
 617 |         HStack(spacing: options.spacing) {
     |         |- 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
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
 619 |                 let isEdge = child.id == edgeID
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:618:13: 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
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 616 |
 617 |         HStack(spacing: options.spacing) {
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
     |             |- 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
 619 |                 let isEdge = child.id == edgeID
 620 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:618:13: error: 'ForEach' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 616 |
 617 |         HStack(spacing: options.spacing) {
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
     |             |- error: 'ForEach' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 619 |                 let isEdge = child.id == edgeID
 620 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:618:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 616 |
 617 |         HStack(spacing: options.spacing) {
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
     |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 619 |                 let isEdge = child.id == edgeID
 620 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:618:21: warning: conformance of '_VariadicView_Children' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 616 |
 617 |         HStack(spacing: options.spacing) {
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
     |                     |- warning: conformance of '_VariadicView_Children' to 'Sequence' 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
 619 |                 let isEdge = child.id == edgeID
 620 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:618:27: warning: conformance of '_VariadicView_Children' to 'Sequence' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 616 |
 617 |         HStack(spacing: options.spacing) {
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
     |                           |- warning: conformance of '_VariadicView_Children' to 'Sequence' 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
 619 |                 let isEdge = child.id == edgeID
 620 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:618:40: warning: conformance of '_VariadicView_Children' to 'RandomAccessCollection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 616 |
 617 |         HStack(spacing: options.spacing) {
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
     |                                        |- warning: conformance of '_VariadicView_Children' to 'RandomAccessCollection' 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
 619 |                 let isEdge = child.id == edgeID
 620 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:670:45: warning: conformance of '_VariadicView_Children' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 668 |                         switch side {
 669 |                         case .leading:
 670 |                             return children.count - index - 1 /// Left-most views should be on top.
     |                                             |- warning: conformance of '_VariadicView_Children' to 'Collection' 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
 671 |                         case .trailing:
 672 |                             return index
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:676:21: error: 'Color' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 674 |                     }()
 675 |
 676 |                     Color.clear.overlay(
     |                     |- error: 'Color' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 677 |                         child
 678 |                             .frame(maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:676:27: error: 'clear' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 674 |                     }()
 675 |
 676 |                     Color.clear.overlay(
     |                           |- error: 'clear' is only available in macOS 10.15 or newer
     |                           `- note: add 'if #available' version check
 677 |                         child
 678 |                             .frame(maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:676:33: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 674 |                     }()
 675 |
 676 |                     Color.clear.overlay(
     |                                 |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
     |                                 `- note: add 'if #available' version check
 677 |                         child
 678 |                             .frame(maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:678:30: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 676 |                     Color.clear.overlay(
 677 |                         child
 678 |                             .frame(maxHeight: .infinity)
     |                              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
     |                              `- note: add 'if #available' version check
 679 |                             .frame(width: width)
 680 |                             .opacity(shown ? 1 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:679:30: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 677 |                         child
 678 |                             .frame(maxHeight: .infinity)
 679 |                             .frame(width: width)
     |                              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
     |                              `- note: add 'if #available' version check
 680 |                             .opacity(shown ? 1 : 0)
 681 |                             .mask(
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:680:30: error: 'opacity' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 678 |                             .frame(maxHeight: .infinity)
 679 |                             .frame(width: width)
 680 |                             .opacity(shown ? 1 : 0)
     |                              |- error: 'opacity' is only available in macOS 10.15 or newer
     |                              `- note: add 'if #available' version check
 681 |                             .mask(
 682 |                                 RoundedRectangle(cornerRadius: options.actionCornerRadius, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:681:30: error: 'mask' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 679 |                             .frame(width: width)
 680 |                             .opacity(shown ? 1 : 0)
 681 |                             .mask(
     |                              |- error: 'mask' is only available in macOS 10.15 or newer
     |                              `- note: add 'if #available' version check
 682 |                                 RoundedRectangle(cornerRadius: options.actionCornerRadius, style: .continuous)
 683 |                             ),
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:682:33: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 680 |                             .opacity(shown ? 1 : 0)
 681 |                             .mask(
 682 |                                 RoundedRectangle(cornerRadius: options.actionCornerRadius, style: .continuous)
     |                                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
     |                                 `- note: add 'if #available' version check
 683 |                             ),
 684 |                         alignment: side.edgeTriggerAlignment
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:686:22: error: 'zIndex' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 684 |                         alignment: side.edgeTriggerAlignment
 685 |                     )
 686 |                     .zIndex(Double(zIndex))
     |                      |- error: 'zIndex' is only available in macOS 10.15 or newer
     |                      `- note: add 'if #available' version check
 687 |                 } else {
 688 |                     child
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:665:53: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 663 |                 }()
 664 |
 665 |                 if options.actionsStyle == .cascade {
     |                                                     |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
     |                                                     `- note: add 'if #available' version check
 666 |                     /// Overlapping views require a `zIndex`.
 667 |                     let zIndex: Int = {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:689:26: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 687 |                 } else {
 688 |                     child
 689 |                         .frame(maxHeight: .infinity)
     |                          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
 690 |                         .frame(width: width)
 691 |                         .opacity(shown ? 1 : 0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:690:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 688 |                     child
 689 |                         .frame(maxHeight: .infinity)
 690 |                         .frame(width: width)
     |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
 691 |                         .opacity(shown ? 1 : 0)
 692 |                         .mask(
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:691:26: error: 'opacity' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 689 |                         .frame(maxHeight: .infinity)
 690 |                         .frame(width: width)
 691 |                         .opacity(shown ? 1 : 0)
     |                          |- error: 'opacity' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
 692 |                         .mask(
 693 |                             RoundedRectangle(cornerRadius: options.actionCornerRadius, style: .continuous)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:692:26: error: 'mask' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 690 |                         .frame(width: width)
 691 |                         .opacity(shown ? 1 : 0)
 692 |                         .mask(
     |                          |- error: 'mask' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
 693 |                             RoundedRectangle(cornerRadius: options.actionCornerRadius, style: .continuous)
 694 |                         )
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:693:29: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 691 |                         .opacity(shown ? 1 : 0)
 692 |                         .mask(
 693 |                             RoundedRectangle(cornerRadius: options.actionCornerRadius, style: .continuous)
     |                             |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
     |                             `- note: add 'if #available' version check
 694 |                         )
 695 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:687:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 685 |                     )
 686 |                     .zIndex(Double(zIndex))
 687 |                 } else {
     |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
     |                        `- note: add 'if #available' version check
 688 |                     child
 689 |                         .frame(maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:618:73: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 616 |
 617 |         HStack(spacing: options.spacing) {
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
     |                                                                         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |                                                                         `- note: add 'if #available' version check
 619 |                 let isEdge = child.id == edgeID
 620 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:617:42: 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
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 615 |         }()
 616 |
 617 |         HStack(spacing: options.spacing) {
     |                                          |- 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
 618 |             ForEach(Array(zip(children.indices, children)), id: \.1.id) { index, child in
 619 |                 let isEdge = child.id == edgeID
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:698:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 696 |             }
 697 |         }
 698 |         .frame(width: options.actionsStyle == .cascade ? visibleWidth : nil)
     |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 699 |         .animation(options.actionContentTriggerAnimation, value: state)
 700 |         .onAppear { /// Set the number of actions here.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:699:10: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 697 |         }
 698 |         .frame(width: options.actionsStyle == .cascade ? visibleWidth : nil)
 699 |         .animation(options.actionContentTriggerAnimation, value: state)
     |          |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 700 |         .onAppear { /// Set the number of actions here.
 701 |             numberOfActions = children.count
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:700:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 698 |         .frame(width: options.actionsStyle == .cascade ? visibleWidth : nil)
 699 |         .animation(options.actionContentTriggerAnimation, value: state)
 700 |         .onAppear { /// Set the number of actions here.
     |          |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
 701 |             numberOfActions = children.count
 702 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:701:13: error: setter for 'numberOfActions' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 699 |         .animation(options.actionContentTriggerAnimation, value: state)
 700 |         .onAppear { /// Set the number of actions here.
 701 |             numberOfActions = children.count
     |             |- error: setter for 'numberOfActions' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 702 |         }
 703 |         .onChange(of: children.count) { count in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:701:40: warning: conformance of '_VariadicView_Children' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 699 |         .animation(options.actionContentTriggerAnimation, value: state)
 700 |         .onAppear { /// Set the number of actions here.
 701 |             numberOfActions = children.count
     |                                        |- warning: conformance of '_VariadicView_Children' to 'Collection' 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
 702 |         }
 703 |         .onChange(of: children.count) { count in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:703:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 701 |             numberOfActions = children.count
 702 |         }
 703 |         .onChange(of: children.count) { count in
     |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
     |          `- note: add 'if #available' version check
 704 |             numberOfActions = count
 705 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:703:32: warning: conformance of '_VariadicView_Children' to 'Collection' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 701 |             numberOfActions = children.count
 702 |         }
 703 |         .onChange(of: children.count) { count in
     |                                |- warning: conformance of '_VariadicView_Children' to 'Collection' 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
 704 |             numberOfActions = count
 705 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:704:13: error: setter for 'numberOfActions' is only available in macOS 10.15 or newer
 596 | // MARK: - Actions Layout
 597 |
 598 | struct SwipeActionsLayout: _VariadicView_UnaryViewRoot {
     |        `- note: add @available attribute to enclosing struct
 599 |     @Binding var numberOfActions: Int
 600 |     var side: SwipeSide
     :
 604 |
 605 |     @ViewBuilder
 606 |     public func body(children: _VariadicView.Children) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
 607 |         /// The ID of the edge action.
 608 |         let edgeID: AnyHashable? = {
     :
 702 |         }
 703 |         .onChange(of: children.count) { count in
 704 |             numberOfActions = count
     |             |- error: setter for 'numberOfActions' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 705 |         }
 706 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:818:9: error: 'withAnimation' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 815 |     }
 816 |
 817 |     func close(velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 818 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
     |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 819 |             savedOffset = 0
 820 |             currentOffset = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:818:24: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 815 |     }
 816 |
 817 |     func close(velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 818 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
     |                        |- error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
     |                        `- note: add 'if #available' version check
 819 |             savedOffset = 0
 820 |             currentOffset = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:819:13: error: setter for 'savedOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 815 |     }
 816 |
 817 |     func close(velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 818 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
 819 |             savedOffset = 0
     |             |- error: setter for 'savedOffset' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 820 |             currentOffset = 0
 821 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:820:13: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 815 |     }
 816 |
 817 |     func close(velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 818 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
 819 |             savedOffset = 0
 820 |             currentOffset = 0
     |             |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 821 |         }
 822 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:825:9: error: 'withAnimation' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 822 |     }
 823 |
 824 |     func trigger(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 825 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
     |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 826 |             switch side {
 827 |             case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:825:24: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 822 |     }
 823 |
 824 |     func trigger(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 825 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
     |                        |- error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
     |                        `- note: add 'if #available' version check
 826 |             switch side {
 827 |             case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:828:17: error: setter for 'savedOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 822 |     }
 823 |
 824 |     func trigger(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 825 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
 826 |             switch side {
 827 |             case .leading:
 828 |                 savedOffset = leadingTriggeredOffset
     |                 |- error: setter for 'savedOffset' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 829 |             case .trailing:
 830 |                 savedOffset = trailingTriggeredOffset
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:830:17: error: setter for 'savedOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 822 |     }
 823 |
 824 |     func trigger(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 825 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
 826 |             switch side {
     :
 828 |                 savedOffset = leadingTriggeredOffset
 829 |             case .trailing:
 830 |                 savedOffset = trailingTriggeredOffset
     |                 |- error: setter for 'savedOffset' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 831 |             }
 832 |             currentOffset = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:832:13: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 822 |     }
 823 |
 824 |     func trigger(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 825 |         withAnimation(.interpolatingSpring(stiffness: options.offsetTriggerAnimationStiffness, damping: options.offsetTriggerAnimationDamping, initialVelocity: velocity)) {
 826 |             switch side {
     :
 830 |                 savedOffset = trailingTriggeredOffset
 831 |             }
 832 |             currentOffset = 0
     |             |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 833 |         }
 834 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:837:9: error: 'withAnimation' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 834 |     }
 835 |
 836 |     func expand(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 837 |         withAnimation(.interpolatingSpring(stiffness: options.offsetExpandAnimationStiffness, damping: options.offsetExpandAnimationDamping, initialVelocity: velocity)) {
     |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 838 |             switch side {
 839 |             case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:837:24: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 834 |     }
 835 |
 836 |     func expand(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 837 |         withAnimation(.interpolatingSpring(stiffness: options.offsetExpandAnimationStiffness, damping: options.offsetExpandAnimationDamping, initialVelocity: velocity)) {
     |                        |- error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
     |                        `- note: add 'if #available' version check
 838 |             switch side {
 839 |             case .leading:
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:840:17: error: setter for 'savedOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 834 |     }
 835 |
 836 |     func expand(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 837 |         withAnimation(.interpolatingSpring(stiffness: options.offsetExpandAnimationStiffness, damping: options.offsetExpandAnimationDamping, initialVelocity: velocity)) {
 838 |             switch side {
 839 |             case .leading:
 840 |                 savedOffset = leadingExpandedOffset
     |                 |- error: setter for 'savedOffset' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 841 |             case .trailing:
 842 |                 savedOffset = trailingExpandedOffset
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:842:17: error: setter for 'savedOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 834 |     }
 835 |
 836 |     func expand(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 837 |         withAnimation(.interpolatingSpring(stiffness: options.offsetExpandAnimationStiffness, damping: options.offsetExpandAnimationDamping, initialVelocity: velocity)) {
 838 |             switch side {
     :
 840 |                 savedOffset = leadingExpandedOffset
 841 |             case .trailing:
 842 |                 savedOffset = trailingExpandedOffset
     |                 |- error: setter for 'savedOffset' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 843 |             }
 844 |             currentOffset = 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:844:13: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 799 | // MARK: - State
 800 |
 801 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 802 |     /// Call this after programmatically setting the state to update the view's offset.
 803 |     func updateOffset(side: SwipeSide, to state: SwipeState?) {
     :
 834 |     }
 835 |
 836 |     func expand(side: SwipeSide, velocity: Double) {
     |          `- note: add @available attribute to enclosing instance method
 837 |         withAnimation(.interpolatingSpring(stiffness: options.offsetExpandAnimationStiffness, damping: options.offsetExpandAnimationDamping, initialVelocity: velocity)) {
 838 |             switch side {
     :
 842 |                 savedOffset = trailingExpandedOffset
 843 |             }
 844 |             currentOffset = 0
     |             |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 845 |         }
 846 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:854:9: error: setter for 'latestDragGestureValueBackup' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 853 |         /// Back up the value.
 854 |         latestDragGestureValueBackup = value
     |         |- error: setter for 'latestDragGestureValueBackup' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 855 |
 856 |         /// Set the current side.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:860:17: error: setter for 'currentSide' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 853 |         /// Back up the value.
 854 |         latestDragGestureValueBackup = value
     :
 858 |             let dx = value.location.x - value.startLocation.x
 859 |             if dx > 0 {
 860 |                 currentSide = .leading
     |                 |- error: setter for 'currentSide' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 861 |             } else {
 862 |                 currentSide = .trailing
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:862:17: error: setter for 'currentSide' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 853 |         /// Back up the value.
 854 |         latestDragGestureValueBackup = value
     :
 860 |                 currentSide = .leading
 861 |             } else {
 862 |                 currentSide = .trailing
     |                 |- error: setter for 'currentSide' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 863 |             }
 864 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:884:13: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 882 |         if numberOfLeadingActions == 0 || disallowedSide == .leading, totalOffset > 0 {
 883 |             let constrainedExceededOffset = pow(totalOffset, options.stretchRubberBandingPower)
 884 |             currentOffset = constrainedExceededOffset - savedOffset
     |             |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 885 |             leadingState = nil
 886 |             trailingState = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:885:13: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 883 |             let constrainedExceededOffset = pow(totalOffset, options.stretchRubberBandingPower)
 884 |             currentOffset = constrainedExceededOffset - savedOffset
 885 |             leadingState = nil
     |             |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 886 |             trailingState = nil
 887 |         } else if numberOfTrailingActions == 0 || disallowedSide == .trailing, totalOffset < 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:886:13: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 884 |             currentOffset = constrainedExceededOffset - savedOffset
 885 |             leadingState = nil
 886 |             trailingState = nil
     |             |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 887 |         } else if numberOfTrailingActions == 0 || disallowedSide == .trailing, totalOffset < 0 {
 888 |             let constrainedExceededOffset = -pow(-totalOffset, options.stretchRubberBandingPower)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:889:13: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 887 |         } else if numberOfTrailingActions == 0 || disallowedSide == .trailing, totalOffset < 0 {
 888 |             let constrainedExceededOffset = -pow(-totalOffset, options.stretchRubberBandingPower)
 889 |             currentOffset = constrainedExceededOffset - savedOffset
     |             |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 890 |             leadingState = nil
 891 |             trailingState = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:890:13: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 888 |             let constrainedExceededOffset = -pow(-totalOffset, options.stretchRubberBandingPower)
 889 |             currentOffset = constrainedExceededOffset - savedOffset
 890 |             leadingState = nil
     |             |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 891 |             trailingState = nil
 892 |         } else { /// Otherwise, attempt to trigger the swipe actions.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:891:13: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 889 |             currentOffset = constrainedExceededOffset - savedOffset
 890 |             leadingState = nil
 891 |             trailingState = nil
     |             |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 892 |         } else { /// Otherwise, attempt to trigger the swipe actions.
 893 |             /// Flag to keep track of whether `currentOffset` was set or not — if `false`, then set to the default of `value.translation.width`.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:899:21: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 897 |                 setCurrentOffset = true
 898 |                 if swipeToTriggerLeadingEdge {
 899 |                     currentOffset = value.translation.width
     |                     |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 900 |                     leadingState = .triggering
 901 |                     trailingState = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:900:21: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 898 |                 if swipeToTriggerLeadingEdge {
 899 |                     currentOffset = value.translation.width
 900 |                     leadingState = .triggering
     |                     |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 901 |                     trailingState = nil
 902 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:901:21: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 899 |                     currentOffset = value.translation.width
 900 |                     leadingState = .triggering
 901 |                     trailingState = nil
     |                     |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 902 |                 } else {
 903 |                     let exceededOffset = totalOffset - leadingReadyToTriggerOffset
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:906:21: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 904 |                     let constrainedExceededOffset = pow(exceededOffset, options.stretchRubberBandingPower)
 905 |                     let constrainedTotalOffset = leadingReadyToTriggerOffset + constrainedExceededOffset
 906 |                     currentOffset = constrainedTotalOffset - savedOffset
     |                     |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 907 |                     leadingState = nil
 908 |                     trailingState = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:907:21: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 905 |                     let constrainedTotalOffset = leadingReadyToTriggerOffset + constrainedExceededOffset
 906 |                     currentOffset = constrainedTotalOffset - savedOffset
 907 |                     leadingState = nil
     |                     |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 908 |                     trailingState = nil
 909 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:908:21: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 906 |                     currentOffset = constrainedTotalOffset - savedOffset
 907 |                     leadingState = nil
 908 |                     trailingState = nil
     |                     |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 909 |                 }
 910 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:915:21: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 913 |                 setCurrentOffset = true
 914 |                 if swipeToTriggerTrailingEdge {
 915 |                     currentOffset = value.translation.width
     |                     |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 916 |                     trailingState = .triggering
 917 |                     leadingState = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:916:21: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 914 |                 if swipeToTriggerTrailingEdge {
 915 |                     currentOffset = value.translation.width
 916 |                     trailingState = .triggering
     |                     |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 917 |                     leadingState = nil
 918 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:917:21: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 915 |                     currentOffset = value.translation.width
 916 |                     trailingState = .triggering
 917 |                     leadingState = nil
     |                     |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 918 |                 } else {
 919 |                     let exceededOffset = totalOffset - trailingReadyToTriggerOffset
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:922:21: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 920 |                     let constrainedExceededOffset = -pow(-exceededOffset, options.stretchRubberBandingPower)
 921 |                     let constrainedTotalOffset = trailingReadyToTriggerOffset + constrainedExceededOffset
 922 |                     currentOffset = constrainedTotalOffset - savedOffset
     |                     |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 923 |                     leadingState = nil
 924 |                     trailingState = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:923:21: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 921 |                     let constrainedTotalOffset = trailingReadyToTriggerOffset + constrainedExceededOffset
 922 |                     currentOffset = constrainedTotalOffset - savedOffset
 923 |                     leadingState = nil
     |                     |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 924 |                     trailingState = nil
 925 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:924:21: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 922 |                     currentOffset = constrainedTotalOffset - savedOffset
 923 |                     leadingState = nil
 924 |                     trailingState = nil
     |                     |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |                     `- note: add 'if #available' version check
 925 |                 }
 926 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:930:17: error: setter for 'currentOffset' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 928 |             /// If the offset wasn't modified already (due to rubber banding), use `value.translation.width` as the default.
 929 |             if !setCurrentOffset {
 930 |                 currentOffset = value.translation.width
     |                 |- error: setter for 'currentOffset' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 931 |                 leadingState = nil
 932 |                 trailingState = nil
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:931:17: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 929 |             if !setCurrentOffset {
 930 |                 currentOffset = value.translation.width
 931 |                 leadingState = nil
     |                 |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 932 |                 trailingState = nil
 933 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:932:17: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 872 |     }
 873 |
 874 |     func change(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 875 |         /// The total offset of the swipe view.
 876 |         let totalOffset = savedOffset + value.translation.width
     :
 930 |                 currentOffset = value.translation.width
 931 |                 leadingState = nil
 932 |                 trailingState = nil
     |                 |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 933 |             }
 934 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:938:9: error: setter for 'latestDragGestureValueBackup' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 935 |     }
 936 |
 937 |     func onEnded(value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
 938 |         latestDragGestureValueBackup = nil
     |         |- error: setter for 'latestDragGestureValueBackup' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
 939 |         let velocity = velocity.dx / currentOffset
 940 |         end(value: value, velocity: velocity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:949:13: error: setter for 'currentSide' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
 947 |
 948 |         if getDisallowedSide(totalOffset: totalPredictedOffset) != nil {
 949 |             currentSide = nil
     |             |- error: setter for 'currentSide' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 950 |             leadingState = .closed
 951 |             trailingState = .closed
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:950:13: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 948 |         if getDisallowedSide(totalOffset: totalPredictedOffset) != nil {
 949 |             currentSide = nil
 950 |             leadingState = .closed
     |             |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 951 |             trailingState = .closed
 952 |             close(velocity: velocity)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:951:13: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 949 |             currentSide = nil
 950 |             leadingState = .closed
 951 |             trailingState = .closed
     |             |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 952 |             close(velocity: velocity)
 953 |             return
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:957:13: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 955 |
 956 |         if trailingState == .triggering {
 957 |             trailingState = .triggered
     |             |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 958 |             trigger(side: .trailing, velocity: velocity)
 959 |         } else if leadingState == .triggering {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:960:13: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 958 |             trigger(side: .trailing, velocity: velocity)
 959 |         } else if leadingState == .triggering {
 960 |             leadingState = .triggered
     |             |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 961 |             trigger(side: .leading, velocity: velocity)
 962 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:964:17: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 962 |         } else {
 963 |             if totalPredictedOffset > leadingReadyToExpandOffset, numberOfLeadingActions > 0 {
 964 |                 leadingState = .expanded
     |                 |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 965 |                 expand(side: .leading, velocity: velocity)
 966 |             } else if totalPredictedOffset < trailingReadyToExpandOffset, numberOfTrailingActions > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:967:17: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 965 |                 expand(side: .leading, velocity: velocity)
 966 |             } else if totalPredictedOffset < trailingReadyToExpandOffset, numberOfTrailingActions > 0 {
 967 |                 trailingState = .expanded
     |                 |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 968 |                 expand(side: .trailing, velocity: velocity)
 969 |             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:970:17: error: setter for 'currentSide' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 968 |                 expand(side: .trailing, velocity: velocity)
 969 |             } else {
 970 |                 currentSide = nil
     |                 |- error: setter for 'currentSide' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 971 |                 leadingState = .closed
 972 |                 trailingState = .closed
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:971:17: error: setter for 'leadingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 969 |             } else {
 970 |                 currentSide = nil
 971 |                 leadingState = .closed
     |                 |- error: setter for 'leadingState' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 972 |                 trailingState = .closed
 973 |                 let draggedPastTrailingSide = totalOffset > 0
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:972:17: error: setter for 'trailingState' is only available in macOS 10.15 or newer
 849 | // MARK: - Gestures
 850 |
 851 | extension SwipeView {
     | `- note: add @available attribute to enclosing extension
 852 |     func onChanged(value: DragGesture.Value) {
 853 |         /// Back up the value.
     :
 942 |
 943 |     /// Represents the end of a gesture.
 944 |     func end(value: DragGesture.Value, velocity: CGFloat) {
     |          `- note: add @available attribute to enclosing instance method
 945 |         let totalOffset = savedOffset + value.translation.width
 946 |         let totalPredictedOffset = (savedOffset + value.predictedEndTranslation.width) * 0.5
     :
 970 |                 currentSide = nil
 971 |                 leadingState = .closed
 972 |                 trailingState = .closed
     |                 |- error: setter for 'trailingState' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
 973 |                 let draggedPastTrailingSide = totalOffset > 0
 974 |                 if draggedPastTrailingSide { /// if the finger is on the right of the view, make the velocity negative to return to closed quicker.
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:993:14: 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
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 991 |         action: @escaping () -> Void
 992 |     ) {
 993 |         self.init(action: action) { highlight in
     |              |- 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
 994 |             Text(title)
 995 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:993:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 991 |         action: @escaping () -> Void
 992 |     ) {
 993 |         self.init(action: action) { highlight in
     |              |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |              `- note: add 'if #available' version check
 994 |             Text(title)
 995 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:994: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
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 992 |     ) {
 993 |         self.init(action: action) { highlight in
 994 |             Text(title)
     |             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |             `- note: add 'if #available' version check
 995 |         } background: { highlight in
 996 |             backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:994:13: error: 'Text' is only available in macOS 10.15 or newer
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 992 |     ) {
 993 |         self.init(action: action) { highlight in
 994 |             Text(title)
     |             |- error: 'Text' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 995 |         } background: { highlight in
 996 |             backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:994:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 992 |     ) {
 993 |         self.init(action: action) { highlight in
 994 |             Text(title)
     |             |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
 995 |         } background: { highlight in
 996 |             backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:993:35: 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
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 991 |         action: @escaping () -> Void
 992 |     ) {
 993 |         self.init(action: action) { highlight in
     |                                   |- 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
 994 |             Text(title)
 995 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:996:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 994 |             Text(title)
 995 |         } background: { highlight in
 996 |             backgroundColor
     |             |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |             `- note: add 'if #available' version check
 997 |                 .opacity(highlight ? highlightOpacity : 1)
 998 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:997:18: error: 'opacity' is only available in macOS 10.15 or newer
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 995 |         } background: { highlight in
 996 |             backgroundColor
 997 |                 .opacity(highlight ? highlightOpacity : 1)
     |                  |- error: 'opacity' is only available in macOS 10.15 or newer
     |                  `- note: add 'if #available' version check
 998 |         }
 999 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:995:23: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 984 | // MARK: Convenience views
 985 |
 986 | public extension SwipeAction where Label == Text, Background == Color {
     |        `- note: add @available attribute to enclosing extension
 987 |     init(
     |     `- note: add @available attribute to enclosing initializer
 988 |         _ title: LocalizedStringKey,
 989 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
 993 |         self.init(action: action) { highlight in
 994 |             Text(title)
 995 |         } background: { highlight in
     |                       |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |                       `- note: add 'if #available' version check
 996 |             backgroundColor
 997 |                 .opacity(highlight ? highlightOpacity : 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1009:14: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1007 |         action: @escaping () -> Void
1008 |     ) {
1009 |         self.init(action: action) { highlight in
     |              |- warning: conformance of 'Image' 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
1010 |             Image(systemName: systemImage)
1011 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1009:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1007 |         action: @escaping () -> Void
1008 |     ) {
1009 |         self.init(action: action) { highlight in
     |              |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |              `- note: add 'if #available' version check
1010 |             Image(systemName: systemImage)
1011 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1010:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1008 |     ) {
1009 |         self.init(action: action) { highlight in
1010 |             Image(systemName: systemImage)
     |             |- warning: conformance of 'Image' 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
1011 |         } background: { highlight in
1012 |             backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1010:13: error: 'Image' is only available in macOS 10.15 or newer
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1008 |     ) {
1009 |         self.init(action: action) { highlight in
1010 |             Image(systemName: systemImage)
     |             |- error: 'Image' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
1011 |         } background: { highlight in
1012 |             backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1010:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1008 |     ) {
1009 |         self.init(action: action) { highlight in
1010 |             Image(systemName: systemImage)
     |             |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
     |             `- note: add 'if #available' version check
1011 |         } background: { highlight in
1012 |             backgroundColor
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1009:35: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1007 |         action: @escaping () -> Void
1008 |     ) {
1009 |         self.init(action: action) { highlight in
     |                                   |- warning: conformance of 'Image' 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
1010 |             Image(systemName: systemImage)
1011 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1012:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1010 |             Image(systemName: systemImage)
1011 |         } background: { highlight in
1012 |             backgroundColor
     |             |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |             `- note: add 'if #available' version check
1013 |                 .opacity(highlight ? highlightOpacity : 1)
1014 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1013:18: error: 'opacity' is only available in macOS 10.15 or newer
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1011 |         } background: { highlight in
1012 |             backgroundColor
1013 |                 .opacity(highlight ? highlightOpacity : 1)
     |                  |- error: 'opacity' is only available in macOS 10.15 or newer
     |                  `- note: add 'if #available' version check
1014 |         }
1015 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1011:23: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1000 | }
1001 |
1002 | public extension SwipeAction where Label == Image, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1003 |     init(
     |     `- note: add @available attribute to enclosing initializer
1004 |         systemImage: String,
1005 |         backgroundColor: Color = Color.primary.opacity(0.1),
     :
1009 |         self.init(action: action) { highlight in
1010 |             Image(systemName: systemImage)
1011 |         } background: { highlight in
     |                       |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |                       `- note: add 'if #available' version check
1012 |             backgroundColor
1013 |                 .opacity(highlight ? highlightOpacity : 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1027:14: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1025 |         action: @escaping () -> Void
1026 |     ) {
1027 |         self.init(action: action) { highlight in
     |              |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |              `- note: add 'if #available' version check
1028 |             VStack(spacing: 8) {
1029 |                 Image(systemName: systemImage)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1028:13: error: 'VStack' is only available in macOS 10.15 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1026 |     ) {
1027 |         self.init(action: action) { highlight in
1028 |             VStack(spacing: 8) {
     |             |- error: 'VStack' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
1029 |                 Image(systemName: systemImage)
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1029:17: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1027 |         self.init(action: action) { highlight in
1028 |             VStack(spacing: 8) {
1029 |                 Image(systemName: systemImage)
     |                 |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |                 `- note: add 'if #available' version check
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
1031 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1030:42: error: 'ModifiedContent' is only available in macOS 10.15 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1028 |             VStack(spacing: 8) {
1029 |                 Image(systemName: systemImage)
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
     |                                          |- error: 'ModifiedContent' is only available in macOS 10.15 or newer
     |                                          `- note: add 'if #available' version check
1031 |
1032 |                 Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1029:17: error: 'Image' is only available in macOS 10.15 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1027 |         self.init(action: action) { highlight in
1028 |             VStack(spacing: 8) {
1029 |                 Image(systemName: systemImage)
     |                 |- error: 'Image' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
1031 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1029:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1027 |         self.init(action: action) { highlight in
1028 |             VStack(spacing: 8) {
1029 |                 Image(systemName: systemImage)
     |                 |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
     |                 `- note: add 'if #available' version check
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
1031 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1030:22: error: 'font' is only available in macOS 10.15 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1028 |             VStack(spacing: 8) {
1029 |                 Image(systemName: systemImage)
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
     |                      |- error: 'font' is only available in macOS 10.15 or newer
     |                      `- note: add 'if #available' version check
1031 |
1032 |                 Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1032: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
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
1031 |
1032 |                 Text(title)
     |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |                 `- note: add 'if #available' version check
1033 |             }
1034 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1032:17: error: 'Text' is only available in macOS 10.15 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
1031 |
1032 |                 Text(title)
     |                 |- error: 'Text' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
1033 |             }
1034 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1032:17: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
1031 |
1032 |                 Text(title)
     |                 |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
1033 |             }
1034 |         } background: { highlight in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1028:32: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1026 |     ) {
1027 |         self.init(action: action) { highlight in
1028 |             VStack(spacing: 8) {
     |                                |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |                                `- note: add 'if #available' version check
1029 |                 Image(systemName: systemImage)
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1028: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
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1026 |     ) {
1027 |         self.init(action: action) { highlight in
1028 |             VStack(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
1029 |                 Image(systemName: systemImage)
1030 |                     .font(imageFont) as! ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1035:13: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1033 |             }
1034 |         } background: { highlight in
1035 |             backgroundColor
     |             |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |             `- note: add 'if #available' version check
1036 |                 .opacity(highlight ? highlightOpacity : 1)
1037 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1036:18: error: 'opacity' is only available in macOS 10.15 or newer
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1034 |         } background: { highlight in
1035 |             backgroundColor
1036 |                 .opacity(highlight ? highlightOpacity : 1)
     |                  |- error: 'opacity' is only available in macOS 10.15 or newer
     |                  `- note: add 'if #available' version check
1037 |         }
1038 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1034:23: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
1016 | }
1017 |
1018 | public extension SwipeAction where Label == VStack<TupleView<(ModifiedContent<Image, _EnvironmentKeyWritingModifier<Font?>>, Text)>>, Background == Color {
     |        `- note: add @available attribute to enclosing extension
1019 |     init(
     |     `- note: add @available attribute to enclosing initializer
1020 |         _ title: LocalizedStringKey,
1021 |         systemImage: String,
     :
1032 |                 Text(title)
1033 |             }
1034 |         } background: { highlight in
     |                       |- warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
     |                       `- note: add 'if #available' version check
1035 |             backgroundColor
1036 |                 .opacity(highlight ? highlightOpacity : 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1267:14: error: 'mask' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
     |              |- error: 'mask' is only available in macOS 10.15 or newer
     |              `- note: add 'if #available' version check
1268 |                 Color.clear.overlay(
1269 |                     SwipeDeleteMaskShape(animatableData: visibility)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1268:17: error: 'Color' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
1268 |                 Color.clear.overlay(
     |                 |- error: 'Color' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
1269 |                     SwipeDeleteMaskShape(animatableData: visibility)
1270 |                         .padding(.horizontal, -100) /// Prevent horizontal clipping
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1268:23: error: 'clear' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
1268 |                 Color.clear.overlay(
     |                       |- error: 'clear' is only available in macOS 10.15 or newer
     |                       `- note: add 'if #available' version check
1269 |                     SwipeDeleteMaskShape(animatableData: visibility)
1270 |                         .padding(.horizontal, -100) /// Prevent horizontal clipping
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1268:29: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
1268 |                 Color.clear.overlay(
     |                             |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
     |                             `- note: add 'if #available' version check
1269 |                     SwipeDeleteMaskShape(animatableData: visibility)
1270 |                         .padding(.horizontal, -100) /// Prevent horizontal clipping
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1270:26: error: 'padding' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
1268 |                 Color.clear.overlay(
1269 |                     SwipeDeleteMaskShape(animatableData: visibility)
1270 |                         .padding(.horizontal, -100) /// Prevent horizontal clipping
     |                          |- error: 'padding' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
1271 |                         .padding(.vertical, -10), /// Prevent vertical clipping
1272 |                     alignment: .top
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1271:26: error: 'padding' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
     :
1269 |                     SwipeDeleteMaskShape(animatableData: visibility)
1270 |                         .padding(.horizontal, -100) /// Prevent horizontal clipping
1271 |                         .padding(.vertical, -10), /// Prevent vertical clipping
     |                          |- error: 'padding' is only available in macOS 10.15 or newer
     |                          `- note: add 'if #available' version check
1272 |                     alignment: .top
1273 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1272:33: error: 'top' is only available in macOS 10.15 or newer
1260 |
1261 | /// Modifier for a clipped delete transition effect.
1262 | public struct SwipeDeleteModifier: ViewModifier {
     |               `- note: add @available attribute to enclosing struct
1263 |     var visibility: Double
1264 |
1265 |     public func body(content: Content) -> some View {
     |                 `- note: add @available attribute to enclosing instance method
1266 |         content
1267 |             .mask(
     :
1270 |                         .padding(.horizontal, -100) /// Prevent horizontal clipping
1271 |                         .padding(.vertical, -10), /// Prevent vertical clipping
1272 |                     alignment: .top
     |                                 |- error: 'top' is only available in macOS 10.15 or newer
     |                                 `- note: add 'if #available' version check
1273 |                 )
1274 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1281:10: error: 'modifier(active:identity:)' is only available in macOS 10.15 or newer
1276 | }
1277 |
1278 | public extension AnyTransition {
     |        `- note: add @available attribute to enclosing extension
1279 |     /// Transition that mimics iOS's default delete transition (clipped to the top).
1280 |     static var swipeDelete: AnyTransition {
     |                `- note: add @available attribute to enclosing static property
1281 |         .modifier(
     |          |- error: 'modifier(active:identity:)' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
1282 |             active: SwipeDeleteModifier(visibility: 0),
1283 |             identity: SwipeDeleteModifier(visibility: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1295:16: error: 'Path' is only available in macOS 10.15 or newer
1287 |
1288 | /// Custom shape that changes height as `animatableData` changes.
1289 | public struct SwipeDeleteMaskShape: Shape {
     |               `- note: add @available attribute to enclosing struct
1290 |     public var animatableData: Double
1291 |
1292 |     public func path(in rect: CGRect) -> Path {
     |                 `- note: add @available attribute to enclosing instance method
1293 |         var maskRect = rect
1294 |         maskRect.size.height = rect.size.height * animatableData
1295 |         return Path(maskRect)
     |                |- error: 'Path' is only available in macOS 10.15 or newer
     |                `- note: add 'if #available' version check
1296 |     }
1297 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1344:13: error: setter for 'previous' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
1340 |     @State var current: DragGesture.Value?
1341 |
1342 |     func update(_ value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
1343 |         if current != nil {
1344 |             previous = current
     |             |- error: setter for 'previous' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
1345 |         }
1346 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1347:9: error: setter for 'current' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
1340 |     @State var current: DragGesture.Value?
1341 |
1342 |     func update(_ value: DragGesture.Value) {
     |          `- note: add @available attribute to enclosing instance method
1343 |         if current != nil {
1344 |             previous = current
1345 |         }
1346 |
1347 |         current = value
     |         |- error: setter for 'current' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
1348 |     }
1349 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1351:9: error: setter for 'previous' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
1340 |     @State var current: DragGesture.Value?
     :
1348 |     }
1349 |
1350 |     func reset() {
     |          `- note: add @available attribute to enclosing instance method
1351 |         previous = nil
     |         |- error: setter for 'previous' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
1352 |         current = nil
1353 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1352:9: error: setter for 'current' is only available in macOS 10.15 or newer
1336 |  */
1337 | @propertyWrapper
1338 | struct GestureVelocity: DynamicProperty {
     |        `- note: add @available attribute to enclosing struct
1339 |     @State var previous: DragGesture.Value?
1340 |     @State var current: DragGesture.Value?
     :
1348 |     }
1349 |
1350 |     func reset() {
     |          `- note: add @available attribute to enclosing instance method
1351 |         previous = nil
1352 |         current = nil
     |         |- error: setter for 'current' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
1353 |     }
1354 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1387:9: error: 'onChanged' is only available in macOS 10.15 or newer
1383 | }
1384 |
1385 | extension Gesture where Value == DragGesture.Value {
     | `- note: add @available attribute to enclosing extension
1386 |     func updatingVelocity(_ velocity: GestureVelocity) -> _EndedGesture<_ChangedGesture<Self>> {
     |          `- note: add @available attribute to enclosing instance method
1387 |         onChanged { value in
     |         |- error: 'onChanged' is only available in macOS 10.15 or newer
     |         `- note: add 'if #available' version check
1388 |             velocity.update(value)
1389 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1390:10: error: 'onEnded' is only available in macOS 10.15 or newer
1383 | }
1384 |
1385 | extension Gesture where Value == DragGesture.Value {
     | `- note: add @available attribute to enclosing extension
1386 |     func updatingVelocity(_ velocity: GestureVelocity) -> _EndedGesture<_ChangedGesture<Self>> {
     |          `- note: add @available attribute to enclosing instance method
1387 |         onChanged { value in
1388 |             velocity.update(value)
1389 |         }
1390 |         .onEnded { _ in
     |          |- error: 'onEnded' is only available in macOS 10.15 or newer
     |          `- note: add 'if #available' version check
1391 |             velocity.reset()
1392 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1403:16: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
     |                |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
     |                `- note: add 'if #available' version check
1404 |             GeometryReader { geometry in
1405 |                 Color.clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1404:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
1404 |             GeometryReader { geometry in
     |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
     |             `- note: add 'if #available' version check
1405 |                 Color.clear
1406 |                     .preference(key: ContentSizeReaderPreferenceKey.self, value: geometry.size)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1405:17: error: 'Color' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
1404 |             GeometryReader { geometry in
1405 |                 Color.clear
     |                 |- error: 'Color' is only available in macOS 10.15 or newer
     |                 `- note: add 'if #available' version check
1406 |                     .preference(key: ContentSizeReaderPreferenceKey.self, value: geometry.size)
1407 |                     .onPreferenceChange(ContentSizeReaderPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1405:23: error: 'clear' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
1404 |             GeometryReader { geometry in
1405 |                 Color.clear
     |                       |- error: 'clear' is only available in macOS 10.15 or newer
     |                       `- note: add 'if #available' version check
1406 |                     .preference(key: ContentSizeReaderPreferenceKey.self, value: geometry.size)
1407 |                     .onPreferenceChange(ContentSizeReaderPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1406:22: error: 'preference(key:value:)' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
1404 |             GeometryReader { geometry in
1405 |                 Color.clear
1406 |                     .preference(key: ContentSizeReaderPreferenceKey.self, value: geometry.size)
     |                      |- error: 'preference(key:value:)' is only available in macOS 10.15 or newer
     |                      `- note: add 'if #available' version check
1407 |                     .onPreferenceChange(ContentSizeReaderPreferenceKey.self) { newValue in
1408 |                         DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1407:22: error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
1404 |             GeometryReader { geometry in
1405 |                 Color.clear
1406 |                     .preference(key: ContentSizeReaderPreferenceKey.self, value: geometry.size)
1407 |                     .onPreferenceChange(ContentSizeReaderPreferenceKey.self) { newValue in
     |                      |- error: 'onPreferenceChange(_:perform:)' is only available in macOS 10.15 or newer
     |                      `- note: add 'if #available' version check
1408 |                         DispatchQueue.main.async {
1409 |                             size(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions.swift:1413:14: error: 'hidden()' is only available in macOS 10.15 or newer
1399 |  From https://stackoverflow.com/a/66822461/14351818
1400 |  */
1401 | extension View {
     | `- note: add @available attribute to enclosing extension
1402 |     func readSize(size: @escaping (CGSize) -> Void) -> some View {
     |          `- note: add @available attribute to enclosing instance method
1403 |         return background(
1404 |             GeometryReader { geometry in
     :
1411 |                     }
1412 |             }
1413 |             .hidden()
     |              |- error: 'hidden()' is only available in macOS 10.15 or newer
     |              `- note: add 'if #available' version check
1414 |         )
1415 |     }
BUILD FAILURE 6.0 macosSpm