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 Drawer, reference v0.1.0 (e18f1f), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 06:34:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maustinstar/swiftui-drawer.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maustinstar/swiftui-drawer
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at e18f1f4 Update Examples.md
Cloned https://github.com/maustinstar/swiftui-drawer.git
Revision (git rev-parse @):
e18f1f44dc716d99d9a147a47d8507eebbfa8e4c
SUCCESS checkout https://github.com/maustinstar/swiftui-drawer.git at v0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftui-drawer",
      "name": "Drawer",
      "url": "https://github.com/maustinstar/swiftui-drawer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-drawer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/maustinstar/swiftui-drawer.git
[1/209] Fetching swiftui-drawer
Fetched https://github.com/maustinstar/swiftui-drawer.git from cache (1.23s)
Creating working copy for https://github.com/maustinstar/swiftui-drawer.git
Working copy of https://github.com/maustinstar/swiftui-drawer.git resolved at v0.1.0 (e18f1f4)
warning: '.resolve-product-dependencies': dependency 'swiftui-drawer' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/maustinstar/swiftui-drawer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling Drawer Drawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:38:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 36 |     }
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
    |                    `- error: 'verticalSizeClass' is only available in macOS 10.15 or newer
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:39:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
    |                    `- error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
 41 |         horizontal: nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:49: error: 'Animation' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                 `- error: 'Animation' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:59: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                           `- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:62:35: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 60 |     // MARK: Haptics
 61 |
 62 |     internal var impactGenerator: UIImpactFeedbackGenerator?
    |                                   `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
 63 |
 64 |     // MARK: View
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
 14 |
 15 |     /// The possible resting heights of the drawer
 16 |     @Binding public var heights: [CGFloat]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 |     /// The current height of the displayed drawer
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 17 |
 18 |     /// The current height of the displayed drawer
 19 |     @State public var height: CGFloat
    |      `- error: 'State' is only available in macOS 10.15 or newer
 20 |
 21 |     /// The current height marker the drawer is conformed to. Change triggers `onRest`
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 20 |
 21 |     /// The current height marker the drawer is conformed to. Change triggers `onRest`
 22 |     @State internal var restingHeight: CGFloat {
    |      `- error: 'State' is only available in macOS 10.15 or newer
 23 |         didSet {
 24 |             didRest?(restingHeight)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:34:25: error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 31 |     // MARK: Orientation
 32 |
 33 |     public struct SizeClass: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 34 |         var horizontal: UserInterfaceSizeClass?
    |                         `- error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 35 |         var vertical: UserInterfaceSizeClass?
 36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:35:23: error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 31 |     // MARK: Orientation
 32 |
 33 |     public struct SizeClass: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 34 |         var horizontal: UserInterfaceSizeClass?
 35 |         var vertical: UserInterfaceSizeClass?
    |                       `- error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 36 |     }
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:38:6: error: 'Environment' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 36 |     }
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:39:6: error: 'Environment' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
 41 |         horizontal: nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |         horizontal: nil,
 42 |         vertical: nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:51:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 49 |     // MARK: Gestures
 50 |
 51 |     @State internal var dragging: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 52 |
 53 |     // MARK: Animation
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:36: error: 'Animation' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                    `- error: 'Animation' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:11:52: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:79:18: error: 'Binding' is only available in macOS 10.15 or newer
 69 | // MARK: Public init
 70 |
 71 | public extension Drawer {
    |        `- note: add @available attribute to enclosing extension
 72 |
 73 |     /// A bottom-up view that conforms to multiple heights
    :
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: add @available attribute to enclosing initializer
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 80 |         startingHeight: CGFloat? = nil,
 81 |         @ViewBuilder _ content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:81:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 69 | // MARK: Public init
 70 |
 71 | public extension Drawer {
    |        `- note: add @available attribute to enclosing extension
 72 |
 73 |     /// A bottom-up view that conforms to multiple heights
    :
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: add @available attribute to enclosing initializer
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
 80 |         startingHeight: CGFloat? = nil,
 81 |         @ViewBuilder _ content: () -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 82 |     ) {
 83 |         self._heights = heights
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:100:26: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 98 |         didRest: ((_ height: CGFloat) -> ())?,
 99 |         didLayoutForSizeClass: ((SizeClass) -> ())?,
100 |         impactGenerator: UIImpactFeedbackGenerator?,
    |                          `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
101 |         content: Content
102 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:94:18: error: 'Binding' is only available in macOS 10.15 or newer
 90 | // MARK: Internal Init
 91 |
 92 | internal extension Drawer {
    |          `- note: add @available attribute to enclosing extension
 93 |     init(
    |     `- note: add @available attribute to enclosing initializer
 94 |         heights: Binding<[CGFloat]>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 95 |         height: CGFloat,
 96 |         restingHeight: CGFloat,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module Drawer
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:14:27: error: 'Gesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
13 |
14 |     var dragGesture: some Gesture {
   |         |                 `- error: 'Gesture' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
15 |         return DragGesture().onChanged({ (value) in
16 |             self.dragChanged(value)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:22:31: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
20 |     }
21 |
22 |     func dragChanged(_ value: DragGesture.Value) {
   |          |                    `- error: 'DragGesture' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |         dragging = true
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:34:29: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          |                  `- error: 'DragGesture' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:15:27: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension Drawer {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     /// Sets the resting heights of the drawer
13 |     /// - Parameter heights: Possible resting heights for the drawer
14 |     /// - Returns: Drawer
15 |     func rest(at heights: Binding<[CGFloat]>) -> Drawer {
   |          |                `- error: 'Binding' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
16 |         return Drawer(
17 |             heights: heights,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:45:27: error: cannot find type 'UIImpactFeedbackGenerator' in scope
43 |     /// - Parameter impact: `FeedbackStyle` for impact level
44 |     /// - Returns: Drawer with specified impact level
45 |     func impact(_ impact: UIImpactFeedbackGenerator.FeedbackStyle) -> Drawer {
   |                           `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
46 |         let impactGenerator = UIImpactFeedbackGenerator(style: impact)
47 |         return Drawer(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:38:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 36 |     }
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
    |                    `- error: 'verticalSizeClass' is only available in macOS 10.15 or newer
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:39:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
    |                    `- error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
 41 |         horizontal: nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:49: error: 'Animation' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                 `- error: 'Animation' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:59: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                           `- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:62:35: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 60 |     // MARK: Haptics
 61 |
 62 |     internal var impactGenerator: UIImpactFeedbackGenerator?
    |                                   `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
 63 |
 64 |     // MARK: View
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
 14 |
 15 |     /// The possible resting heights of the drawer
 16 |     @Binding public var heights: [CGFloat]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 17 |
 18 |     /// The current height of the displayed drawer
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:19:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 17 |
 18 |     /// The current height of the displayed drawer
 19 |     @State public var height: CGFloat
    |      `- error: 'State' is only available in macOS 10.15 or newer
 20 |
 21 |     /// The current height marker the drawer is conformed to. Change triggers `onRest`
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 20 |
 21 |     /// The current height marker the drawer is conformed to. Change triggers `onRest`
 22 |     @State internal var restingHeight: CGFloat {
    |      `- error: 'State' is only available in macOS 10.15 or newer
 23 |         didSet {
 24 |             didRest?(restingHeight)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:34:25: error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 31 |     // MARK: Orientation
 32 |
 33 |     public struct SizeClass: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 34 |         var horizontal: UserInterfaceSizeClass?
    |                         `- error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 35 |         var vertical: UserInterfaceSizeClass?
 36 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:35:23: error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 31 |     // MARK: Orientation
 32 |
 33 |     public struct SizeClass: Equatable {
    |                   `- note: add @available attribute to enclosing struct
 34 |         var horizontal: UserInterfaceSizeClass?
 35 |         var vertical: UserInterfaceSizeClass?
    |                       `- error: 'UserInterfaceSizeClass' is only available in macOS 10.15 or newer
 36 |     }
 37 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:38:6: error: 'Environment' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 36 |     }
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:39:6: error: 'Environment' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
 41 |         horizontal: nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |         horizontal: nil,
 42 |         vertical: nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:51:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 49 |     // MARK: Gestures
 50 |
 51 |     @State internal var dragging: Bool = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 52 |
 53 |     // MARK: Animation
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:36: error: 'Animation' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                    `- error: 'Animation' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:6: error: 'State' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:11:52: error: 'View' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:79:18: error: 'Binding' is only available in macOS 10.15 or newer
 69 | // MARK: Public init
 70 |
 71 | public extension Drawer {
    |        `- note: add @available attribute to enclosing extension
 72 |
 73 |     /// A bottom-up view that conforms to multiple heights
    :
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: add @available attribute to enclosing initializer
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 80 |         startingHeight: CGFloat? = nil,
 81 |         @ViewBuilder _ content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:81:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 69 | // MARK: Public init
 70 |
 71 | public extension Drawer {
    |        `- note: add @available attribute to enclosing extension
 72 |
 73 |     /// A bottom-up view that conforms to multiple heights
    :
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: add @available attribute to enclosing initializer
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
 80 |         startingHeight: CGFloat? = nil,
 81 |         @ViewBuilder _ content: () -> Content
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 82 |     ) {
 83 |         self._heights = heights
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:100:26: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 98 |         didRest: ((_ height: CGFloat) -> ())?,
 99 |         didLayoutForSizeClass: ((SizeClass) -> ())?,
100 |         impactGenerator: UIImpactFeedbackGenerator?,
    |                          `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
101 |         content: Content
102 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:94:18: error: 'Binding' is only available in macOS 10.15 or newer
 90 | // MARK: Internal Init
 91 |
 92 | internal extension Drawer {
    |          `- note: add @available attribute to enclosing extension
 93 |     init(
    |     `- note: add @available attribute to enclosing initializer
 94 |         heights: Binding<[CGFloat]>,
    |                  `- error: 'Binding' is only available in macOS 10.15 or newer
 95 |         height: CGFloat,
 96 |         restingHeight: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:12:31: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
14 |             Color.blue
[5/8] Compiling Drawer SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:12:31: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
14 |             Color.blue
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:38:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 36 |     }
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
    |                    `- error: 'verticalSizeClass' is only available in macOS 10.15 or newer
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:39:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
    |                    `- error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
 41 |         horizontal: nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:49: error: 'Animation' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                 `- error: 'Animation' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:59: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                           `- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:62:35: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 60 |     // MARK: Haptics
 61 |
 62 |     internal var impactGenerator: UIImpactFeedbackGenerator?
    |                                   `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
 63 |
 64 |     // MARK: View
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:100:26: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 98 |         didRest: ((_ height: CGFloat) -> ())?,
 99 |         didLayoutForSizeClass: ((SizeClass) -> ())?,
100 |         impactGenerator: UIImpactFeedbackGenerator?,
    |                          `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
101 |         content: Content
102 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:13:9: 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
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
   |         |- 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
14 |             Color.blue
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:13:9: 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
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
   |         |- 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
14 |             Color.blue
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:14: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
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
14 |             Color.blue
   |             |- 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
15 |         }
16 |         .rest(at: .constant([100, 340]))
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:14:13: error: 'Color' is only available in macOS 10.15 or newer
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
14 |             Color.blue
   |             |- error: 'Color' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
15 |         }
16 |         .rest(at: .constant([100, 340]))
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:14:19: error: 'blue' is only available in macOS 10.15 or newer
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
14 |             Color.blue
   |                   |- error: 'blue' is only available in macOS 10.15 or newer
   |                   `- note: add 'if #available' version check
15 |         }
16 |         .rest(at: .constant([100, 340]))
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:13:16: warning: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
   |                |- 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
14 |             Color.blue
15 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:16:10: 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
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
14 |             Color.blue
15 |         }
16 |         .rest(at: .constant([100, 340]))
   |          |- 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
17 |         .edgesIgnoringSafeArea(.vertical)
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/SwiftUIView.swift:17:10: error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
 9 |
10 | #if DEBUG
11 | struct SwiftUIView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
12 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
13 |         Drawer {
14 |             Color.blue
15 |         }
16 |         .rest(at: .constant([100, 340]))
17 |         .edgesIgnoringSafeArea(.vertical)
   |          |- error: 'edgesIgnoringSafeArea' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
18 |     }
19 | }
[6/8] Compiling Drawer Drawer+Computed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:35:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:28:17: error: setter for 'restingHeight' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
22 |     // MARK: View
23 |
24 |     private var offset: CGFloat {
   |                 `- note: add @available attribute to enclosing property
25 |         if !dragging && !heights.contains(restingHeight) {
26 |             DispatchQueue.main.async {
27 |                 let newHeight = Drawer.closest(self.restingHeight, markers: self.heights)
28 |                 self.restingHeight = newHeight
   |                 |- error: setter for 'restingHeight' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
29 |                 self.height = newHeight
30 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:29:17: error: setter for 'height' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
22 |     // MARK: View
23 |
24 |     private var offset: CGFloat {
   |                 `- note: add @available attribute to enclosing property
25 |         if !dragging && !heights.contains(restingHeight) {
26 |             DispatchQueue.main.async {
27 |                 let newHeight = Drawer.closest(self.restingHeight, markers: self.heights)
28 |                 self.restingHeight = newHeight
29 |                 self.height = newHeight
   |                 |- error: setter for 'height' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
30 |             }
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:39:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
    |                    `- error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
 41 |         horizontal: nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:38:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 36 |     }
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
    |                    `- error: 'verticalSizeClass' is only available in macOS 10.15 or newer
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:41:17: error: setter for 'sizeClass' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
39 |             vertical: verticalSizeClass)) {
40 |             DispatchQueue.main.async {
41 |                 self.sizeClass = SizeClass(
   |                 |- error: setter for 'sizeClass' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
42 |                     horizontal: self.horizontalSizeClass,
43 |                     vertical: self.verticalSizeClass)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:47:16: error: 'GeometryReader' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
45 |         }
46 |
47 |         return GeometryReader { (proxy) in
   |                |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
48 |             VStack {
49 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:48:13: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
46 |
47 |         return GeometryReader { (proxy) in
48 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
49 |                 Spacer()
50 |                     .frame(height:
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:49:17: error: 'Spacer' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
47 |         return GeometryReader { (proxy) in
48 |             VStack {
49 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
50 |                     .frame(height:
51 |                         proxy.frame(in: .global).height + self.fullHeight
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:50:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
48 |             VStack {
49 |                 Spacer()
50 |                     .frame(height:
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
51 |                         proxy.frame(in: .global).height + self.fullHeight
52 |                             /*+ (landscape ? 20 : 0)*/)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:51:31: error: 'frame(in:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
49 |                 Spacer()
50 |                     .frame(height:
51 |                         proxy.frame(in: .global).height + self.fullHeight
   |                               |- error: 'frame(in:)' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
52 |                             /*+ (landscape ? 20 : 0)*/)
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:55:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
53 |
54 |                 self.content
55 |                     .frame(height: self.fullHeight)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
56 |                     .offset(y: self.offset)
57 |                     .animation(self.animation)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:56:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
54 |                 self.content
55 |                     .frame(height: self.fullHeight)
56 |                     .offset(y: self.offset)
   |                      |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
57 |                     .animation(self.animation)
58 |                     .gesture(self.dragGesture)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:57:22: error: 'animation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
55 |                     .frame(height: self.fullHeight)
56 |                     .offset(y: self.offset)
57 |                     .animation(self.animation)
   |                      |- error: 'animation' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
58 |                     .gesture(self.dragGesture)
59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Computed.swift:58:22: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Drawer {
   | `- note: add @available attribute to enclosing extension
11 |     // MARK: Height Calculation
12 |
   :
33 |     }
34 |
35 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
36 |
37 |         if (sizeClass != SizeClass(
   :
56 |                     .offset(y: self.offset)
57 |                     .animation(self.animation)
58 |                     .gesture(self.dragGesture)
   |                      |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
59 |             }
60 |         }
[7/8] Compiling Drawer Drawer+Modifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:15:27: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public extension Drawer {
   |        `- note: add @available attribute to enclosing extension
11 |
12 |     /// Sets the resting heights of the drawer
13 |     /// - Parameter heights: Possible resting heights for the drawer
14 |     /// - Returns: Drawer
15 |     func rest(at heights: Binding<[CGFloat]>) -> Drawer {
   |          |                `- error: 'Binding' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
16 |         return Drawer(
17 |             heights: heights,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:45:27: error: cannot find type 'UIImpactFeedbackGenerator' in scope
43 |     /// - Parameter impact: `FeedbackStyle` for impact level
44 |     /// - Returns: Drawer with specified impact level
45 |     func impact(_ impact: UIImpactFeedbackGenerator.FeedbackStyle) -> Drawer {
   |                           `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
46 |         let impactGenerator = UIImpactFeedbackGenerator(style: impact)
47 |         return Drawer(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:62:35: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 60 |     // MARK: Haptics
 61 |
 62 |     internal var impactGenerator: UIImpactFeedbackGenerator?
    |                                   `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
 63 |
 64 |     // MARK: View
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:38:20: error: 'verticalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 36 |     }
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
    |                    `- error: 'verticalSizeClass' is only available in macOS 10.15 or newer
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:39:20: error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 37 |
 38 |     @Environment(\.verticalSizeClass) internal var verticalSizeClass
 39 |     @Environment(\.horizontalSizeClass) internal var horizontalSizeClass
    |                    `- error: 'horizontalSizeClass' is only available in macOS 10.15 or newer
 40 |     @State internal var sizeClass: SizeClass = SizeClass(
 41 |         horizontal: nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:49: error: 'Animation' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                 `- error: 'Animation' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:58:59: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
  9 |
 10 | /// A bottom-up view that conforms to multiple heights
 11 | public struct Drawer<Content>: View where Content: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     // MARK: Public Variables
    :
 56 |     internal var springHeight: CGFloat = 12
 57 |
 58 |     @State internal var animation: Animation? = Animation.spring()
    |                                                           `- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
 59 |
 60 |     // MARK: Haptics
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:100:26: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 98 |         didRest: ((_ height: CGFloat) -> ())?,
 99 |         didLayoutForSizeClass: ((SizeClass) -> ())?,
100 |         impactGenerator: UIImpactFeedbackGenerator?,
    |                          `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
101 |         content: Content
102 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:16:22: error: extra arguments at positions #4, #5, #6, #7, #8 in call
14 |     /// - Returns: Drawer
15 |     func rest(at heights: Binding<[CGFloat]>) -> Drawer {
16 |         return Drawer(
   |                      `- error: extra arguments at positions #4, #5, #6, #7, #8 in call
17 |             heights: heights,
18 |             height: height,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:78:5: note: 'init(heights:startingHeight:_:)' declared here
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: 'init(heights:startingHeight:_:)' declared here
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
 80 |         startingHeight: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:18:21: error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
16 |         return Drawer(
17 |             heights: heights,
18 |             height: height,
   |                     `- error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
19 |             restingHeight: restingHeight,
20 |             springHeight: springHeight,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:31:22: error: extra arguments at positions #4, #5, #6, #7, #8 in call
29 |     /// - Returns: Drawer with specified spring level
30 |     func spring(_ spring: CGFloat) -> Drawer {
31 |         return Drawer(
   |                      `- error: extra arguments at positions #4, #5, #6, #7, #8 in call
32 |             heights: $heights,
33 |             height: self.height,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:78:5: note: 'init(heights:startingHeight:_:)' declared here
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: 'init(heights:startingHeight:_:)' declared here
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
 80 |         startingHeight: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:33:26: error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
31 |         return Drawer(
32 |             heights: $heights,
33 |             height: self.height,
   |                          `- error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
34 |             restingHeight: restingHeight,
35 |             springHeight: max(spring, 0),
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:46:31: error: cannot find 'UIImpactFeedbackGenerator' in scope
44 |     /// - Returns: Drawer with specified impact level
45 |     func impact(_ impact: UIImpactFeedbackGenerator.FeedbackStyle) -> Drawer {
46 |         let impactGenerator = UIImpactFeedbackGenerator(style: impact)
   |                               `- error: cannot find 'UIImpactFeedbackGenerator' in scope
47 |         return Drawer(
48 |             heights: $heights,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:47:22: error: extra arguments at positions #4, #5, #6, #7, #8 in call
45 |     func impact(_ impact: UIImpactFeedbackGenerator.FeedbackStyle) -> Drawer {
46 |         let impactGenerator = UIImpactFeedbackGenerator(style: impact)
47 |         return Drawer(
   |                      `- error: extra arguments at positions #4, #5, #6, #7, #8 in call
48 |             heights: $heights,
49 |             height: height,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:78:5: note: 'init(heights:startingHeight:_:)' declared here
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: 'init(heights:startingHeight:_:)' declared here
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
 80 |         startingHeight: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:49:21: error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
47 |         return Drawer(
48 |             heights: $heights,
49 |             height: height,
   |                     `- error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
50 |             restingHeight: restingHeight,
51 |             springHeight: springHeight,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:62:22: error: extra arguments at positions #4, #5, #6, #7, #8 in call
60 |     /// - Returns: Drawer
61 |     func onRest(_ didRest: @escaping (_ height: CGFloat) -> ()) -> Drawer {
62 |         return Drawer(
   |                      `- error: extra arguments at positions #4, #5, #6, #7, #8 in call
63 |             heights: $heights,
64 |             height: height,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:78:5: note: 'init(heights:startingHeight:_:)' declared here
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: 'init(heights:startingHeight:_:)' declared here
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
 80 |         startingHeight: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:64:21: error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
62 |         return Drawer(
63 |             heights: $heights,
64 |             height: height,
   |                     `- error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
65 |             restingHeight: restingHeight,
66 |             springHeight: springHeight,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:78:22: error: extra arguments at positions #4, #5, #6, #7, #8 in call
76 |     /// - Returns: Drawer
77 |     func onLayoutForSizeClass(_ didLayoutForSizeClass: @escaping (SizeClass) -> ()) -> Drawer {
78 |         return Drawer(
   |                      `- error: extra arguments at positions #4, #5, #6, #7, #8 in call
79 |             heights: $heights,
80 |             height: height,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:78:5: note: 'init(heights:startingHeight:_:)' declared here
 76 |     ///   - startingHeight: The starting height of the drawer. Defaults to the first height marker if not specified
 77 |     ///   - content: The view that defines the drawer
 78 |     init(
    |     `- note: 'init(heights:startingHeight:_:)' declared here
 79 |         heights: Binding<[CGFloat]> = .constant([0]),
 80 |         startingHeight: CGFloat? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Modifiers.swift:80:21: error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
78 |         return Drawer(
79 |             heights: $heights,
80 |             height: height,
   |                     `- error: cannot convert value of type 'CGFloat' to expected argument type '() -> Content'
81 |             restingHeight: restingHeight,
82 |             springHeight: springHeight,
[8/8] Compiling Drawer Drawer+Drag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:14:27: error: 'Gesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
13 |
14 |     var dragGesture: some Gesture {
   |         |                 `- error: 'Gesture' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
15 |         return DragGesture().onChanged({ (value) in
16 |             self.dragChanged(value)
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:22:31: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
20 |     }
21 |
22 |     func dragChanged(_ value: DragGesture.Value) {
   |          |                    `- error: 'DragGesture' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |         dragging = true
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:34:29: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          |                  `- error: 'DragGesture' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:17:12: warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
13 |
14 |     var dragGesture: some Gesture {
   |         `- note: add @available attribute to enclosing property
15 |         return DragGesture().onChanged({ (value) in
16 |             self.dragChanged(value)
17 |         }).onEnded({ (value) in
   |            |- warning: conformance of '_EndedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |            `- note: add 'if #available' version check
18 |             self.dragEnded(value)
19 |         })
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:15:16: error: 'DragGesture' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
13 |
14 |     var dragGesture: some Gesture {
   |         `- note: add @available attribute to enclosing property
15 |         return DragGesture().onChanged({ (value) in
   |                |- error: 'DragGesture' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
16 |             self.dragChanged(value)
17 |         }).onEnded({ (value) in
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:15:16: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
13 |
14 |     var dragGesture: some Gesture {
   |         `- note: add @available attribute to enclosing property
15 |         return DragGesture().onChanged({ (value) in
   |                |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
   |                `- note: add 'if #available' version check
16 |             self.dragChanged(value)
17 |         }).onEnded({ (value) in
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:15:30: error: 'onChanged' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
13 |
14 |     var dragGesture: some Gesture {
   |         `- note: add @available attribute to enclosing property
15 |         return DragGesture().onChanged({ (value) in
   |                              |- error: 'onChanged' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
16 |             self.dragChanged(value)
17 |         }).onEnded({ (value) in
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:17:12: error: 'onEnded' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
13 |
14 |     var dragGesture: some Gesture {
   |         `- note: add @available attribute to enclosing property
15 |         return DragGesture().onChanged({ (value) in
16 |             self.dragChanged(value)
17 |         }).onEnded({ (value) in
   |            |- error: 'onEnded' is only available in macOS 10.15 or newer
   |            `- note: add 'if #available' version check
18 |             self.dragEnded(value)
19 |         })
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:23:9: error: setter for 'dragging' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
20 |     }
21 |
22 |     func dragChanged(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
23 |         dragging = true
   |         |- error: setter for 'dragging' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |
25 |         height = Drawer.dampen(
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:25:9: error: setter for 'height' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
20 |     }
21 |
22 |     func dragChanged(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
23 |         dragging = true
24 |
25 |         height = Drawer.dampen(
   |         |- error: setter for 'height' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |             value.startLocation.y
27 |             + restingHeight - value.location.y,
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:31:9: error: setter for 'animation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
20 |     }
21 |
22 |     func dragChanged(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
23 |         dragging = true
24 |
   :
29 |             spring: springHeight)
30 |
31 |         animation = Animation?.none
   |         |- error: setter for 'animation' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |     }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:31:21: error: 'Animation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
20 |     }
21 |
22 |     func dragChanged(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
23 |         dragging = true
24 |
   :
29 |             spring: springHeight)
30 |
31 |         animation = Animation?.none
   |                     |- error: 'Animation' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
32 |     }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:35:9: error: setter for 'dragging' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
   |         |- error: setter for 'dragging' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
36 |
37 |         let change = value.startLocation.y
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:39:9: error: setter for 'height' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
36 |
37 |         let change = value.startLocation.y
38 |             - value.predictedEndLocation.y + restingHeight
39 |         height = Drawer.closest(change, markers: heights)
   |         |- error: setter for 'height' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
40 |         restingHeight = height
41 |         animation = Animation.spring()
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:40:9: error: setter for 'restingHeight' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
36 |
   :
38 |             - value.predictedEndLocation.y + restingHeight
39 |         height = Drawer.closest(change, markers: heights)
40 |         restingHeight = height
   |         |- error: setter for 'restingHeight' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
41 |         animation = Animation.spring()
42 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:41:9: error: setter for 'animation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
36 |
   :
39 |         height = Drawer.closest(change, markers: heights)
40 |         restingHeight = height
41 |         animation = Animation.spring()
   |         |- error: setter for 'animation' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
43 |             self.impactGenerator?.impactOccurred()
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:41:21: error: 'Animation' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
36 |
   :
39 |         height = Drawer.closest(change, markers: heights)
40 |         restingHeight = height
41 |         animation = Animation.spring()
   |                     |- error: 'Animation' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
42 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
43 |             self.impactGenerator?.impactOccurred()
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer+Drag.swift:41:31: error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal extension Drawer {
   |          `- note: add @available attribute to enclosing extension
11 |
12 |     // MARK: Drag Gesture
   :
32 |     }
33 |
34 |     func dragEnded(_ value: DragGesture.Value) {
   |          `- note: add @available attribute to enclosing instance method
35 |         dragging = false
36 |
   :
39 |         height = Drawer.closest(change, markers: heights)
40 |         restingHeight = height
41 |         animation = Animation.spring()
   |                               |- error: 'spring(duration:bounce:blendDuration:)' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
42 |         DispatchQueue.main.asyncAfter(deadline: .now() + 0.3) {
43 |             self.impactGenerator?.impactOccurred()
/Users/admin/builder/spi-builder-workspace/Sources/Drawer/Drawer.swift:62:35: error: cannot find type 'UIImpactFeedbackGenerator' in scope
 60 |     // MARK: Haptics
 61 |
 62 |     internal var impactGenerator: UIImpactFeedbackGenerator?
    |                                   `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
 63 |
 64 |     // MARK: View
BUILD FAILURE 6.0 macosSpm