The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RangeSlider, reference main (835e17), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 21:26:53 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brendanperry/RangeSlider.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/brendanperry/RangeSlider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 835e175 Fixed public access
Cloned https://github.com/brendanperry/RangeSlider.git
Revision (git rev-parse @):
835e17514bbc5b3d995ba0e5cfc3d882f34b1044
SUCCESS checkout https://github.com/brendanperry/RangeSlider.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/brendanperry/RangeSlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/5] Compiling RangeSlider RangeSliderUnit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module RangeSlider
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:33:32: error: 'AnyCancellable' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
    |                                `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 34 |     @State var leftSliderPosition: Double
 35 |     @State var rightSliderPosition: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:18:32: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 16 |     let circleShadowRadius: Double
 17 |     let circleBorder: Double
 18 |     let leftCircleBorderColor: Color
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     let rightCircleBorderColor: Color
 20 |     let leftCircleColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:19:33: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 17 |     let circleBorder: Double
 18 |     let leftCircleBorderColor: Color
 19 |     let rightCircleBorderColor: Color
    |                                 `- error: 'Color' is only available in macOS 10.15 or newer
 20 |     let leftCircleColor: Color
 21 |     let rightCircleColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:20:26: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 18 |     let leftCircleBorderColor: Color
 19 |     let rightCircleBorderColor: Color
 20 |     let leftCircleColor: Color
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 21 |     let rightCircleColor: Color
 22 |     let lineColorInRange: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:21:27: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 19 |     let rightCircleBorderColor: Color
 20 |     let leftCircleColor: Color
 21 |     let rightCircleColor: Color
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 22 |     let lineColorInRange: AnyShapeStyle
 23 |     let lineColorOutOfRange: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:22:27: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 20 |     let leftCircleColor: Color
 21 |     let rightCircleColor: Color
 22 |     let lineColorInRange: AnyShapeStyle
    |                           `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
 23 |     let lineColorOutOfRange: Color
 24 |     let shadow: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:23:30: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 21 |     let rightCircleColor: Color
 22 |     let lineColorInRange: AnyShapeStyle
 23 |     let lineColorOutOfRange: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 24 |     let shadow: Color
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:24:17: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 22 |     let lineColorInRange: AnyShapeStyle
 23 |     let lineColorOutOfRange: Color
 24 |     let shadow: Color
    |                 `- error: 'Color' is only available in macOS 10.15 or newer
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:25:24: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 23 |     let lineColorOutOfRange: Color
 24 |     let shadow: Color
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
    |                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 26 |
 27 |     @Binding var leftValue: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:27:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
 26 |
 27 |     @Binding var leftValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 28 |     @Binding var rightValue: Double
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:28:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 26 |
 27 |     @Binding var leftValue: Double
 28 |     @Binding var rightValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 29 |
 30 |     @State var minValue: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 28 |     @Binding var rightValue: Double
 29 |
 30 |     @State var minValue: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 29 |
 30 |     @State var minValue: Double
 31 |     @State var maxValue: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:32:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 30 |     @State var minValue: Double
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 33 |     @State var observers = Set<AnyCancellable>()
 34 |     @State var leftSliderPosition: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 34 |     @State var leftSliderPosition: Double
 35 |     @State var rightSliderPosition: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
 34 |     @State var leftSliderPosition: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |     @State var rightSliderPosition: Double
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 33 |     @State var observers = Set<AnyCancellable>()
 34 |     @State var leftSliderPosition: Double
 35 |     @State var rightSliderPosition: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |
 37 |     public init(lineHeight: Double,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:45:33: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 43 |          maxValue: Double,
 44 |          circleBorder: Double,
 45 |          leftCircleBorderColor: Color,
    |                                 `- error: 'Color' is only available in macOS 10.15 or newer
 46 |          rightCircleBorderColor: Color,
 47 |          leftCircleColor: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:46:34: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 44 |          circleBorder: Double,
 45 |          leftCircleBorderColor: Color,
 46 |          rightCircleBorderColor: Color,
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 47 |          leftCircleColor: Color,
 48 |          rightCircleColor: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:47:27: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 45 |          leftCircleBorderColor: Color,
 46 |          rightCircleBorderColor: Color,
 47 |          leftCircleColor: Color,
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 48 |          rightCircleColor: Color,
 49 |          lineColorInRange: AnyShapeStyle,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:48:28: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 46 |          rightCircleBorderColor: Color,
 47 |          leftCircleColor: Color,
 48 |          rightCircleColor: Color,
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 49 |          lineColorInRange: AnyShapeStyle,
 50 |          lineColorOutOfRange: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:49:28: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 47 |          leftCircleColor: Color,
 48 |          rightCircleColor: Color,
 49 |          lineColorInRange: AnyShapeStyle,
    |                            `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
 50 |          lineColorOutOfRange: Color,
 51 |          shadow: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:50:31: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 48 |          rightCircleColor: Color,
 49 |          lineColorInRange: AnyShapeStyle,
 50 |          lineColorOutOfRange: Color,
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 51 |          shadow: Color,
 52 |          leftValue: Binding<Double>,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:51:18: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 49 |          lineColorInRange: AnyShapeStyle,
 50 |          lineColorOutOfRange: Color,
 51 |          shadow: Color,
    |                  `- error: 'Color' is only available in macOS 10.15 or newer
 52 |          leftValue: Binding<Double>,
 53 |          rightValue: Binding<Double>,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:52:21: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 50 |          lineColorOutOfRange: Color,
 51 |          shadow: Color,
 52 |          leftValue: Binding<Double>,
    |                     `- error: 'Binding' is only available in macOS 10.15 or newer
 53 |          rightValue: Binding<Double>,
 54 |          unitPublisher: AnyPublisher<RangeSliderUnit, Never>) {
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:53:22: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 51 |          shadow: Color,
 52 |          leftValue: Binding<Double>,
 53 |          rightValue: Binding<Double>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 54 |          unitPublisher: AnyPublisher<RangeSliderUnit, Never>) {
 55 |         self.lineHeight = lineHeight
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:54:25: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 52 |          leftValue: Binding<Double>,
 53 |          rightValue: Binding<Double>,
 54 |          unitPublisher: AnyPublisher<RangeSliderUnit, Never>) {
    |                         `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 55 |         self.lineHeight = lineHeight
 56 |         self.lineWidth = lineWidth
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:140:30: error: 'Gesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
138 |     }
139 |
140 |     var dragLeftSlider: some Gesture {
    |         |                    `- error: 'Gesture' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
141 |         DragGesture()
142 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:147:34: error: 'DragGesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
145 |     }
146 |
147 |     func updateLeftSlider(value: DragGesture.Value) {
    |          |                       `- error: 'DragGesture' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
148 |         if value.location.x <= 0 {
149 |             leftSliderPosition = 0
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:164:31: error: 'Gesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
162 |     }
163 |
164 |     var dragRightSlider: some Gesture {
    |         |                     `- error: 'Gesture' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
165 |         DragGesture()
166 |             .onChanged { value in
[5/5] Compiling RangeSlider RangeSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:33:32: error: 'AnyCancellable' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
    |                                `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
 34 |     @State var leftSliderPosition: Double
 35 |     @State var rightSliderPosition: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:18:32: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 16 |     let circleShadowRadius: Double
 17 |     let circleBorder: Double
 18 |     let leftCircleBorderColor: Color
    |                                `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     let rightCircleBorderColor: Color
 20 |     let leftCircleColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:19:33: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 17 |     let circleBorder: Double
 18 |     let leftCircleBorderColor: Color
 19 |     let rightCircleBorderColor: Color
    |                                 `- error: 'Color' is only available in macOS 10.15 or newer
 20 |     let leftCircleColor: Color
 21 |     let rightCircleColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:20:26: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 18 |     let leftCircleBorderColor: Color
 19 |     let rightCircleBorderColor: Color
 20 |     let leftCircleColor: Color
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 21 |     let rightCircleColor: Color
 22 |     let lineColorInRange: AnyShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:21:27: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 19 |     let rightCircleBorderColor: Color
 20 |     let leftCircleColor: Color
 21 |     let rightCircleColor: Color
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 22 |     let lineColorInRange: AnyShapeStyle
 23 |     let lineColorOutOfRange: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:22:27: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 20 |     let leftCircleColor: Color
 21 |     let rightCircleColor: Color
 22 |     let lineColorInRange: AnyShapeStyle
    |                           `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
 23 |     let lineColorOutOfRange: Color
 24 |     let shadow: Color
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:23:30: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 21 |     let rightCircleColor: Color
 22 |     let lineColorInRange: AnyShapeStyle
 23 |     let lineColorOutOfRange: Color
    |                              `- error: 'Color' is only available in macOS 10.15 or newer
 24 |     let shadow: Color
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:24:17: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 22 |     let lineColorInRange: AnyShapeStyle
 23 |     let lineColorOutOfRange: Color
 24 |     let shadow: Color
    |                 `- error: 'Color' is only available in macOS 10.15 or newer
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
 26 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:25:24: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 23 |     let lineColorOutOfRange: Color
 24 |     let shadow: Color
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
    |                        `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 26 |
 27 |     @Binding var leftValue: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:27:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 25 |     let unitPublisher: AnyPublisher<RangeSliderUnit, Never>
 26 |
 27 |     @Binding var leftValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 28 |     @Binding var rightValue: Double
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:28:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 26 |
 27 |     @Binding var leftValue: Double
 28 |     @Binding var rightValue: Double
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 29 |
 30 |     @State var minValue: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:30:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 28 |     @Binding var rightValue: Double
 29 |
 30 |     @State var minValue: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:31:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 29 |
 30 |     @State var minValue: Double
 31 |     @State var maxValue: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:32:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 30 |     @State var minValue: Double
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 33 |     @State var observers = Set<AnyCancellable>()
 34 |     @State var leftSliderPosition: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:33:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 31 |     @State var maxValue: Double
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 34 |     @State var leftSliderPosition: Double
 35 |     @State var rightSliderPosition: Double
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:34:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 32 |     @State var hasAppeared = false
 33 |     @State var observers = Set<AnyCancellable>()
 34 |     @State var leftSliderPosition: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 35 |     @State var rightSliderPosition: Double
 36 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:35:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 33 |     @State var observers = Set<AnyCancellable>()
 34 |     @State var leftSliderPosition: Double
 35 |     @State var rightSliderPosition: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 36 |
 37 |     public init(lineHeight: Double,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:45:33: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 43 |          maxValue: Double,
 44 |          circleBorder: Double,
 45 |          leftCircleBorderColor: Color,
    |                                 `- error: 'Color' is only available in macOS 10.15 or newer
 46 |          rightCircleBorderColor: Color,
 47 |          leftCircleColor: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:46:34: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 44 |          circleBorder: Double,
 45 |          leftCircleBorderColor: Color,
 46 |          rightCircleBorderColor: Color,
    |                                  `- error: 'Color' is only available in macOS 10.15 or newer
 47 |          leftCircleColor: Color,
 48 |          rightCircleColor: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:47:27: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 45 |          leftCircleBorderColor: Color,
 46 |          rightCircleBorderColor: Color,
 47 |          leftCircleColor: Color,
    |                           `- error: 'Color' is only available in macOS 10.15 or newer
 48 |          rightCircleColor: Color,
 49 |          lineColorInRange: AnyShapeStyle,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:48:28: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 46 |          rightCircleBorderColor: Color,
 47 |          leftCircleColor: Color,
 48 |          rightCircleColor: Color,
    |                            `- error: 'Color' is only available in macOS 10.15 or newer
 49 |          lineColorInRange: AnyShapeStyle,
 50 |          lineColorOutOfRange: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:49:28: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 47 |          leftCircleColor: Color,
 48 |          rightCircleColor: Color,
 49 |          lineColorInRange: AnyShapeStyle,
    |                            `- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
 50 |          lineColorOutOfRange: Color,
 51 |          shadow: Color,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:50:31: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 48 |          rightCircleColor: Color,
 49 |          lineColorInRange: AnyShapeStyle,
 50 |          lineColorOutOfRange: Color,
    |                               `- error: 'Color' is only available in macOS 10.15 or newer
 51 |          shadow: Color,
 52 |          leftValue: Binding<Double>,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:51:18: error: 'Color' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 49 |          lineColorInRange: AnyShapeStyle,
 50 |          lineColorOutOfRange: Color,
 51 |          shadow: Color,
    |                  `- error: 'Color' is only available in macOS 10.15 or newer
 52 |          leftValue: Binding<Double>,
 53 |          rightValue: Binding<Double>,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:52:21: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 50 |          lineColorOutOfRange: Color,
 51 |          shadow: Color,
 52 |          leftValue: Binding<Double>,
    |                     `- error: 'Binding' is only available in macOS 10.15 or newer
 53 |          rightValue: Binding<Double>,
 54 |          unitPublisher: AnyPublisher<RangeSliderUnit, Never>) {
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:53:22: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 51 |          shadow: Color,
 52 |          leftValue: Binding<Double>,
 53 |          rightValue: Binding<Double>,
    |                      `- error: 'Binding' is only available in macOS 10.15 or newer
 54 |          unitPublisher: AnyPublisher<RangeSliderUnit, Never>) {
 55 |         self.lineHeight = lineHeight
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:54:25: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 52 |          leftValue: Binding<Double>,
 53 |          rightValue: Binding<Double>,
 54 |          unitPublisher: AnyPublisher<RangeSliderUnit, Never>) {
    |                         `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 55 |         self.lineHeight = lineHeight
 56 |         self.lineWidth = lineWidth
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:140:30: error: 'Gesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
138 |     }
139 |
140 |     var dragLeftSlider: some Gesture {
    |         |                    `- error: 'Gesture' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
141 |         DragGesture()
142 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:147:34: error: 'DragGesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
145 |     }
146 |
147 |     func updateLeftSlider(value: DragGesture.Value) {
    |          |                       `- error: 'DragGesture' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
148 |         if value.location.x <= 0 {
149 |             leftSliderPosition = 0
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:164:31: error: 'Gesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
162 |     }
163 |
164 |     var dragRightSlider: some Gesture {
    |         |                     `- error: 'Gesture' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
165 |         DragGesture()
166 |             .onChanged { value in
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:60:9: error: setter for 'minValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 58 |         self.circleWidth = circleWidth
 59 |         self.circleShadowRadius = circleShadowRadius
 60 |         self.minValue = minValue
    |         |- error: setter for 'minValue' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 61 |         self.maxValue = maxValue
 62 |         self._leftValue = leftValue
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:61:9: error: setter for 'maxValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 59 |         self.circleShadowRadius = circleShadowRadius
 60 |         self.minValue = minValue
 61 |         self.maxValue = maxValue
    |         |- error: setter for 'maxValue' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 62 |         self._leftValue = leftValue
 63 |         self._rightValue = rightValue
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:74:9: error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 72 |         self.unitPublisher = unitPublisher
 73 |
 74 |         self.leftSliderPosition = (leftValue.wrappedValue - minValue) / (maxValue - minValue) * lineWidth
    |         |- error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 75 |         self.rightSliderPosition = (rightValue.wrappedValue - minValue) / (maxValue - minValue) * lineWidth
 76 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:75:9: error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 35 |     @State var rightSliderPosition: Double
 36 |
 37 |     public init(lineHeight: Double,
    |            `- note: add @available attribute to enclosing initializer
 38 |          lineWidth: Double,
 39 |          lineCornerRadius: Double,
    :
 73 |
 74 |         self.leftSliderPosition = (leftValue.wrappedValue - minValue) / (maxValue - minValue) * lineWidth
 75 |         self.rightSliderPosition = (rightValue.wrappedValue - minValue) / (maxValue - minValue) * lineWidth
    |         |- error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 76 |     }
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:79:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:79:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:79:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:79:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:79:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:80:13: error: 'ZStack' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:80:20: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    |                    |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:80:20: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    |                    |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:80:20: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    |                    |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:80:20: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    |                    |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:81:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
 83 |                     .foregroundColor(lineColorOutOfRange)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:82:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
    |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 83 |                     .foregroundColor(lineColorOutOfRange)
 84 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:82:78: error: 'center' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
    |                                                                              |- error: 'center' is only available in macOS 10.15 or newer
    |                                                                              `- note: add 'if #available' version check
 83 |                     .foregroundColor(lineColorOutOfRange)
 84 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:83:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
 81 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
 83 |                     .foregroundColor(lineColorOutOfRange)
    |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 84 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 85 |                     .fill(AnyShapeStyle(lineColorInRange))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:84:17: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 82 |                     .frame(width: lineWidth, height: lineHeight, alignment: .center)
 83 |                     .foregroundColor(lineColorOutOfRange)
 84 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
    |                 |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 85 |                     .fill(AnyShapeStyle(lineColorInRange))
 86 |                     .frame(
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:85:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 83 |                     .foregroundColor(lineColorOutOfRange)
 84 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 85 |                     .fill(AnyShapeStyle(lineColorInRange))
    |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
 86 |                     .frame(
 87 |                         width: rightSliderPosition - leftSliderPosition,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:85:27: error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 83 |                     .foregroundColor(lineColorOutOfRange)
 84 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 85 |                     .fill(AnyShapeStyle(lineColorInRange))
    |                           |- error: 'AnyShapeStyle' is only available in macOS 12.0 or newer
    |                           `- note: add 'if #available' version check
 86 |                     .frame(
 87 |                         width: rightSliderPosition - leftSliderPosition,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:86:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 84 |                 RoundedRectangle(cornerSize: CGSize(width: lineCornerRadius, height: lineCornerRadius))
 85 |                     .fill(AnyShapeStyle(lineColorInRange))
 86 |                     .frame(
    |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 87 |                         width: rightSliderPosition - leftSliderPosition,
 88 |                         height: lineHeight,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:89:37: error: 'center' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 87 |                         width: rightSliderPosition - leftSliderPosition,
 88 |                         height: lineHeight,
 89 |                         alignment: .center)
    |                                     |- error: 'center' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
 90 |                     .position(
 91 |                         x: (rightSliderPosition - leftSliderPosition) / 2 + leftSliderPosition,
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:90:22: error: 'position(x:y:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 88 |                         height: lineHeight,
 89 |                         alignment: .center)
 90 |                     .position(
    |                      |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 91 |                         x: (rightSliderPosition - leftSliderPosition) / 2 + leftSliderPosition,
 92 |                         y: geo.frame(in: .local).midY)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:92:32: error: 'frame(in:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 90 |                     .position(
 91 |                         x: (rightSliderPosition - leftSliderPosition) / 2 + leftSliderPosition,
 92 |                         y: geo.frame(in: .local).midY)
    |                                |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 93 |                 ZStack {
 94 |                     Circle()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:93:17: error: 'ZStack' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 91 |                         x: (rightSliderPosition - leftSliderPosition) / 2 + leftSliderPosition,
 92 |                         y: geo.frame(in: .local).midY)
 93 |                 ZStack {
    |                 |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 94 |                     Circle()
 95 |                         .fill(leftCircleBorderColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:93:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 91 |                         x: (rightSliderPosition - leftSliderPosition) / 2 + leftSliderPosition,
 92 |                         y: geo.frame(in: .local).midY)
 93 |                 ZStack {
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 94 |                     Circle()
 95 |                         .fill(leftCircleBorderColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:93:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 91 |                         x: (rightSliderPosition - leftSliderPosition) / 2 + leftSliderPosition,
 92 |                         y: geo.frame(in: .local).midY)
 93 |                 ZStack {
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 94 |                     Circle()
 95 |                         .fill(leftCircleBorderColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:94:21: error: 'Circle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 92 |                         y: geo.frame(in: .local).midY)
 93 |                 ZStack {
 94 |                     Circle()
    |                     |- error: 'Circle' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 95 |                         .fill(leftCircleBorderColor)
 96 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:95:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 93 |                 ZStack {
 94 |                     Circle()
 95 |                         .fill(leftCircleBorderColor)
    |                          |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
 96 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
 97 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:96:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 94 |                     Circle()
 95 |                         .fill(leftCircleBorderColor)
 96 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 97 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
 98 |                     Circle()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:96:85: error: 'center' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 94 |                     Circle()
 95 |                         .fill(leftCircleBorderColor)
 96 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
    |                                                                                     |- error: 'center' is only available in macOS 10.15 or newer
    |                                                                                     `- note: add 'if #available' version check
 97 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
 98 |                     Circle()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:97:26: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 95 |                         .fill(leftCircleBorderColor)
 96 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
 97 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
    |                          |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 98 |                     Circle()
 99 |                         .fill(leftCircleColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:98:21: error: 'Circle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 96 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
 97 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
 98 |                     Circle()
    |                     |- error: 'Circle' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 99 |                         .fill(leftCircleColor)
100 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:99:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 97 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
 98 |                     Circle()
 99 |                         .fill(leftCircleColor)
    |                          |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
100 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
101 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:100:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 98 |                     Circle()
 99 |                         .fill(leftCircleColor)
100 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
101 |                 }
102 |                 .position(x: leftSliderPosition, y: geo.frame(in: .local).midY)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:100:115: error: 'center' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
 98 |                     Circle()
 99 |                         .fill(leftCircleColor)
100 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
    |                                                                                                                   |- error: 'center' is only available in macOS 10.15 or newer
    |                                                                                                                   `- note: add 'if #available' version check
101 |                 }
102 |                 .position(x: leftSliderPosition, y: geo.frame(in: .local).midY)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:102:18: error: 'position(x:y:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
100 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
101 |                 }
102 |                 .position(x: leftSliderPosition, y: geo.frame(in: .local).midY)
    |                  |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
103 |                 .gesture(dragLeftSlider)
104 |                 .hoverEffect()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:102:57: error: 'frame(in:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
100 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
101 |                 }
102 |                 .position(x: leftSliderPosition, y: geo.frame(in: .local).midY)
    |                                                         |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
103 |                 .gesture(dragLeftSlider)
104 |                 .hoverEffect()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:103:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
101 |                 }
102 |                 .position(x: leftSliderPosition, y: geo.frame(in: .local).midY)
103 |                 .gesture(dragLeftSlider)
    |                  |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
104 |                 .hoverEffect()
105 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:104:18: error: 'hoverEffect(_:isEnabled:)' is unavailable in macOS
102 |                 .position(x: leftSliderPosition, y: geo.frame(in: .local).midY)
103 |                 .gesture(dragLeftSlider)
104 |                 .hoverEffect()
    |                  `- error: 'hoverEffect(_:isEnabled:)' is unavailable in macOS
105 |
106 |                 ZStack {
SwiftUI.View.hoverEffect:2:25: note: 'hoverEffect(_:isEnabled:)' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func hoverEffect(_ effect: some CustomHoverEffect = .automatic, isEnabled: Bool = true) -> some View
  |                         `- note: 'hoverEffect(_:isEnabled:)' has been explicitly marked unavailable here
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:106:17: error: 'ZStack' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
104 |                 .hoverEffect()
105 |
106 |                 ZStack {
    |                 |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
107 |                     Circle()
108 |                         .fill(rightCircleBorderColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:106:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
104 |                 .hoverEffect()
105 |
106 |                 ZStack {
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
107 |                     Circle()
108 |                         .fill(rightCircleBorderColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:106:24: error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
104 |                 .hoverEffect()
105 |
106 |                 ZStack {
    |                        |- error: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
107 |                     Circle()
108 |                         .fill(rightCircleBorderColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:107:21: error: 'Circle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
105 |
106 |                 ZStack {
107 |                     Circle()
    |                     |- error: 'Circle' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
108 |                         .fill(rightCircleBorderColor)
109 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:108:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
106 |                 ZStack {
107 |                     Circle()
108 |                         .fill(rightCircleBorderColor)
    |                          |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
109 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
110 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:109:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
107 |                     Circle()
108 |                         .fill(rightCircleBorderColor)
109 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
110 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
111 |                     Circle()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:109:85: error: 'center' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
107 |                     Circle()
108 |                         .fill(rightCircleBorderColor)
109 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
    |                                                                                     |- error: 'center' is only available in macOS 10.15 or newer
    |                                                                                     `- note: add 'if #available' version check
110 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
111 |                     Circle()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:110:26: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
108 |                         .fill(rightCircleBorderColor)
109 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
110 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
    |                          |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
111 |                     Circle()
112 |                         .fill(rightCircleColor)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:111:21: error: 'Circle' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
109 |                         .frame(width: circleWidth, height: circleWidth, alignment: .center)
110 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
111 |                     Circle()
    |                     |- error: 'Circle' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
112 |                         .fill(rightCircleColor)
113 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:112:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
110 |                         .shadow(color: shadow, radius: 16, x: 0, y: 4)
111 |                     Circle()
112 |                         .fill(rightCircleColor)
    |                          |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
113 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
114 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:113:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
111 |                     Circle()
112 |                         .fill(rightCircleColor)
113 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
114 |                 }
115 |                 .position(x: rightSliderPosition, y: geo.frame(in: .local).midY)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:113:115: error: 'center' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
111 |                     Circle()
112 |                         .fill(rightCircleColor)
113 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
    |                                                                                                                   |- error: 'center' is only available in macOS 10.15 or newer
    |                                                                                                                   `- note: add 'if #available' version check
114 |                 }
115 |                 .position(x: rightSliderPosition, y: geo.frame(in: .local).midY)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:115:18: error: 'position(x:y:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
113 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
114 |                 }
115 |                 .position(x: rightSliderPosition, y: geo.frame(in: .local).midY)
    |                  |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
116 |                 .gesture(dragRightSlider)
117 |                 .hoverEffect()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:115:58: error: 'frame(in:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
113 |                         .frame(width: circleWidth - circleBorder, height: circleWidth - circleBorder, alignment: .center)
114 |                 }
115 |                 .position(x: rightSliderPosition, y: geo.frame(in: .local).midY)
    |                                                          |- error: 'frame(in:)' is only available in macOS 10.15 or newer
    |                                                          `- note: add 'if #available' version check
116 |                 .gesture(dragRightSlider)
117 |                 .hoverEffect()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:116:18: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
114 |                 }
115 |                 .position(x: rightSliderPosition, y: geo.frame(in: .local).midY)
116 |                 .gesture(dragRightSlider)
    |                  |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
117 |                 .hoverEffect()
118 |             }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:117:18: error: 'hoverEffect(_:isEnabled:)' is unavailable in macOS
115 |                 .position(x: rightSliderPosition, y: geo.frame(in: .local).midY)
116 |                 .gesture(dragRightSlider)
117 |                 .hoverEffect()
    |                  `- error: 'hoverEffect(_:isEnabled:)' is unavailable in macOS
118 |             }
119 |         }
SwiftUI.View.hoverEffect:2:25: note: 'hoverEffect(_:isEnabled:)' has been explicitly marked unavailable here
1 | protocol View {
2 | nonisolated public func hoverEffect(_ effect: some CustomHoverEffect = .automatic, isEnabled: Bool = true) -> some View
  |                         `- note: 'hoverEffect(_:isEnabled:)' has been explicitly marked unavailable here
3 |   }
4 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:120:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
118 |             }
119 |         }
120 |         .frame(width: lineWidth, height: circleWidth, alignment: .center)
    |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
121 |         .onAppear {
122 |             if !hasAppeared {
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:120:67: error: 'center' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
118 |             }
119 |         }
120 |         .frame(width: lineWidth, height: circleWidth, alignment: .center)
    |                                                                   |- error: 'center' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
121 |         .onAppear {
122 |             if !hasAppeared {
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:121:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
119 |         }
120 |         .frame(width: lineWidth, height: circleWidth, alignment: .center)
121 |         .onAppear {
    |          |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
122 |             if !hasAppeared {
123 |                 hasAppeared = true
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:123:17: error: setter for 'hasAppeared' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
121 |         .onAppear {
122 |             if !hasAppeared {
123 |                 hasAppeared = true
    |                 |- error: setter for 'hasAppeared' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
124 |
125 |                 DispatchQueue.main.async {
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:126:35: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
124 |
125 |                 DispatchQueue.main.async {
126 |                     unitPublisher.sink { unit in
    |                                   |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
127 |                         minValue = unit.minValue()
128 |                         maxValue = unit.maxValue()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:127:25: error: setter for 'minValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
125 |                 DispatchQueue.main.async {
126 |                     unitPublisher.sink { unit in
127 |                         minValue = unit.minValue()
    |                         |- error: setter for 'minValue' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
128 |                         maxValue = unit.maxValue()
129 |                         leftValue = unit.defaultMin()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:128:25: error: setter for 'maxValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
126 |                     unitPublisher.sink { unit in
127 |                         minValue = unit.minValue()
128 |                         maxValue = unit.maxValue()
    |                         |- error: setter for 'maxValue' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
129 |                         leftValue = unit.defaultMin()
130 |                         rightValue = unit.defaultMax()
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:129:25: error: setter for 'leftValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
127 |                         minValue = unit.minValue()
128 |                         maxValue = unit.maxValue()
129 |                         leftValue = unit.defaultMin()
    |                         |- error: setter for 'leftValue' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
130 |                         rightValue = unit.defaultMax()
131 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:130:25: error: setter for 'rightValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
128 |                         maxValue = unit.maxValue()
129 |                         leftValue = unit.defaultMin()
130 |                         rightValue = unit.defaultMax()
    |                         |- error: setter for 'rightValue' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
131 |
132 |                         leftSliderPosition = (leftValue - minValue) / (maxValue - minValue) * lineWidth
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:132:25: error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
130 |                         rightValue = unit.defaultMax()
131 |
132 |                         leftSliderPosition = (leftValue - minValue) / (maxValue - minValue) * lineWidth
    |                         |- error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
133 |                         rightSliderPosition = (rightValue - minValue) / (maxValue - minValue) * lineWidth
134 |                     }.store(in: &observers)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:133:25: error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
131 |
132 |                         leftSliderPosition = (leftValue - minValue) / (maxValue - minValue) * lineWidth
133 |                         rightSliderPosition = (rightValue - minValue) / (maxValue - minValue) * lineWidth
    |                         |- error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
134 |                     }.store(in: &observers)
135 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:134:23: error: 'store(in:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
132 |                         leftSliderPosition = (leftValue - minValue) / (maxValue - minValue) * lineWidth
133 |                         rightSliderPosition = (rightValue - minValue) / (maxValue - minValue) * lineWidth
134 |                     }.store(in: &observers)
    |                       |- error: 'store(in:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
135 |                 }
136 |             }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:134:34: error: cannot pass as inout because setter for 'observers' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         GeometryReader { geo in
 80 |             ZStack {
    :
132 |                         leftSliderPosition = (leftValue - minValue) / (maxValue - minValue) * lineWidth
133 |                         rightSliderPosition = (rightValue - minValue) / (maxValue - minValue) * lineWidth
134 |                     }.store(in: &observers)
    |                                  |- error: cannot pass as inout because setter for 'observers' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
135 |                 }
136 |             }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:142:14: error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
138 |     }
139 |
140 |     var dragLeftSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
141 |         DragGesture()
142 |             .onChanged { value in
    |              |- error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
143 |                 updateLeftSlider(value: value)
144 |             }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:141:9: error: 'DragGesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
138 |     }
139 |
140 |     var dragLeftSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
141 |         DragGesture()
    |         |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
142 |             .onChanged { value in
143 |                 updateLeftSlider(value: value)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:141:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
138 |     }
139 |
140 |     var dragLeftSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
141 |         DragGesture()
    |         |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |         `- note: add 'if #available' version check
142 |             .onChanged { value in
143 |                 updateLeftSlider(value: value)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:142:14: error: 'onChanged' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
138 |     }
139 |
140 |     var dragLeftSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
141 |         DragGesture()
142 |             .onChanged { value in
    |              |- error: 'onChanged' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
143 |                 updateLeftSlider(value: value)
144 |             }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:149:13: error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
145 |     }
146 |
147 |     func updateLeftSlider(value: DragGesture.Value) {
    |          `- note: add @available attribute to enclosing instance method
148 |         if value.location.x <= 0 {
149 |             leftSliderPosition = 0
    |             |- error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
150 |         } else if value.location.x <= rightSliderPosition - (minValue * (lineWidth / (maxValue - minValue))) {
151 |             leftSliderPosition = value.location.x
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:151:13: error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
145 |     }
146 |
147 |     func updateLeftSlider(value: DragGesture.Value) {
    |          `- note: add @available attribute to enclosing instance method
148 |         if value.location.x <= 0 {
149 |             leftSliderPosition = 0
150 |         } else if value.location.x <= rightSliderPosition - (minValue * (lineWidth / (maxValue - minValue))) {
151 |             leftSliderPosition = value.location.x
    |             |- error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
152 |         } else {
153 |             leftSliderPosition = rightSliderPosition - (minValue * (lineWidth / (maxValue - minValue)))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:153:13: error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
145 |     }
146 |
147 |     func updateLeftSlider(value: DragGesture.Value) {
    |          `- note: add @available attribute to enclosing instance method
148 |         if value.location.x <= 0 {
149 |             leftSliderPosition = 0
    :
151 |             leftSliderPosition = value.location.x
152 |         } else {
153 |             leftSliderPosition = rightSliderPosition - (minValue * (lineWidth / (maxValue - minValue)))
    |             |- error: setter for 'leftSliderPosition' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
154 |         }
155 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:159:13: error: setter for 'leftValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
145 |     }
146 |
147 |     func updateLeftSlider(value: DragGesture.Value) {
    |          `- note: add @available attribute to enclosing instance method
148 |         if value.location.x <= 0 {
149 |             leftSliderPosition = 0
    :
157 |
158 |         if newValue != leftValue {
159 |             leftValue = newValue
    |             |- error: setter for 'leftValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
160 |             generateHapticFeedback()
161 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:166:14: error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
162 |     }
163 |
164 |     var dragRightSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
165 |         DragGesture()
166 |             .onChanged { value in
    |              |- error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
167 |                 updateRightSlider(value: value.location.x)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:165:9: error: 'DragGesture' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
162 |     }
163 |
164 |     var dragRightSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
165 |         DragGesture()
    |         |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
166 |             .onChanged { value in
167 |                 updateRightSlider(value: value.location.x)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:165:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
162 |     }
163 |
164 |     var dragRightSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
165 |         DragGesture()
    |         |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |         `- note: add 'if #available' version check
166 |             .onChanged { value in
167 |                 updateRightSlider(value: value.location.x)
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:166:14: error: 'onChanged' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
162 |     }
163 |
164 |     var dragRightSlider: some Gesture {
    |         `- note: add @available attribute to enclosing property
165 |         DragGesture()
166 |             .onChanged { value in
    |              |- error: 'onChanged' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
167 |                 updateRightSlider(value: value.location.x)
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:173:13: error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
169 |     }
170 |
171 |     func updateRightSlider(value: Double) {
    |          `- note: add @available attribute to enclosing instance method
172 |         if value >= lineWidth {
173 |             rightSliderPosition = lineWidth
    |             |- error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
174 |         } else if value >= leftSliderPosition + (minValue * (lineWidth / (maxValue - minValue))) {
175 |             rightSliderPosition = value
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:175:13: error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
169 |     }
170 |
171 |     func updateRightSlider(value: Double) {
    |          `- note: add @available attribute to enclosing instance method
172 |         if value >= lineWidth {
173 |             rightSliderPosition = lineWidth
174 |         } else if value >= leftSliderPosition + (minValue * (lineWidth / (maxValue - minValue))) {
175 |             rightSliderPosition = value
    |             |- error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
176 |         } else {
177 |             rightSliderPosition = leftSliderPosition + (minValue * (lineWidth / (maxValue - minValue)))
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:177:13: error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
169 |     }
170 |
171 |     func updateRightSlider(value: Double) {
    |          `- note: add @available attribute to enclosing instance method
172 |         if value >= lineWidth {
173 |             rightSliderPosition = lineWidth
    :
175 |             rightSliderPosition = value
176 |         } else {
177 |             rightSliderPosition = leftSliderPosition + (minValue * (lineWidth / (maxValue - minValue)))
    |             |- error: setter for 'rightSliderPosition' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
178 |         }
179 |
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:183:13: error: setter for 'rightValue' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct RangeSlider: View {
    |               `- note: add @available attribute to enclosing struct
 12 |     let lineHeight: Double
 13 |     let lineWidth: Double
    :
169 |     }
170 |
171 |     func updateRightSlider(value: Double) {
    |          `- note: add @available attribute to enclosing instance method
172 |         if value >= lineWidth {
173 |             rightSliderPosition = lineWidth
    :
181 |
182 |         if newValue != rightValue {
183 |             rightValue = newValue
    |             |- error: setter for 'rightValue' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
184 |             generateHapticFeedback()
185 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:189:22: error: cannot find 'UIImpactFeedbackGenerator' in scope
187 |
188 |     func generateHapticFeedback() {
189 |         let impact = UIImpactFeedbackGenerator(style: .light)
    |                      `- error: cannot find 'UIImpactFeedbackGenerator' in scope
190 |         impact.impactOccurred()
191 |     }
/Users/admin/builder/spi-builder-workspace/Sources/RangeSlider/RangeSlider.swift:189:56: error: cannot infer contextual base in reference to member 'light'
187 |
188 |     func generateHapticFeedback() {
189 |         let impact = UIImpactFeedbackGenerator(style: .light)
    |                                                        `- error: cannot infer contextual base in reference to member 'light'
190 |         impact.impactOccurred()
191 |     }
BUILD FAILURE 6.2 macosSpm