The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BetterSlider, reference 0.1.1 (7fdbae), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 05:17:59 UTC.

Build Command

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

Build Log

 82 |     static let defaultValue: (Color, Color) = (.white, .white)
    |                |                                        `- error: 'white' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:86:29: error: 'Color' is only available in macOS 10.15 or newer
 83 | }
 84 |
 85 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 86 |     var sliderHandleColor: (Color, Color) {
    |         |                   `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 87 |         get { self[SliderHandleColor.self] }
 88 |         set { self[SliderHandleColor.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:86:36: error: 'Color' is only available in macOS 10.15 or newer
 83 | }
 84 |
 85 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 86 |     var sliderHandleColor: (Color, Color) {
    |         |                          `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 87 |         get { self[SliderHandleColor.self] }
 88 |         set { self[SliderHandleColor.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:85:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 83 | }
 84 |
 85 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 86 |     var sliderHandleColor: (Color, Color) {
 87 |         get { self[SliderHandleColor.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:99:37: error: 'Color' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
 97 |     /// > Important: If you want to set different colors for the lower and upper handles of
 98 |     /// > a ``BetterSlider/RangeSlider``, use the ``SwiftUI/View/sliderHandleColor(lower:upper:)`` method.
 99 |     func sliderHandleColor(_ color: Color) -> some View {
    |          |                          `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
100 |         environment(\.sliderHandleColor, (color, color))
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:99:52: error: 'View' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
 97 |     /// > Important: If you want to set different colors for the lower and upper handles of
 98 |     /// > a ``BetterSlider/RangeSlider``, use the ``SwiftUI/View/sliderHandleColor(lower:upper:)`` method.
 99 |     func sliderHandleColor(_ color: Color) -> some View {
    |          |                                         `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
100 |         environment(\.sliderHandleColor, (color, color))
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:111:35: error: 'Color' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
109 |     /// > Important: Only has an effect if the slider is a ``BetterSlider/RangeSlider``.
110 |     /// > Otherwise the `lower` color will be used for the single handle.
111 |     func sliderHandleColor(lower: Color, upper: Color) -> some View {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
112 |         environment(\.sliderHandleColor, (lower, upper))
113 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:111:49: error: 'Color' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
109 |     /// > Important: Only has an effect if the slider is a ``BetterSlider/RangeSlider``.
110 |     /// > Otherwise the `lower` color will be used for the single handle.
111 |     func sliderHandleColor(lower: Color, upper: Color) -> some View {
    |          |                                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
112 |         environment(\.sliderHandleColor, (lower, upper))
113 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:111:64: error: 'View' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
109 |     /// > Important: Only has an effect if the slider is a ``BetterSlider/RangeSlider``.
110 |     /// > Otherwise the `lower` color will be used for the single handle.
111 |     func sliderHandleColor(lower: Color, upper: Color) -> some View {
    |          |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
112 |         environment(\.sliderHandleColor, (lower, upper))
113 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:92:18: error: 'View' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:119:30: error: 'Color' is only available in macOS 10.15 or newer
116 | // MARK: Track Color
117 |
118 | struct SliderTrackColor: EnvironmentKey {
    |        `- note: add @available attribute to enclosing struct
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
    |                |             `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:121:21: error: cannot find 'UIColor' in scope
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
    |                     `- error: cannot find 'UIColor' in scope
122 |         default: UIColor(red: 228.0/255, green: 228.0/255, blue: 230.0/255, alpha: 1)
123 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:122:18: error: cannot find 'UIColor' in scope
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
122 |         default: UIColor(red: 228.0/255, green: 228.0/255, blue: 230.0/255, alpha: 1)
    |                  `- error: cannot find 'UIColor' in scope
123 |         }
124 |     }))
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:119:43: error: extraneous argument label 'uiColor:' in call
117 |
118 | struct SliderTrackColor: EnvironmentKey {
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
    |                                           `- error: extraneous argument label 'uiColor:' in call
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:119:76: error: argument passed to call that takes no arguments
117 |
118 | struct SliderTrackColor: EnvironmentKey {
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
    |                                                                            `- error: argument passed to call that takes no arguments
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:128:27: error: 'Color' is only available in macOS 10.15 or newer
125 | }
126 |
127 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
128 |     var sliderTrackColor: Color {
    |         |                 `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
129 |         get { self[SliderTrackColor.self] }
130 |         set { self[SliderTrackColor.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:127:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
125 | }
126 |
127 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
128 |     var sliderTrackColor: Color {
129 |         get { self[SliderTrackColor.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:139:36: error: 'Color' is only available in macOS 10.15 or newer
132 | }
133 |
134 | public extension View {
    |        `- note: add @available attribute to enclosing extension
135 |     /// Set the color of the slider's track.
136 |     ///
137 |     /// - Parameter color: The color of the slider's track. The default color is the same
138 |     /// used by the system's `Slider`.
139 |     func sliderTrackColor(_ color: Color) -> some View {
    |          |                         `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
140 |         environment(\.sliderTrackColor, color)
141 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:139:51: error: 'View' is only available in macOS 10.15 or newer
132 | }
133 |
134 | public extension View {
    |        `- note: add @available attribute to enclosing extension
135 |     /// Set the color of the slider's track.
136 |     ///
137 |     /// - Parameter color: The color of the slider's track. The default color is the same
138 |     /// used by the system's `Slider`.
139 |     func sliderTrackColor(_ color: Color) -> some View {
    |          |                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
140 |         environment(\.sliderTrackColor, color)
141 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:134:18: error: 'View' is only available in macOS 10.15 or newer
132 | }
133 |
134 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
135 |     /// Set the color of the slider's track.
136 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:150:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
151 |     var sliderStepHeight: Double? {
152 |         get { self[SliderStepHeight.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:164:51: error: 'View' is only available in macOS 10.15 or newer
155 | }
156 |
157 | public extension View {
    |        `- note: add @available attribute to enclosing extension
158 |     /// Set the height of the slider's step markers.
159 |     ///
    :
162 |     /// > Important: Only has an effect if the `step` parameter is set in the ``BetterSlider/BetterSlider``
163 |     /// > or ``BetterSlider/RangeSlider`` initializer.
164 |     func sliderStepHeight(_ size: Double) -> some View {
    |          |                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
165 |         environment(\.sliderStepHeight, size)
166 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:157:18: error: 'View' is only available in macOS 10.15 or newer
155 | }
156 |
157 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
158 |     /// Set the height of the slider's step markers.
159 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:175:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
173 | }
174 |
175 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
176 |     var hapticFeedbackEnabled: Bool {
177 |         get { self[HapticFeedbackEnabled.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:186:57: error: 'View' is only available in macOS 10.15 or newer
180 | }
181 |
182 | public extension View {
    |        `- note: add @available attribute to enclosing extension
183 |     /// Enable haptic feedback for the slider.
184 |     ///
185 |     /// - Parameter enabled: A boolean value that indicates whether to enable haptic feedback.
186 |     func hapticFeedback(_ enabled: Bool = true) -> some View {
    |          |                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
187 |         environment(\.hapticFeedbackEnabled, enabled)
188 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:182:18: error: 'View' is only available in macOS 10.15 or newer
180 | }
181 |
182 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
183 |     /// Enable haptic feedback for the slider.
184 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:31:9: error: 'environment' is only available in macOS 10.15 or newer
 21 | }
 22 |
 23 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 24 |     /// Show step markers on the slider's track.
 25 |     ///
    :
 28 |     /// > Important: Only has an effect if the `step` parameter is set in the ``BetterSlider/BetterSlider``
 29 |     /// > or ``BetterSlider/RangeSlider`` initializer.
 30 |     func showSliderStep(_ enabled: Bool = true) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         environment(\.showSliderStep, enabled)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 32 |     }
 33 | }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:53:9: error: 'environment' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 49 |     /// Set the height of the slider's track.
 50 |     ///
 51 |     /// - Parameter height: The height of the slider's track. The default value is `4`.
 52 |     func sliderTrackHeight(_ height: Double) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.sliderTrackHeight, height)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 54 |     }
 55 | }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:75:9: error: 'environment' is only available in macOS 10.15 or newer
 68 | }
 69 |
 70 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 71 |     /// Set the size of the slider's handle.
 72 |     ///
 73 |     /// - Parameter size: The size of the slider's handle. The default value is `28`.
 74 |     func sliderHandleSize(_ size: Double) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 75 |         environment(\.sliderHandleSize, size)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |     }
 77 | }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:100:9: error: 'environment' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
 97 |     /// > Important: If you want to set different colors for the lower and upper handles of
 98 |     /// > a ``BetterSlider/RangeSlider``, use the ``SwiftUI/View/sliderHandleColor(lower:upper:)`` method.
 99 |     func sliderHandleColor(_ color: Color) -> some View {
    |          `- note: add @available attribute to enclosing instance method
100 |         environment(\.sliderHandleColor, (color, color))
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
101 |     }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:112:9: error: 'environment' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
109 |     /// > Important: Only has an effect if the slider is a ``BetterSlider/RangeSlider``.
110 |     /// > Otherwise the `lower` color will be used for the single handle.
111 |     func sliderHandleColor(lower: Color, upper: Color) -> some View {
    |          `- note: add @available attribute to enclosing instance method
112 |         environment(\.sliderHandleColor, (lower, upper))
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
113 |     }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:140:9: error: 'environment' is only available in macOS 10.15 or newer
132 | }
133 |
134 | public extension View {
    |        `- note: add @available attribute to enclosing extension
135 |     /// Set the color of the slider's track.
136 |     ///
137 |     /// - Parameter color: The color of the slider's track. The default color is the same
138 |     /// used by the system's `Slider`.
139 |     func sliderTrackColor(_ color: Color) -> some View {
    |          `- note: add @available attribute to enclosing instance method
140 |         environment(\.sliderTrackColor, color)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
141 |     }
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:165:9: error: 'environment' is only available in macOS 10.15 or newer
155 | }
156 |
157 | public extension View {
    |        `- note: add @available attribute to enclosing extension
158 |     /// Set the height of the slider's step markers.
159 |     ///
    :
162 |     /// > Important: Only has an effect if the `step` parameter is set in the ``BetterSlider/BetterSlider``
163 |     /// > or ``BetterSlider/RangeSlider`` initializer.
164 |     func sliderStepHeight(_ size: Double) -> some View {
    |          `- note: add @available attribute to enclosing instance method
165 |         environment(\.sliderStepHeight, size)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
166 |     }
167 | }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:187:9: error: 'environment' is only available in macOS 10.15 or newer
180 | }
181 |
182 | public extension View {
    |        `- note: add @available attribute to enclosing extension
183 |     /// Enable haptic feedback for the slider.
184 |     ///
185 |     /// - Parameter enabled: A boolean value that indicates whether to enable haptic feedback.
186 |     func hapticFeedback(_ enabled: Bool = true) -> some View {
    |          `- note: add @available attribute to enclosing instance method
187 |         environment(\.hapticFeedbackEnabled, enabled)
    |         |- error: 'environment' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
188 |     }
189 | }
[5/9] Compiling BetterSlider HandleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
12 |
13 |     let offset: Double
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:16:9: error: 'Circle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
   |         |- error: 'Circle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:17:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:18:14: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
   |              |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
20 |             .offset(x: offset)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:18:29: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
   |                             |- error: 'black' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
20 |             .offset(x: offset)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:18:35: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
   |                                   |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
20 |             .offset(x: offset)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:19:14: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
   |              |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
20 |             .offset(x: offset)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:19:29: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
   |                             |- error: 'black' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
20 |             .offset(x: offset)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:19:35: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
   |                                   |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
20 |             .offset(x: offset)
21 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:20:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
18 |             .shadow(color: .black.opacity(0.18), radius: 3, x: 0, y: 2.5)
19 |             .shadow(color: .black.opacity(0.05), radius: 2, x: 0, y: 0)
20 |             .offset(x: offset)
   |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
21 |     }
22 | }
[6/9] Compiling BetterSlider SensoryFeedbackModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:16:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder
12 |     func customSensoryFeedback<Value: Equatable>(
   |          `- note: add @available attribute to enclosing instance method
13 |         value: Value,
14 |         isEditing: Bool,
15 |         enabled: Bool
16 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
17 |         if !enabled {
18 |             self
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |     func customSensoryFeedback<Value: Equatable>(
   |          `- note: add @available attribute to enclosing instance method
13 |         value: Value,
14 |         isEditing: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder
12 |     func customSensoryFeedback<Value: Equatable>(
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:31:25: error: cannot find 'UISelectionFeedbackGenerator' in scope
29 |                 .onChange(of: value) { _ in
30 |                     if isEditing {
31 |                         UISelectionFeedbackGenerator().selectionChanged()
   |                         `- error: cannot find 'UISelectionFeedbackGenerator' in scope
32 |                     }
33 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:35:21: error: cannot find 'UISelectionFeedbackGenerator' in scope
33 |                 }
34 |                 .onChange(of: isEditing) { _ in
35 |                     UISelectionFeedbackGenerator().selectionChanged()
   |                     `- error: cannot find 'UISelectionFeedbackGenerator' in scope
36 |                 }
37 |         }
[7/9] Compiling BetterSlider BetterSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:55:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:56:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:57:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:58:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 60 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:59:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 60 |
 61 |     @Binding private var _value: Double
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:61:6: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 60 |
 61 |     @Binding private var _value: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 62 |     private let range: ClosedRange<Double>
 63 |     private var step: Double.Stride?
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:80:24: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 78 |     }
 79 |
 80 |     private var value: Binding<Double> {
    |                 |      `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 81 |         Binding {
 82 |             _value.clamped(to: range)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:93:32: error: 'EmptyView' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 86 |     }
 87 |
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         value: Binding<Double>,
 90 |         in range: ClosedRange<Double> = 0...1,
 91 |         step: Double.Stride? = nil,
 92 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 93 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                `- error: 'EmptyView' is only available in macOS 10.15 or newer
 94 |         self.__value = value
 95 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:93:62: error: 'EmptyView' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 86 |     }
 87 |
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         value: Binding<Double>,
 90 |         in range: ClosedRange<Double> = 0...1,
 91 |         step: Double.Stride? = nil,
 92 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 93 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                                              `- error: 'EmptyView' is only available in macOS 10.15 or newer
 94 |         self.__value = value
 95 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:89:16: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 86 |     }
 87 |
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         value: Binding<Double>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 90 |         in range: ClosedRange<Double> = 0...1,
 91 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:101:16: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 98 |     }
 99 |
100 |     public init(
    |            `- note: add @available attribute to enclosing initializer
101 |         value: Binding<Double>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
102 |         in range: ClosedRange<Double> = 0...1,
103 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:116:27: error: 'View' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:147:6: error: 'State' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
145 |     }
146 |
147 |     @State private var isEditing = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:149:43: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  |                        `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:149:66: error: 'Gesture' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  |                                               `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:53:45: error: 'View' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                             `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:53:68: error: 'View' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                                                    `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:81:9: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 78 |     }
 79 |
 80 |     private var value: Binding<Double> {
    |                 `- note: add @available attribute to enclosing property
 81 |         Binding {
    |         |- error: 'Binding' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 82 |             _value.clamped(to: range)
 83 |         } set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:84:13: error: setter for '_value' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 78 |     }
 79 |
 80 |     private var value: Binding<Double> {
    |                 `- note: add @available attribute to enclosing property
 81 |         Binding {
 82 |             _value.clamped(to: range)
 83 |         } set: { newValue in
 84 |             _value = newValue.clamped(to: range)
    |             |- error: setter for '_value' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 85 |         }
 86 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:117:9: 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
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
    |         |- 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
118 |             if let minimumValueLabel {
119 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:117:9: error: 'HStack' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
    |         |- error: 'HStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
118 |             if let minimumValueLabel {
119 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:120:22: error: 'buttonStyle' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
119 |                 minimumValueLabel
120 |                     .buttonStyle(.borderless)
    |                      |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
121 |             }
122 |             GeometryReader { geo in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:120:35: error: 'borderless' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
119 |                 minimumValueLabel
120 |                     .buttonStyle(.borderless)
    |                                   |- error: 'borderless' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
121 |             }
122 |             GeometryReader { geo in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:118:38: error: 'buildIf' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    |                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
119 |                 minimumValueLabel
120 |                     .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:121:13: error: 'buildIf' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
119 |                 minimumValueLabel
120 |                     .buttonStyle(.borderless)
121 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
122 |             GeometryReader { geo in
123 |                 ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:122:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
120 |                     .buttonStyle(.borderless)
121 |             }
122 |             GeometryReader { geo in
    |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
123 |                 ZStack(alignment: .leading) {
124 |                     TrackView(
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:123:17: error: 'ZStack' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
121 |             }
122 |             GeometryReader { geo in
123 |                 ZStack(alignment: .leading) {
    |                 |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
124 |                     TrackView(
125 |                         step: step,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:123:36: error: 'leading' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
121 |             }
122 |             GeometryReader { geo in
123 |                 ZStack(alignment: .leading) {
    |                                    |- error: 'leading' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
124 |                     TrackView(
125 |                         step: step,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:130:26: error: 'foregroundStyle' is only available in macOS 12.0 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
128 |                     )
129 |                     HandleView(offset: offset(forWidth: geo.size.width))
130 |                         .foregroundStyle(sliderHandleStyle.0)
    |                          |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
131 |                         .gesture(dragGesture(in: geo))
132 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:131:26: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
129 |                     HandleView(offset: offset(forWidth: geo.size.width))
130 |                         .foregroundStyle(sliderHandleStyle.0)
131 |                         .gesture(dragGesture(in: geo))
    |                          |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
132 |                 }
133 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:136:22: error: 'buttonStyle' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
134 |             if let maximumValueLabel {
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
    |                      |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
137 |             }
138 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:136:35: error: 'borderless' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
134 |             if let maximumValueLabel {
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
    |                                   |- error: 'borderless' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
137 |             }
138 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:134:38: error: 'buildIf' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
132 |                 }
133 |             }
134 |             if let maximumValueLabel {
    |                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:137:13: error: 'buildIf' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
137 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
138 |         }
139 |         .frame(height: max(max(sliderHandleSize, sliderTrackHeight), sliderStepHeight ?? 0))
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:117:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
    |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
118 |             if let minimumValueLabel {
119 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:117:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
    |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
118 |             if let minimumValueLabel {
119 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:139:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
137 |             }
138 |         }
139 |         .frame(height: max(max(sliderHandleSize, sliderTrackHeight), sliderStepHeight ?? 0))
    |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
140 |         .onChange(of: isEditing) { newValue in
141 |             onEditingChanged(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:140:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
138 |         }
139 |         .frame(height: max(max(sliderHandleSize, sliderTrackHeight), sliderStepHeight ?? 0))
140 |         .onChange(of: isEditing) { newValue in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
141 |             onEditingChanged(newValue)
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:144:10: error: 'accessibilityValue' is only available in macOS 11.0 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
142 |         }
143 |         .customSensoryFeedback(value: value.wrappedValue, isEditing: isEditing, enabled: hapticFeedbackEnabled)
144 |         .accessibilityValue(Text(value.wrappedValue, format: .number))
    |          |- error: 'accessibilityValue' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:144:29: error: 'Text' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
142 |         }
143 |         .customSensoryFeedback(value: value.wrappedValue, isEditing: isEditing, enabled: hapticFeedbackEnabled)
144 |         .accessibilityValue(Text(value.wrappedValue, format: .number))
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:144:29: error: 'init(_:format:)' is only available in macOS 12.0 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
142 |         }
143 |         .customSensoryFeedback(value: value.wrappedValue, isEditing: isEditing, enabled: hapticFeedbackEnabled)
144 |         .accessibilityValue(Text(value.wrappedValue, format: .number))
    |                             |- error: 'init(_:format:)' is only available in macOS 12.0 or newer
    |                             `- note: add 'if #available' version check
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:144:63: error: 'number' is only available in macOS 12.0 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
    :
142 |         }
143 |         .customSensoryFeedback(value: value.wrappedValue, isEditing: isEditing, enabled: hapticFeedbackEnabled)
144 |         .accessibilityValue(Text(value.wrappedValue, format: .number))
    |                                                               |- error: 'number' is only available in macOS 12.0 or newer
    |                                                               `- note: add 'if #available' version check
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:116: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
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                |               |- 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
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:169:14: 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
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
    :
167 |                 )
168 |             }
169 |             .onEnded { _ 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
170 |                 isEditing = false
171 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:150:9: error: 'DragGesture' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
    |         |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
151 |             .onChanged { value in
152 |                 isEditing = true
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:150:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
    |         |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |         `- note: add 'if #available' version check
151 |             .onChanged { value in
152 |                 isEditing = true
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:151:14: error: 'onChanged' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
    |              |- error: 'onChanged' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
152 |                 isEditing = true
153 |                 let width = geometry.size.width - sliderHandleSize
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:152:17: error: setter for 'isEditing' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
152 |                 isEditing = true
    |                 |- error: setter for 'isEditing' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
153 |                 let width = geometry.size.width - sliderHandleSize
154 |                 var offset = (value.location.x - sliderHandleSize / 2) / width
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:169:14: error: 'onEnded' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
    :
167 |                 )
168 |             }
169 |             .onEnded { _ in
    |              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
170 |                 isEditing = false
171 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:170:17: error: setter for 'isEditing' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
    :
168 |             }
169 |             .onEnded { _ in
170 |                 isEditing = false
    |                 |- error: setter for 'isEditing' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
171 |             }
172 |     }
[8/9] Compiling BetterSlider RangeSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:37:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:38:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:39:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:40:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:41:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 42 |
 43 |     @Binding private var _selection: ClosedRange<Double>
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:43:6: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 42 |
 43 |     @Binding private var _selection: ClosedRange<Double>
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 44 |     private let range: ClosedRange<Double>
 45 |     private let step: Double.Stride?
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:55:32: error: 'EmptyView' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 48 |     private var maximumValueLabel: UpperValueLabel?
 49 |
 50 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 51 |         selection: Binding<ClosedRange<Double>>,
 52 |         in range: ClosedRange<Double> = 0...1,
 53 |         step: Double.Stride? = nil,
 54 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 55 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                `- error: 'EmptyView' is only available in macOS 10.15 or newer
 56 |         self.__selection = selection
 57 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:55:62: error: 'EmptyView' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 48 |     private var maximumValueLabel: UpperValueLabel?
 49 |
 50 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 51 |         selection: Binding<ClosedRange<Double>>,
 52 |         in range: ClosedRange<Double> = 0...1,
 53 |         step: Double.Stride? = nil,
 54 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 55 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                                              `- error: 'EmptyView' is only available in macOS 10.15 or newer
 56 |         self.__selection = selection
 57 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:51:20: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 48 |     private var maximumValueLabel: UpperValueLabel?
 49 |
 50 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 51 |         selection: Binding<ClosedRange<Double>>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 52 |         in range: ClosedRange<Double> = 0...1,
 53 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:63:20: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 60 |     }
 61 |
 62 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 63 |         selection: Binding<ClosedRange<Double>>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 64 |         in range: ClosedRange<Double> = 0...1,
 65 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:78:28: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 76 |     }
 77 |
 78 |     private var selection: Binding<ClosedRange<Double>> {
    |                 |          `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 79 |         Binding {
 80 |             _selection.clamped(to: range)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:106:27: error: 'View' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:147:6: error: 'State' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
145 |     }
146 |
147 |     @State private var isEditing = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:148:6: error: 'State' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
146 |
147 |     @State private var isEditing = false
148 |     @State private var initialSelection: ClosedRange<Double>?
    |      `- error: 'State' is only available in macOS 10.15 or newer
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:150:43: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  |                        `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:150:83: error: 'Gesture' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  |                                                                `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:35:44: error: 'View' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:35:67: error: 'View' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                                                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:79:9: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 76 |     }
 77 |
 78 |     private var selection: Binding<ClosedRange<Double>> {
    |                 `- note: add @available attribute to enclosing property
 79 |         Binding {
    |         |- error: 'Binding' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 80 |             _selection.clamped(to: range)
 81 |         } set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:82:13: error: setter for '_selection' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 76 |     }
 77 |
 78 |     private var selection: Binding<ClosedRange<Double>> {
    |                 `- note: add @available attribute to enclosing property
 79 |         Binding {
 80 |             _selection.clamped(to: range)
 81 |         } set: { newValue in
 82 |             _selection = newValue.clamped(to: range)
    |             |- error: setter for '_selection' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 83 |         }
 84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:107:9: 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
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
    |         |- 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
108 |             if let minimumValueLabel {
109 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:107:9: error: 'HStack' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
    |         |- error: 'HStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
108 |             if let minimumValueLabel {
109 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:110:22: error: 'buttonStyle' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
109 |                 minimumValueLabel
110 |                     .buttonStyle(.borderless)
    |                      |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
111 |             }
112 |             GeometryReader { geo in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:110:35: error: 'borderless' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
109 |                 minimumValueLabel
110 |                     .buttonStyle(.borderless)
    |                                   |- error: 'borderless' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
111 |             }
112 |             GeometryReader { geo in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:108:38: error: 'buildIf' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    |                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
109 |                 minimumValueLabel
110 |                     .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:111:13: error: 'buildIf' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
109 |                 minimumValueLabel
110 |                     .buttonStyle(.borderless)
111 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
112 |             GeometryReader { geo in
113 |                 ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:112:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
110 |                     .buttonStyle(.borderless)
111 |             }
112 |             GeometryReader { geo in
    |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
113 |                 ZStack(alignment: .leading) {
114 |                     TrackView(
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:113:17: error: 'ZStack' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
111 |             }
112 |             GeometryReader { geo in
113 |                 ZStack(alignment: .leading) {
    |                 |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
114 |                     TrackView(
115 |                         step: step,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:113:36: error: 'leading' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
111 |             }
112 |             GeometryReader { geo in
113 |                 ZStack(alignment: .leading) {
    |                                    |- error: 'leading' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
114 |                     TrackView(
115 |                         step: step,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:125:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
123 |                         offset: offset(forWidth: geo.size.width, at: .lower, isHandle: true)
124 |                     )
125 |                     .foregroundStyle(sliderHandleStyle.0)
    |                      |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |                      `- note: add 'if #available' version check
126 |                     .gesture(dragGesture(in: geo, at: .lower))
127 |                     HandleView(
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:126:22: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
124 |                     )
125 |                     .foregroundStyle(sliderHandleStyle.0)
126 |                     .gesture(dragGesture(in: geo, at: .lower))
    |                      |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
127 |                     HandleView(
128 |                         offset: offset(forWidth: geo.size.width, at: .upper, isHandle: true)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:130:22: error: 'foregroundStyle' is only available in macOS 12.0 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
128 |                         offset: offset(forWidth: geo.size.width, at: .upper, isHandle: true)
129 |                     )
130 |                     .foregroundStyle(sliderHandleStyle.1)
    |                      |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |                      `- note: add 'if #available' version check
131 |                     .gesture(dragGesture(in: geo, at: .upper))
132 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:131:22: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
129 |                     )
130 |                     .foregroundStyle(sliderHandleStyle.1)
131 |                     .gesture(dragGesture(in: geo, at: .upper))
    |                      |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
132 |                 }
133 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:136:22: error: 'buttonStyle' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
134 |             if let maximumValueLabel {
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
    |                      |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
137 |             }
138 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:136:35: error: 'borderless' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
134 |             if let maximumValueLabel {
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
    |                                   |- error: 'borderless' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
137 |             }
138 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:134:38: error: 'buildIf' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
132 |                 }
133 |             }
134 |             if let maximumValueLabel {
    |                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:137:13: error: 'buildIf' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
135 |                 maximumValueLabel
136 |                     .buttonStyle(.borderless)
137 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
138 |         }
139 |         .frame(height: max(max(sliderHandleSize, sliderTrackHeight), sliderStepHeight ?? 0))
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:107:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
    |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
108 |             if let minimumValueLabel {
109 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:107:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
    |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
108 |             if let minimumValueLabel {
109 |                 minimumValueLabel
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:139:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
137 |             }
138 |         }
139 |         .frame(height: max(max(sliderHandleSize, sliderTrackHeight), sliderStepHeight ?? 0))
    |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
140 |         .onChange(of: isEditing) { newValue in
141 |             onEditingChanged(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:140:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
138 |         }
139 |         .frame(height: max(max(sliderHandleSize, sliderTrackHeight), sliderStepHeight ?? 0))
140 |         .onChange(of: isEditing) { newValue in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
141 |             onEditingChanged(newValue)
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:144:10: error: 'accessibilityValue' is only available in macOS 11.0 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
142 |         }
143 |         .customSensoryFeedback(value: selection.wrappedValue, isEditing: isEditing, enabled: hapticFeedbackEnabled)
144 |         .accessibilityValue(Text("\(selection.wrappedValue.lowerBound) to \(selection.wrappedValue.upperBound)"))
    |          |- error: 'accessibilityValue' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:144:29: error: 'Text' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
    :
142 |         }
143 |         .customSensoryFeedback(value: selection.wrappedValue, isEditing: isEditing, enabled: hapticFeedbackEnabled)
144 |         .accessibilityValue(Text("\(selection.wrappedValue.lowerBound) to \(selection.wrappedValue.upperBound)"))
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
145 |     }
146 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:106: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
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                |               |- 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
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:188:14: 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
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
    :
186 |                 }
187 |             }
188 |             .onEnded { _ 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
189 |                 isEditing = false
190 |                 initialSelection = nil
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:151:9: error: 'DragGesture' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
    |         |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
152 |             .onChanged { value in
153 |                 isEditing = true
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:151:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
    |         |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |         `- note: add 'if #available' version check
152 |             .onChanged { value in
153 |                 isEditing = true
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:152:14: error: 'onChanged' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
    |              |- error: 'onChanged' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
153 |                 isEditing = true
154 |                 if initialSelection == nil {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:153:17: error: setter for 'isEditing' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
153 |                 isEditing = true
    |                 |- error: setter for 'isEditing' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
154 |                 if initialSelection == nil {
155 |                     initialSelection = selection.wrappedValue
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:155:21: error: setter for 'initialSelection' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
153 |                 isEditing = true
154 |                 if initialSelection == nil {
155 |                     initialSelection = selection.wrappedValue
    |                     |- error: setter for 'initialSelection' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
156 |                 }
157 |                 if let initialSelection {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:188:14: error: 'onEnded' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
    :
186 |                 }
187 |             }
188 |             .onEnded { _ in
    |              |- error: 'onEnded' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
189 |                 isEditing = false
190 |                 initialSelection = nil
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:189:17: error: setter for 'isEditing' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
    :
187 |             }
188 |             .onEnded { _ in
189 |                 isEditing = false
    |                 |- error: setter for 'isEditing' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
190 |                 initialSelection = nil
191 |             }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:190:17: error: setter for 'initialSelection' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
    :
188 |             .onEnded { _ in
189 |                 isEditing = false
190 |                 initialSelection = nil
    |                 |- error: setter for 'initialSelection' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
191 |             }
192 |     }
[9/9] Emitting module BetterSlider
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:55:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:56:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:57:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:58:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 56 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 60 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:59:6: error: 'Environment' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 57 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 58 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 60 |
 61 |     @Binding private var _value: Double
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:61:6: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 59 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 60 |
 61 |     @Binding private var _value: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 62 |     private let range: ClosedRange<Double>
 63 |     private var step: Double.Stride?
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:80:24: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 78 |     }
 79 |
 80 |     private var value: Binding<Double> {
    |                 |      `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 81 |         Binding {
 82 |             _value.clamped(to: range)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:93:32: error: 'EmptyView' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 86 |     }
 87 |
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         value: Binding<Double>,
 90 |         in range: ClosedRange<Double> = 0...1,
 91 |         step: Double.Stride? = nil,
 92 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 93 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                `- error: 'EmptyView' is only available in macOS 10.15 or newer
 94 |         self.__value = value
 95 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:93:62: error: 'EmptyView' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 86 |     }
 87 |
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         value: Binding<Double>,
 90 |         in range: ClosedRange<Double> = 0...1,
 91 |         step: Double.Stride? = nil,
 92 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 93 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                                              `- error: 'EmptyView' is only available in macOS 10.15 or newer
 94 |         self.__value = value
 95 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:89:16: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 86 |     }
 87 |
 88 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 89 |         value: Binding<Double>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
 90 |         in range: ClosedRange<Double> = 0...1,
 91 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:101:16: error: 'Binding' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
 98 |     }
 99 |
100 |     public init(
    |            `- note: add @available attribute to enclosing initializer
101 |         value: Binding<Double>,
    |                `- error: 'Binding' is only available in macOS 10.15 or newer
102 |         in range: ClosedRange<Double> = 0...1,
103 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:116:27: error: 'View' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
114 |     }
115 |
116 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
117 |         HStack {
118 |             if let minimumValueLabel {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:147:6: error: 'State' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
145 |     }
146 |
147 |     @State private var isEditing = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:149:43: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  |                        `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:149:66: error: 'Gesture' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    :
147 |     @State private var isEditing = false
148 |
149 |     private func dragGesture(in geometry: GeometryProxy) -> some Gesture {
    |                  |                                               `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
150 |         DragGesture()
151 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:53:45: error: 'View' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                             `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/BetterSlider.swift:53:68: error: 'View' is only available in macOS 10.15 or newer
 51 | ///
 52 | /// > Info: If you want to select a `Range` instead of a single value, use the ``BetterSlider/RangeSlider`` component.
 53 | public struct BetterSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                                                    `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 54 |
 55 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:16:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 14 | }
 15 |
 16 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 17 |     var showSliderStep: Bool {
 18 |         get { self[ShowSliderStep.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:30:57: error: 'View' is only available in macOS 10.15 or newer
 21 | }
 22 |
 23 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 24 |     /// Show step markers on the slider's track.
 25 |     ///
    :
 28 |     /// > Important: Only has an effect if the `step` parameter is set in the ``BetterSlider/BetterSlider``
 29 |     /// > or ``BetterSlider/RangeSlider`` initializer.
 30 |     func showSliderStep(_ enabled: Bool = true) -> some View {
    |          |                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 31 |         environment(\.showSliderStep, enabled)
 32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:23:18: error: 'View' is only available in macOS 10.15 or newer
 21 | }
 22 |
 23 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 24 |     /// Show step markers on the slider's track.
 25 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:41:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 39 | }
 40 |
 41 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 42 |     var sliderTrackHeight: Double {
 43 |         get { self[SliderTrackHeightKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:52:54: error: 'View' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 49 |     /// Set the height of the slider's track.
 50 |     ///
 51 |     /// - Parameter height: The height of the slider's track. The default value is `4`.
 52 |     func sliderTrackHeight(_ height: Double) -> some View {
    |          |                                           `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 53 |         environment(\.sliderTrackHeight, height)
 54 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:48:18: error: 'View' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 49 |     /// Set the height of the slider's track.
 50 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:63:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 61 | }
 62 |
 63 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 64 |     var sliderHandleSize: Double {
 65 |         get { self[SliderHandleSize.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:74:51: error: 'View' is only available in macOS 10.15 or newer
 68 | }
 69 |
 70 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 71 |     /// Set the size of the slider's handle.
 72 |     ///
 73 |     /// - Parameter size: The size of the slider's handle. The default value is `28`.
 74 |     func sliderHandleSize(_ size: Double) -> some View {
    |          |                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 75 |         environment(\.sliderHandleSize, size)
 76 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:70:18: error: 'View' is only available in macOS 10.15 or newer
 68 | }
 69 |
 70 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 71 |     /// Set the size of the slider's handle.
 72 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:82:31: error: 'Color' is only available in macOS 10.15 or newer
 79 | // MARK: Handle Color
 80 |
 81 | struct SliderHandleColor: EnvironmentKey {
    |        `- note: add @available attribute to enclosing struct
 82 |     static let defaultValue: (Color, Color) = (.white, .white)
    |                |              `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:82:38: error: 'Color' is only available in macOS 10.15 or newer
 79 | // MARK: Handle Color
 80 |
 81 | struct SliderHandleColor: EnvironmentKey {
    |        `- note: add @available attribute to enclosing struct
 82 |     static let defaultValue: (Color, Color) = (.white, .white)
    |                |                     `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:82:49: error: 'white' is only available in macOS 10.15 or newer
 79 | // MARK: Handle Color
 80 |
 81 | struct SliderHandleColor: EnvironmentKey {
    |        `- note: add @available attribute to enclosing struct
 82 |     static let defaultValue: (Color, Color) = (.white, .white)
    |                |                                `- error: 'white' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:82:57: error: 'white' is only available in macOS 10.15 or newer
 79 | // MARK: Handle Color
 80 |
 81 | struct SliderHandleColor: EnvironmentKey {
    |        `- note: add @available attribute to enclosing struct
 82 |     static let defaultValue: (Color, Color) = (.white, .white)
    |                |                                        `- error: 'white' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:86:29: error: 'Color' is only available in macOS 10.15 or newer
 83 | }
 84 |
 85 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 86 |     var sliderHandleColor: (Color, Color) {
    |         |                   `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 87 |         get { self[SliderHandleColor.self] }
 88 |         set { self[SliderHandleColor.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:86:36: error: 'Color' is only available in macOS 10.15 or newer
 83 | }
 84 |
 85 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
 86 |     var sliderHandleColor: (Color, Color) {
    |         |                          `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 87 |         get { self[SliderHandleColor.self] }
 88 |         set { self[SliderHandleColor.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:85:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
 83 | }
 84 |
 85 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
 86 |     var sliderHandleColor: (Color, Color) {
 87 |         get { self[SliderHandleColor.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:99:37: error: 'Color' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
 97 |     /// > Important: If you want to set different colors for the lower and upper handles of
 98 |     /// > a ``BetterSlider/RangeSlider``, use the ``SwiftUI/View/sliderHandleColor(lower:upper:)`` method.
 99 |     func sliderHandleColor(_ color: Color) -> some View {
    |          |                          `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
100 |         environment(\.sliderHandleColor, (color, color))
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:99:52: error: 'View' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
 97 |     /// > Important: If you want to set different colors for the lower and upper handles of
 98 |     /// > a ``BetterSlider/RangeSlider``, use the ``SwiftUI/View/sliderHandleColor(lower:upper:)`` method.
 99 |     func sliderHandleColor(_ color: Color) -> some View {
    |          |                                         `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
100 |         environment(\.sliderHandleColor, (color, color))
101 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:111:35: error: 'Color' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
109 |     /// > Important: Only has an effect if the slider is a ``BetterSlider/RangeSlider``.
110 |     /// > Otherwise the `lower` color will be used for the single handle.
111 |     func sliderHandleColor(lower: Color, upper: Color) -> some View {
    |          |                        `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
112 |         environment(\.sliderHandleColor, (lower, upper))
113 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:111:49: error: 'Color' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
109 |     /// > Important: Only has an effect if the slider is a ``BetterSlider/RangeSlider``.
110 |     /// > Otherwise the `lower` color will be used for the single handle.
111 |     func sliderHandleColor(lower: Color, upper: Color) -> some View {
    |          |                                      `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
112 |         environment(\.sliderHandleColor, (lower, upper))
113 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:111:64: error: 'View' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
    :
109 |     /// > Important: Only has an effect if the slider is a ``BetterSlider/RangeSlider``.
110 |     /// > Otherwise the `lower` color will be used for the single handle.
111 |     func sliderHandleColor(lower: Color, upper: Color) -> some View {
    |          |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
112 |         environment(\.sliderHandleColor, (lower, upper))
113 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:92:18: error: 'View' is only available in macOS 10.15 or newer
 90 | }
 91 |
 92 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
 93 |     /// Set the color of the slider's handle.
 94 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:119:30: error: 'Color' is only available in macOS 10.15 or newer
116 | // MARK: Track Color
117 |
118 | struct SliderTrackColor: EnvironmentKey {
    |        `- note: add @available attribute to enclosing struct
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
    |                |             `- error: 'Color' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:121:21: error: cannot find 'UIColor' in scope
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
    |                     `- error: cannot find 'UIColor' in scope
122 |         default: UIColor(red: 228.0/255, green: 228.0/255, blue: 230.0/255, alpha: 1)
123 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:122:18: error: cannot find 'UIColor' in scope
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
122 |         default: UIColor(red: 228.0/255, green: 228.0/255, blue: 230.0/255, alpha: 1)
    |                  `- error: cannot find 'UIColor' in scope
123 |         }
124 |     }))
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:119:43: error: extraneous argument label 'uiColor:' in call
117 |
118 | struct SliderTrackColor: EnvironmentKey {
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
    |                                           `- error: extraneous argument label 'uiColor:' in call
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:119:76: error: argument passed to call that takes no arguments
117 |
118 | struct SliderTrackColor: EnvironmentKey {
119 |     static let defaultValue: Color = Color(uiColor: .init(dynamicProvider: { traits in
    |                                                                            `- error: argument passed to call that takes no arguments
120 |         switch traits.userInterfaceStyle {
121 |         case .dark: UIColor(red: 61.0/255, green: 61.0/255, blue: 65.0/255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:128:27: error: 'Color' is only available in macOS 10.15 or newer
125 | }
126 |
127 | extension EnvironmentValues {
    | `- note: add @available attribute to enclosing extension
128 |     var sliderTrackColor: Color {
    |         |                 `- error: 'Color' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
129 |         get { self[SliderTrackColor.self] }
130 |         set { self[SliderTrackColor.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:127:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
125 | }
126 |
127 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
128 |     var sliderTrackColor: Color {
129 |         get { self[SliderTrackColor.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:139:36: error: 'Color' is only available in macOS 10.15 or newer
132 | }
133 |
134 | public extension View {
    |        `- note: add @available attribute to enclosing extension
135 |     /// Set the color of the slider's track.
136 |     ///
137 |     /// - Parameter color: The color of the slider's track. The default color is the same
138 |     /// used by the system's `Slider`.
139 |     func sliderTrackColor(_ color: Color) -> some View {
    |          |                         `- error: 'Color' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
140 |         environment(\.sliderTrackColor, color)
141 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:139:51: error: 'View' is only available in macOS 10.15 or newer
132 | }
133 |
134 | public extension View {
    |        `- note: add @available attribute to enclosing extension
135 |     /// Set the color of the slider's track.
136 |     ///
137 |     /// - Parameter color: The color of the slider's track. The default color is the same
138 |     /// used by the system's `Slider`.
139 |     func sliderTrackColor(_ color: Color) -> some View {
    |          |                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
140 |         environment(\.sliderTrackColor, color)
141 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:134:18: error: 'View' is only available in macOS 10.15 or newer
132 | }
133 |
134 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
135 |     /// Set the color of the slider's track.
136 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:150:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
148 | }
149 |
150 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
151 |     var sliderStepHeight: Double? {
152 |         get { self[SliderStepHeight.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:164:51: error: 'View' is only available in macOS 10.15 or newer
155 | }
156 |
157 | public extension View {
    |        `- note: add @available attribute to enclosing extension
158 |     /// Set the height of the slider's step markers.
159 |     ///
    :
162 |     /// > Important: Only has an effect if the `step` parameter is set in the ``BetterSlider/BetterSlider``
163 |     /// > or ``BetterSlider/RangeSlider`` initializer.
164 |     func sliderStepHeight(_ size: Double) -> some View {
    |          |                                        `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
165 |         environment(\.sliderStepHeight, size)
166 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:157:18: error: 'View' is only available in macOS 10.15 or newer
155 | }
156 |
157 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
158 |     /// Set the height of the slider's step markers.
159 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:175:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
173 | }
174 |
175 | extension EnvironmentValues {
    | |         `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
    | `- note: add @available attribute to enclosing extension
176 |     var hapticFeedbackEnabled: Bool {
177 |         get { self[HapticFeedbackEnabled.self] }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:186:57: error: 'View' is only available in macOS 10.15 or newer
180 | }
181 |
182 | public extension View {
    |        `- note: add @available attribute to enclosing extension
183 |     /// Enable haptic feedback for the slider.
184 |     ///
185 |     /// - Parameter enabled: A boolean value that indicates whether to enable haptic feedback.
186 |     func hapticFeedback(_ enabled: Bool = true) -> some View {
    |          |                                              `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
187 |         environment(\.hapticFeedbackEnabled, enabled)
188 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Environment/EnvironmentValues.swift:182:18: error: 'View' is only available in macOS 10.15 or newer
180 | }
181 |
182 | public extension View {
    |        |         `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing extension
183 |     /// Enable haptic feedback for the slider.
184 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:11:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
12 |
13 |     let offset: Double
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/HandleView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct HandleView: View {
   |        `- note: add @available attribute to enclosing struct
11 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
12 |
13 |     let offset: Double
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
16 |         Circle()
17 |             .frame(width: sliderHandleSize)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:16:15: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder
12 |     func customSensoryFeedback<Value: Equatable>(
   |          `- note: add @available attribute to enclosing instance method
13 |         value: Value,
14 |         isEditing: Bool,
15 |         enabled: Bool
16 |     ) -> some View {
   |               `- error: 'View' is only available in macOS 10.15 or newer
17 |         if !enabled {
18 |             self
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |     func customSensoryFeedback<Value: Equatable>(
   |          `- note: add @available attribute to enclosing instance method
13 |         value: Value,
14 |         isEditing: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/SensoryFeedbackModifier.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder
12 |     func customSensoryFeedback<Value: Equatable>(
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:12:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct TrackView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
13 |     @Environment(\.sliderTrackColor) private var sliderTrackColor
14 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:13:6: error: 'Environment' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct TrackView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
13 |     @Environment(\.sliderTrackColor) private var sliderTrackColor
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
14 |
15 |     let step: Double.Stride?
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:42:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct TrackView: View {
   |        `- note: add @available attribute to enclosing struct
11 |
12 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
   :
40 |     }
41 |
42 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
43 |         ZStack {
44 |             StepMarksView(step: step, range: range)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:62:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct StepMarksView: View {
   |        `- note: add @available attribute to enclosing struct
61 |
62 |     @Environment(\.showSliderStep) private var showSliderStep
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
63 |     @Environment(\.sliderTrackColor) private var sliderTrackColor
64 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:63:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct StepMarksView: View {
   |        `- note: add @available attribute to enclosing struct
61 |
62 |     @Environment(\.showSliderStep) private var showSliderStep
63 |     @Environment(\.sliderTrackColor) private var sliderTrackColor
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
64 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
65 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:64:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct StepMarksView: View {
   |        `- note: add @available attribute to enclosing struct
61 |
62 |     @Environment(\.showSliderStep) private var showSliderStep
63 |     @Environment(\.sliderTrackColor) private var sliderTrackColor
64 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
65 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
66 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:65:6: error: 'Environment' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct StepMarksView: View {
   |        `- note: add @available attribute to enclosing struct
61 |
62 |     @Environment(\.showSliderStep) private var showSliderStep
63 |     @Environment(\.sliderTrackColor) private var sliderTrackColor
64 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
65 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
   |      `- error: 'Environment' is only available in macOS 10.15 or newer
66 |
67 |     let step: Double.Stride?
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:71:20: error: 'View' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct StepMarksView: View {
   |        `- note: add @available attribute to enclosing struct
61 |
62 |     @Environment(\.showSliderStep) private var showSliderStep
   :
69 |
70 |     @ViewBuilder
71 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
72 |         if let step, showSliderStep {
73 |             HStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/Internal Views/TrackView.swift:70:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
58 | }
59 |
60 | struct StepMarksView: View {
   |        `- note: add @available attribute to enclosing struct
61 |
62 |     @Environment(\.showSliderStep) private var showSliderStep
   :
68 |     let range: ClosedRange<Double>
69 |
70 |     @ViewBuilder
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
71 |     var body: some View {
72 |         if let step, showSliderStep {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:37:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:38:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:39:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:40:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
 38 |     @Environment(\.sliderTrackHeight) private var sliderTrackHeight
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 42 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:41:6: error: 'Environment' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 39 |     @Environment(\.sliderStepHeight) private var sliderStepHeight
 40 |     @Environment(\.sliderHandleColor) private var sliderHandleStyle
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
    |      `- error: 'Environment' is only available in macOS 10.15 or newer
 42 |
 43 |     @Binding private var _selection: ClosedRange<Double>
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:43:6: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 41 |     @Environment(\.hapticFeedbackEnabled) private var hapticFeedbackEnabled
 42 |
 43 |     @Binding private var _selection: ClosedRange<Double>
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 44 |     private let range: ClosedRange<Double>
 45 |     private let step: Double.Stride?
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:55:32: error: 'EmptyView' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 48 |     private var maximumValueLabel: UpperValueLabel?
 49 |
 50 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 51 |         selection: Binding<ClosedRange<Double>>,
 52 |         in range: ClosedRange<Double> = 0...1,
 53 |         step: Double.Stride? = nil,
 54 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 55 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                `- error: 'EmptyView' is only available in macOS 10.15 or newer
 56 |         self.__selection = selection
 57 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:55:62: error: 'EmptyView' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 48 |     private var maximumValueLabel: UpperValueLabel?
 49 |
 50 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 51 |         selection: Binding<ClosedRange<Double>>,
 52 |         in range: ClosedRange<Double> = 0...1,
 53 |         step: Double.Stride? = nil,
 54 |         onEditingChanged: @escaping (Bool) -> Void = { _ in }
 55 |     ) where LowerValueLabel == EmptyView, UpperValueLabel == EmptyView {
    |                                                              `- error: 'EmptyView' is only available in macOS 10.15 or newer
 56 |         self.__selection = selection
 57 |         self.range = range
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:51:20: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 48 |     private var maximumValueLabel: UpperValueLabel?
 49 |
 50 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 51 |         selection: Binding<ClosedRange<Double>>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 52 |         in range: ClosedRange<Double> = 0...1,
 53 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:63:20: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 60 |     }
 61 |
 62 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 63 |         selection: Binding<ClosedRange<Double>>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
 64 |         in range: ClosedRange<Double> = 0...1,
 65 |         step: Double.Stride? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:78:28: error: 'Binding' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
 76 |     }
 77 |
 78 |     private var selection: Binding<ClosedRange<Double>> {
    |                 |          `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 79 |         Binding {
 80 |             _selection.clamped(to: range)
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:106:27: error: 'View' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
104 |     }
105 |
106 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
107 |         HStack {
108 |             if let minimumValueLabel {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:147:6: error: 'State' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
145 |     }
146 |
147 |     @State private var isEditing = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:148:6: error: 'State' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
146 |
147 |     @State private var isEditing = false
148 |     @State private var initialSelection: ClosedRange<Double>?
    |      `- error: 'State' is only available in macOS 10.15 or newer
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:150:43: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  |                        `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:150:83: error: 'Gesture' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
    :
148 |     @State private var initialSelection: ClosedRange<Double>?
149 |
150 |     private func dragGesture(in geometry: GeometryProxy, at index: Index) -> some Gesture {
    |                  |                                                                `- error: 'Gesture' is only available in macOS 10.15 or newer
    |                  `- note: add @available attribute to enclosing instance method
151 |         DragGesture()
152 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:35:44: error: 'View' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                            `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
/Users/admin/builder/spi-builder-workspace/Sources/BetterSlider/RangeSlider.swift:35:67: error: 'View' is only available in macOS 10.15 or newer
 33 | /// See ``SwiftUI/View`` for all available customizations.
 34 | ///
 35 | public struct RangeSlider<LowerValueLabel: View, UpperValueLabel: View>: View {
    |               |                                                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 36 |
 37 |     @Environment(\.sliderHandleSize) private var sliderHandleSize
BUILD FAILURE 6.2 macosSpm