The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SteppedSlider, reference 1.0.1 (9dec26), with Swift 6.0 for macOS (SPM) on 19 Jun 2025 16:04:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shima11/SteppedSlider.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shima11/SteppedSlider
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 9dec26d update
Cloned https://github.com/shima11/SteppedSlider.git
Revision (git rev-parse @):
9dec26de3fb86ae44db31e746d61d2da6e3383fc
SUCCESS checkout https://github.com/shima11/SteppedSlider.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/shima11/SteppedSlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module SteppedSlider
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SnapScrollBehavior.swift:38:21: error: 'ScrollTarget' is only available in macOS 14.0 or newer
12 |
13 | /// A structure that defines a snapping behavior for scroll targets, conforming to `ScrollTargetBehavior`.
14 | struct SnapScrollTargetBehavior: ScrollTargetBehavior {
   |        `- note: add @available attribute to enclosing struct
15 |   /// The step value to which the scroll target should snap.
16 |   let step: Double
   :
35 |   }
36 |
37 |   func updateTarget(
   |        `- note: add @available attribute to enclosing instance method
38 |     _ target: inout ScrollTarget,
   |                     `- error: 'ScrollTarget' is only available in macOS 14.0 or newer
39 |     context: TargetContext
40 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SnapScrollBehavior.swift:49:11: error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
47 | }
48 |
49 | extension ScrollTargetBehavior where Self == SnapScrollTargetBehavior {
   | |         `- error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
   | `- note: add @available attribute to enclosing extension
50 |   /// Creates a `SnapScrollTargetBehavior` with the specified step.
51 |   /// - Parameter step: The step value to which the scroll target should snap.
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:9:4: error: 'Binding' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    |    `- error: 'Binding' is only available in macOS 10.15 or newer
 10 |
 11 |   @State private var currentIndex: Int
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:11:4: error: 'State' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
 10 |
 11 |   @State private var currentIndex: Int
    |    `- error: 'State' is only available in macOS 10.15 or newer
 12 |   @State private var scrollIndex: Int?
 13 |   @State private var contentSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:12:4: error: 'State' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
 10 |
 11 |   @State private var currentIndex: Int
 12 |   @State private var scrollIndex: Int?
    |    `- error: 'State' is only available in macOS 10.15 or newer
 13 |   @State private var contentSize: CGSize = .zero
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:13:4: error: 'State' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 11 |   @State private var currentIndex: Int
 12 |   @State private var scrollIndex: Int?
 13 |   @State private var contentSize: CGSize = .zero
    |    `- error: 'State' is only available in macOS 10.15 or newer
 14 |
 15 |   private let itemWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:34:18: error: 'Animation' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 32 |
 33 |   let horizontalEdgeMask: HorizontalEdgeMask
 34 |   let animation: Animation?
    |                  `- error: 'Animation' is only available in macOS 10.15 or newer
 35 |
 36 |   let segmentModifier: Modifier
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:39:12: error: 'Binding' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
    |            `- error: 'Binding' is only available in macOS 10.15 or newer
 40 |     range: ClosedRange<CGFloat>,
 41 |     steps: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:45:16: error: 'Animation' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 43 |     spacing: CGFloat = 0,
 44 |     horizontalEdgeMask: HorizontalEdgeMask = .visible(width: 12),
 45 |     animation: Animation? = .default,
    |                `- error: 'Animation' is only available in macOS 10.15 or newer
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:47:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 45 |     animation: Animation? = .default,
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
 49 |     @ViewBuilder segmentOverlayView: @MainActor @escaping (Int, Int) -> SegmentOverlay,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:48:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 49 |     @ViewBuilder segmentOverlayView: @MainActor @escaping (Int, Int) -> SegmentOverlay,
 50 |     onEditing: @MainActor @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:49:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
 49 |     @ViewBuilder segmentOverlayView: @MainActor @escaping (Int, Int) -> SegmentOverlay,
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 50 |     onEditing: @MainActor @escaping () -> Void
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:45:30: error: 'default' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 43 |     spacing: CGFloat = 0,
 44 |     horizontalEdgeMask: HorizontalEdgeMask = .visible(width: 12),
 45 |     animation: Animation? = .default,
    |                              `- error: 'default' is only available in macOS 10.15 or newer
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:46:33: error: 'EmptyModifier' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 44 |     horizontalEdgeMask: HorizontalEdgeMask = .visible(width: 12),
 45 |     animation: Animation? = .default,
 46 |     segmentModifier: Modifier = EmptyModifier(),
    |                                 `- error: 'EmptyModifier' is only available in macOS 10.15 or newer
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:69:25: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              |          `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:37: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                     `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:52: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:74: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:90: error: 'ViewModifier' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                                                                          `- error: 'ViewModifier' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:147:39: error: 'View' is only available in macOS 10.15 or newer
144 | #if DEBUG
145 |
146 | struct ScrollTransitionModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
147 |   func body(content: Content) -> some View {
    |        |                              `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing instance method
148 |     content.scrollTransition { content, phase in
149 |       content
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:158:4: error: 'Previewable()' is only available in macOS 14.0 or newer
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
158 |   @Previewable @State var toggle = false
    |    |- error: 'Previewable()' is only available in macOS 14.0 or newer
    |    `- note: add 'if #available' version check
159 |
160 |   let range: ClosedRange<CGFloat> = 1...50
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:157:4: error: 'Previewable()' is only available in macOS 14.0 or newer
155 | #Preview {
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
    |    |- error: 'Previewable()' is only available in macOS 14.0 or newer
    |    `- note: add 'if #available' version check
158 |   @Previewable @State var toggle = false
159 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:157:17: error: 'State' is only available in macOS 10.15 or newer
155 | #Preview {
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
    |                 |- error: 'State' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
158 |   @Previewable @State var toggle = false
159 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:158:17: error: 'State' is only available in macOS 10.15 or newer
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
158 |   @Previewable @State var toggle = false
    |                 |- error: 'State' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
159 |
160 |   let range: ClosedRange<CGFloat> = 1...50
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:155:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
153 | }
154 |
155 | #Preview {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:3: error: 'VStack' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |   |- error: 'VStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:168:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
166 |   VStack {
167 |
168 |     SteppedSlider(
    |     |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
169 |       value: $value,
170 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:168:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
166 |   VStack {
167 |
168 |     SteppedSlider(
    |     |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
169 |       value: $value,
170 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:172:28: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
170 |       range: range,
171 |       steps: steps,
172 |       horizontalEdgeMask: .hidden,
    |                            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
173 |       animation: nil,
174 |       segmentModifier: ScrollTransitionModifier(),
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:176:9: error: 'Rectangle' is only available in macOS 10.15 or newer
174 |       segmentModifier: ScrollTransitionModifier(),
175 |       anchorView: {
176 |         Rectangle()
    |         |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:177:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
175 |       anchorView: {
176 |         Rectangle()
177 |           .frame(width: 2, height: 24)
    |            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
178 |           .foregroundColor(.red)
179 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:178:12: error: 'foregroundColor' is only available in macOS 10.15 or newer
176 |         Rectangle()
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
    |            |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
179 |           .padding(.top, 12)
180 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:178:29: error: 'red' is only available in macOS 10.15 or newer
176 |         Rectangle()
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
    |                             |- error: 'red' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
179 |           .padding(.top, 12)
180 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:179:12: error: 'padding' is only available in macOS 10.15 or newer
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
179 |           .padding(.top, 12)
    |            |- error: 'padding' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
180 |       },
181 |       segmentView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:183:9: error: 'Rectangle' is only available in macOS 10.15 or newer
181 |       segmentView: { index, maximumIndex in
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
    |         |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
184 |           .foregroundStyle(Color.primary)
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:184:12: error: 'foregroundStyle' is only available in macOS 12.0 or newer
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
    |            |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |            `- note: add 'if #available' version check
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:184:28: error: 'Color' is only available in macOS 10.15 or newer
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
    |                            |- error: 'Color' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:184:34: error: 'primary' is only available in macOS 10.15 or newer
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
    |                                  |- error: 'primary' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:185:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
    |            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
186 |           .padding(.top, 12)
187 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:186:12: error: 'padding' is only available in macOS 10.15 or newer
184 |           .foregroundStyle(Color.primary)
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
    |            |- error: 'padding' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
187 |       },
188 |       segmentOverlayView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:190:11: error: 'Text' is only available in macOS 10.15 or newer
188 |       segmentOverlayView: { index, maximumIndex in
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
    |           |- error: 'Text' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
191 |             .font(.caption2)
192 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:191:14: error: 'font' is only available in macOS 10.15 or newer
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
192 |             .fixedSize()
193 |             .offset(y: -20)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:191:20: error: 'caption2' is only available in macOS 11.0 or newer
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
    |                    |- error: 'caption2' is only available in macOS 11.0 or newer
    |                    `- note: add 'if #available' version check
192 |             .fixedSize()
193 |             .offset(y: -20)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:192:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
192 |             .fixedSize()
    |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
193 |             .offset(y: -20)
194 |             .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:193:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
191 |             .font(.caption2)
192 |             .fixedSize()
193 |             .offset(y: -20)
    |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
194 |             .padding(.top, 12)
195 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:194:14: error: 'padding' is only available in macOS 10.15 or newer
192 |             .fixedSize()
193 |             .offset(y: -20)
194 |             .padding(.top, 12)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
195 |         }
196 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:189:45: error: 'buildIf' is only available in macOS 10.15 or newer
187 |       },
188 |       segmentOverlayView: { index, maximumIndex in
189 |         if shouldBold1(index, maximumIndex) {
    |                                             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:195:9: error: 'buildIf' is only available in macOS 10.15 or newer
193 |             .offset(y: -20)
194 |             .padding(.top, 12)
195 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
196 |       },
197 |       onEditing: {}
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:188:27: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
186 |           .padding(.top, 12)
187 |       },
188 |       segmentOverlayView: { index, maximumIndex in
    |                           |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:199:6: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
197 |       onEditing: {}
198 |     )
199 |     .frame(height: 60)
    |      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
200 |     .padding()
201 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:200:6: error: 'padding' is only available in macOS 10.15 or newer
198 |     )
199 |     .frame(height: 60)
200 |     .padding()
    |      |- error: 'padding' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
201 |
202 |     Spacer(minLength: 24).fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:202:5: error: 'Spacer' is only available in macOS 10.15 or newer
200 |     .padding()
201 |
202 |     Spacer(minLength: 24).fixedSize()
    |     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
203 |
204 |     let shouldBold2: (Int, Int) -> Bool = { index, maximumIndex -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:202:27: error: 'fixedSize()' is only available in macOS 10.15 or newer
200 |     .padding()
201 |
202 |     Spacer(minLength: 24).fixedSize()
    |                           |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
203 |
204 |     let shouldBold2: (Int, Int) -> Bool = { index, maximumIndex -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:208:5: error: 'HStack' is only available in macOS 10.15 or newer
206 |     }
207 |
208 |     HStack {
    |     |- error: 'HStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
209 |       SteppedSlider(
210 |       value: $value,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:208:12: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
206 |     }
207 |
208 |     HStack {
    |            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
209 |       SteppedSlider(
210 |       value: $value,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:209:7: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
207 |
208 |     HStack {
209 |       SteppedSlider(
    |       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
210 |       value: $value,
211 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:209:7: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
207 |
208 |     HStack {
209 |       SteppedSlider(
    |       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
210 |       value: $value,
211 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:213:28: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
211 |       range: range,
212 |       steps: steps,
213 |       horizontalEdgeMask: .visible(width: 24),
    |                            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
214 |       animation: nil,
215 |       anchorView: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:216:9: error: 'Rectangle' is only available in macOS 10.15 or newer
214 |       animation: nil,
215 |       anchorView: {
216 |         Rectangle()
    |         |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
217 |           .frame(width: 2)
218 |           .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:217:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
215 |       anchorView: {
216 |         Rectangle()
217 |           .frame(width: 2)
    |            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
218 |           .foregroundColor(.red)
219 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:218:12: error: 'foregroundColor' is only available in macOS 10.15 or newer
216 |         Rectangle()
217 |           .frame(width: 2)
218 |           .foregroundColor(.red)
    |            |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
219 |       },
220 |       segmentView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:218:29: error: 'red' is only available in macOS 10.15 or newer
216 |         Rectangle()
217 |           .frame(width: 2)
218 |           .foregroundColor(.red)
    |                             |- error: 'red' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
219 |       },
220 |       segmentView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:222:9: error: 'VStack' is only available in macOS 10.15 or newer
220 |       segmentView: { index, maximumIndex in
221 |         let isBold = shouldBold2(index, maximumIndex)
222 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:223:11: error: 'Rectangle' is only available in macOS 10.15 or newer
221 |         let isBold = shouldBold2(index, maximumIndex)
222 |         VStack {
223 |           Rectangle()
    |           |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:224:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
222 |         VStack {
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
225 |           Spacer()
226 |           Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:225:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
    |           |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
226 |           Rectangle()
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:225:11: error: 'Spacer' is only available in macOS 10.15 or newer
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
    |           |- error: 'Spacer' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
226 |           Rectangle()
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:226:11: error: 'Rectangle' is only available in macOS 10.15 or newer
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
226 |           Rectangle()
    |           |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
228 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:227:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
225 |           Spacer()
226 |           Rectangle()
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
228 |         }
229 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:222:16: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
220 |       segmentView: { index, maximumIndex in
221 |         let isBold = shouldBold2(index, maximumIndex)
222 |         VStack {
    |                |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:233:11: error: 'Text' is only available in macOS 10.15 or newer
231 |         let isBold = shouldBold2(index, maximumIndex)
232 |         if isBold {
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
    |           |- error: 'Text' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
234 |             .font(.caption2)
235 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:234:14: error: 'font' is only available in macOS 10.15 or newer
232 |         if isBold {
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
235 |             .fixedSize()
236 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:234:20: error: 'caption2' is only available in macOS 11.0 or newer
232 |         if isBold {
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
    |                    |- error: 'caption2' is only available in macOS 11.0 or newer
    |                    `- note: add 'if #available' version check
235 |             .fixedSize()
236 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:235:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
235 |             .fixedSize()
    |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
236 |         }
237 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:232:19: error: 'buildIf' is only available in macOS 10.15 or newer
230 |       segmentOverlayView: { index, maximumIndex in
231 |         let isBold = shouldBold2(index, maximumIndex)
232 |         if isBold {
    |                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:236:9: error: 'buildIf' is only available in macOS 10.15 or newer
234 |             .font(.caption2)
235 |             .fixedSize()
236 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
237 |       },
238 |       onEditing: {}
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:230:27: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
228 |         }
229 |       },
230 |       segmentOverlayView: { index, maximumIndex in
    |                           |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
231 |         let isBold = shouldBold2(index, maximumIndex)
232 |         if isBold {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:240:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
238 |       onEditing: {}
239 |     )
240 |       .frame(height: 60)
    |        |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
241 |       .padding()
242 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:241:8: error: 'padding' is only available in macOS 10.15 or newer
239 |     )
240 |       .frame(height: 60)
241 |       .padding()
    |        |- error: 'padding' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
242 |
243 |       if toggle {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:244:9: error: 'Text' is only available in macOS 10.15 or newer
242 |
243 |       if toggle {
244 |         Text("Text").padding()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
245 |       }
246 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:244:22: error: 'padding' is only available in macOS 10.15 or newer
242 |
243 |       if toggle {
244 |         Text("Text").padding()
    |                      |- error: 'padding' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
245 |       }
246 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:243:17: error: 'buildIf' is only available in macOS 10.15 or newer
241 |       .padding()
242 |
243 |       if toggle {
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
244 |         Text("Text").padding()
245 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:245:7: error: 'buildIf' is only available in macOS 10.15 or newer
243 |       if toggle {
244 |         Text("Text").padding()
245 |       }
    |       |- error: 'buildIf' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
246 |     }
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:208:12: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
206 |     }
207 |
208 |     HStack {
    |            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
209 |       SteppedSlider(
210 |       value: $value,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:248:5: error: 'Spacer' is only available in macOS 10.15 or newer
246 |     }
247 |
248 |     Spacer(minLength: 24).fixedSize()
    |     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
249 |
250 |     Text(String(format: "%g", value))
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:248:27: error: 'fixedSize()' is only available in macOS 10.15 or newer
246 |     }
247 |
248 |     Spacer(minLength: 24).fixedSize()
    |                           |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
249 |
250 |     Text(String(format: "%g", value))
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:250:5: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
248 |     Spacer(minLength: 24).fixedSize()
249 |
250 |     Text(String(format: "%g", value))
    |     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
251 |
252 |     HStack {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:250:5: error: 'Text' is only available in macOS 10.15 or newer
248 |     Spacer(minLength: 24).fixedSize()
249 |
250 |     Text(String(format: "%g", value))
    |     |- error: 'Text' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
251 |
252 |     HStack {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:5: error: 'HStack' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |     |- error: 'HStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |            |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |            |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |            |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:254:7: error: 'Button' is only available in macOS 10.15 or newer
252 |     HStack {
253 |
254 |       Button(action: {
    |       |- error: 'Button' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
255 |         if range.contains(value - 1) {
256 |           value -= 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:254:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
252 |     HStack {
253 |
254 |       Button(action: {
    |       |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
255 |         if range.contains(value - 1) {
256 |           value -= 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:256:11: error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
254 |       Button(action: {
255 |         if range.contains(value - 1) {
256 |           value -= 1
    |           |- error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
257 |         }
258 |       }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:259:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
257 |         }
258 |       }, label: {
259 |         Text("-1").bold()
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
260 |       })
261 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:259:9: error: 'Text' is only available in macOS 10.15 or newer
257 |         }
258 |       }, label: {
259 |         Text("-1").bold()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
260 |       })
261 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:259:20: error: 'bold()' is only available in macOS 10.15 or newer
257 |         }
258 |       }, label: {
259 |         Text("-1").bold()
    |                    |- error: 'bold()' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
260 |       })
261 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:258:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
256 |           value -= 1
257 |         }
258 |       }, label: {
    |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
259 |         Text("-1").bold()
260 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:261:8: error: 'buttonStyle' is only available in macOS 10.15 or newer
259 |         Text("-1").bold()
260 |       })
261 |       .buttonStyle(.borderedProminent)
    |        |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
262 |       .disabled(!range.contains(value - 1))
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:261:21: error: 'borderedProminent' is only available in macOS 12.0 or newer
259 |         Text("-1").bold()
260 |       })
261 |       .buttonStyle(.borderedProminent)
    |                     |- error: 'borderedProminent' is only available in macOS 12.0 or newer
    |                     `- note: add 'if #available' version check
262 |       .disabled(!range.contains(value - 1))
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:262:8: error: 'disabled' is only available in macOS 10.15 or newer
260 |       })
261 |       .buttonStyle(.borderedProminent)
262 |       .disabled(!range.contains(value - 1))
    |        |- error: 'disabled' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
263 |
264 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:264:7: error: 'Button' is only available in macOS 10.15 or newer
262 |       .disabled(!range.contains(value - 1))
263 |
264 |       Button(action: {
    |       |- error: 'Button' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
265 |         if range.contains(value + 1) {
266 |           value += 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:264:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
262 |       .disabled(!range.contains(value - 1))
263 |
264 |       Button(action: {
    |       |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
265 |         if range.contains(value + 1) {
266 |           value += 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:266:11: error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
264 |       Button(action: {
265 |         if range.contains(value + 1) {
266 |           value += 1
    |           |- error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
267 |         }
268 |       }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:269:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
267 |         }
268 |       }, label: {
269 |         Text("+1").bold()
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
270 |       })
271 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:269:9: error: 'Text' is only available in macOS 10.15 or newer
267 |         }
268 |       }, label: {
269 |         Text("+1").bold()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
270 |       })
271 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:269:20: error: 'bold()' is only available in macOS 10.15 or newer
267 |         }
268 |       }, label: {
269 |         Text("+1").bold()
    |                    |- error: 'bold()' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
270 |       })
271 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:268:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
266 |           value += 1
267 |         }
268 |       }, label: {
    |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
269 |         Text("+1").bold()
270 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:271:8: error: 'buttonStyle' is only available in macOS 10.15 or newer
269 |         Text("+1").bold()
270 |       })
271 |       .buttonStyle(.borderedProminent)
    |        |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
272 |       .disabled(!range.contains(value + 1))
273 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:271:21: error: 'borderedProminent' is only available in macOS 12.0 or newer
269 |         Text("+1").bold()
270 |       })
271 |       .buttonStyle(.borderedProminent)
    |                     |- error: 'borderedProminent' is only available in macOS 12.0 or newer
    |                     `- note: add 'if #available' version check
272 |       .disabled(!range.contains(value + 1))
273 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:272:8: error: 'disabled' is only available in macOS 10.15 or newer
270 |       })
271 |       .buttonStyle(.borderedProminent)
272 |       .disabled(!range.contains(value + 1))
    |        |- error: 'disabled' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
273 |
274 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:274:7: error: 'Button' is only available in macOS 10.15 or newer
272 |       .disabled(!range.contains(value + 1))
273 |
274 |       Button(action: {
    |       |- error: 'Button' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
275 |         withAnimation(.bouncy) {
276 |           toggle.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:274:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
272 |       .disabled(!range.contains(value + 1))
273 |
274 |       Button(action: {
    |       |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
275 |         withAnimation(.bouncy) {
276 |           toggle.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:275:9: error: 'withAnimation' is only available in macOS 10.15 or newer
273 |
274 |       Button(action: {
275 |         withAnimation(.bouncy) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
276 |           toggle.toggle()
277 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:275:24: error: 'bouncy' is only available in macOS 10.15 or newer
273 |
274 |       Button(action: {
275 |         withAnimation(.bouncy) {
    |                        |- error: 'bouncy' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
276 |           toggle.toggle()
277 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:276:11: error: cannot pass as inout because setter for 'toggle' is only available in macOS 10.15 or newer
274 |       Button(action: {
275 |         withAnimation(.bouncy) {
276 |           toggle.toggle()
    |           |- error: cannot pass as inout because setter for 'toggle' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
277 |         }
278 |       }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:279:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
277 |         }
278 |       }, label: {
279 |         Text("Toggle").bold()
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
280 |       })
281 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:279:9: error: 'Text' is only available in macOS 10.15 or newer
277 |         }
278 |       }, label: {
279 |         Text("Toggle").bold()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
280 |       })
281 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:279:24: error: 'bold()' is only available in macOS 10.15 or newer
277 |         }
278 |       }, label: {
279 |         Text("Toggle").bold()
    |                        |- error: 'bold()' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
280 |       })
281 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:278:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
276 |           toggle.toggle()
277 |         }
278 |       }, label: {
    |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
279 |         Text("Toggle").bold()
280 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:281:8: error: 'buttonStyle' is only available in macOS 10.15 or newer
279 |         Text("Toggle").bold()
280 |       })
281 |       .buttonStyle(.borderedProminent)
    |        |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
282 |
283 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:281:21: error: 'borderedProminent' is only available in macOS 12.0 or newer
279 |         Text("Toggle").bold()
280 |       })
281 |       .buttonStyle(.borderedProminent)
    |                     |- error: 'borderedProminent' is only available in macOS 12.0 or newer
    |                     `- note: add 'if #available' version check
282 |
283 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
[4/5] Compiling SteppedSlider SteppedSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:9:4: error: 'Binding' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    |    `- error: 'Binding' is only available in macOS 10.15 or newer
 10 |
 11 |   @State private var currentIndex: Int
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:11:4: error: 'State' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
 10 |
 11 |   @State private var currentIndex: Int
    |    `- error: 'State' is only available in macOS 10.15 or newer
 12 |   @State private var scrollIndex: Int?
 13 |   @State private var contentSize: CGSize = .zero
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:12:4: error: 'State' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
 10 |
 11 |   @State private var currentIndex: Int
 12 |   @State private var scrollIndex: Int?
    |    `- error: 'State' is only available in macOS 10.15 or newer
 13 |   @State private var contentSize: CGSize = .zero
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:13:4: error: 'State' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 11 |   @State private var currentIndex: Int
 12 |   @State private var scrollIndex: Int?
 13 |   @State private var contentSize: CGSize = .zero
    |    `- error: 'State' is only available in macOS 10.15 or newer
 14 |
 15 |   private let itemWidth: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:34:18: error: 'Animation' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 32 |
 33 |   let horizontalEdgeMask: HorizontalEdgeMask
 34 |   let animation: Animation?
    |                  `- error: 'Animation' is only available in macOS 10.15 or newer
 35 |
 36 |   let segmentModifier: Modifier
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:39:12: error: 'Binding' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
    |            `- error: 'Binding' is only available in macOS 10.15 or newer
 40 |     range: ClosedRange<CGFloat>,
 41 |     steps: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:45:16: error: 'Animation' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 43 |     spacing: CGFloat = 0,
 44 |     horizontalEdgeMask: HorizontalEdgeMask = .visible(width: 12),
 45 |     animation: Animation? = .default,
    |                `- error: 'Animation' is only available in macOS 10.15 or newer
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:47:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 45 |     animation: Animation? = .default,
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
 49 |     @ViewBuilder segmentOverlayView: @MainActor @escaping (Int, Int) -> SegmentOverlay,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:48:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 49 |     @ViewBuilder segmentOverlayView: @MainActor @escaping (Int, Int) -> SegmentOverlay,
 50 |     onEditing: @MainActor @escaping () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:49:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
 49 |     @ViewBuilder segmentOverlayView: @MainActor @escaping (Int, Int) -> SegmentOverlay,
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 50 |     onEditing: @MainActor @escaping () -> Void
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:45:30: error: 'default' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 43 |     spacing: CGFloat = 0,
 44 |     horizontalEdgeMask: HorizontalEdgeMask = .visible(width: 12),
 45 |     animation: Animation? = .default,
    |                              `- error: 'default' is only available in macOS 10.15 or newer
 46 |     segmentModifier: Modifier = EmptyModifier(),
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:46:33: error: 'EmptyModifier' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 44 |     horizontalEdgeMask: HorizontalEdgeMask = .visible(width: 12),
 45 |     animation: Animation? = .default,
 46 |     segmentModifier: Modifier = EmptyModifier(),
    |                                 `- error: 'EmptyModifier' is only available in macOS 10.15 or newer
 47 |     @ViewBuilder anchorView: @MainActor @escaping () -> Anchor,
 48 |     @ViewBuilder segmentView: @MainActor @escaping (Int, Int) -> Segment,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:69:25: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              |          `- error: 'View' is only available in macOS 10.15 or newer
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:37: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                     `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:52: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                                    `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:74: error: 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                                                          `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:7:90: error: 'ViewModifier' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               |                                                                          `- error: 'ViewModifier' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:147:39: error: 'View' is only available in macOS 10.15 or newer
144 | #if DEBUG
145 |
146 | struct ScrollTransitionModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
147 |   func body(content: Content) -> some View {
    |        |                              `- error: 'View' is only available in macOS 10.15 or newer
    |        `- note: add @available attribute to enclosing instance method
148 |     content.scrollTransition { content, phase in
149 |       content
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:158:4: error: 'Previewable()' is only available in macOS 14.0 or newer
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
158 |   @Previewable @State var toggle = false
    |    |- error: 'Previewable()' is only available in macOS 14.0 or newer
    |    `- note: add 'if #available' version check
159 |
160 |   let range: ClosedRange<CGFloat> = 1...50
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:157:4: error: 'Previewable()' is only available in macOS 14.0 or newer
155 | #Preview {
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
    |    |- error: 'Previewable()' is only available in macOS 14.0 or newer
    |    `- note: add 'if #available' version check
158 |   @Previewable @State var toggle = false
159 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:157:17: error: 'State' is only available in macOS 10.15 or newer
155 | #Preview {
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
    |                 |- error: 'State' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
158 |   @Previewable @State var toggle = false
159 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:158:17: error: 'State' is only available in macOS 10.15 or newer
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
158 |   @Previewable @State var toggle = false
    |                 |- error: 'State' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
159 |
160 |   let range: ClosedRange<CGFloat> = 1...50
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:155:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
153 | }
154 |
155 | #Preview {
    |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
156 |
157 |   @Previewable @State var value: CGFloat = 5.8
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:3: error: 'VStack' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |   |- error: 'VStack' is only available in macOS 10.15 or newer
    |   `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:168:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
166 |   VStack {
167 |
168 |     SteppedSlider(
    |     |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
169 |       value: $value,
170 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:168:5: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
166 |   VStack {
167 |
168 |     SteppedSlider(
    |     |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
169 |       value: $value,
170 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:172:28: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
170 |       range: range,
171 |       steps: steps,
172 |       horizontalEdgeMask: .hidden,
    |                            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
173 |       animation: nil,
174 |       segmentModifier: ScrollTransitionModifier(),
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:176:9: error: 'Rectangle' is only available in macOS 10.15 or newer
174 |       segmentModifier: ScrollTransitionModifier(),
175 |       anchorView: {
176 |         Rectangle()
    |         |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:177:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
175 |       anchorView: {
176 |         Rectangle()
177 |           .frame(width: 2, height: 24)
    |            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
178 |           .foregroundColor(.red)
179 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:178:12: error: 'foregroundColor' is only available in macOS 10.15 or newer
176 |         Rectangle()
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
    |            |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
179 |           .padding(.top, 12)
180 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:178:29: error: 'red' is only available in macOS 10.15 or newer
176 |         Rectangle()
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
    |                             |- error: 'red' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
179 |           .padding(.top, 12)
180 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:179:12: error: 'padding' is only available in macOS 10.15 or newer
177 |           .frame(width: 2, height: 24)
178 |           .foregroundColor(.red)
179 |           .padding(.top, 12)
    |            |- error: 'padding' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
180 |       },
181 |       segmentView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:183:9: error: 'Rectangle' is only available in macOS 10.15 or newer
181 |       segmentView: { index, maximumIndex in
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
    |         |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
184 |           .foregroundStyle(Color.primary)
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:184:12: error: 'foregroundStyle' is only available in macOS 12.0 or newer
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
    |            |- error: 'foregroundStyle' is only available in macOS 12.0 or newer
    |            `- note: add 'if #available' version check
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:184:28: error: 'Color' is only available in macOS 10.15 or newer
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
    |                            |- error: 'Color' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:184:34: error: 'primary' is only available in macOS 10.15 or newer
182 |         let isBold = shouldBold1(index, maximumIndex)
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
    |                                  |- error: 'primary' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:185:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
183 |         Rectangle()
184 |           .foregroundStyle(Color.primary)
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
    |            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
186 |           .padding(.top, 12)
187 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:186:12: error: 'padding' is only available in macOS 10.15 or newer
184 |           .foregroundStyle(Color.primary)
185 |           .frame(width: isBold ? 2 : 1, height: isBold ? 24 : 12)
186 |           .padding(.top, 12)
    |            |- error: 'padding' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
187 |       },
188 |       segmentOverlayView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:190:11: error: 'Text' is only available in macOS 10.15 or newer
188 |       segmentOverlayView: { index, maximumIndex in
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
    |           |- error: 'Text' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
191 |             .font(.caption2)
192 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:191:14: error: 'font' is only available in macOS 10.15 or newer
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
192 |             .fixedSize()
193 |             .offset(y: -20)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:191:20: error: 'caption2' is only available in macOS 11.0 or newer
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
    |                    |- error: 'caption2' is only available in macOS 11.0 or newer
    |                    `- note: add 'if #available' version check
192 |             .fixedSize()
193 |             .offset(y: -20)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:192:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
192 |             .fixedSize()
    |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
193 |             .offset(y: -20)
194 |             .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:193:14: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
191 |             .font(.caption2)
192 |             .fixedSize()
193 |             .offset(y: -20)
    |              |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
194 |             .padding(.top, 12)
195 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:194:14: error: 'padding' is only available in macOS 10.15 or newer
192 |             .fixedSize()
193 |             .offset(y: -20)
194 |             .padding(.top, 12)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
195 |         }
196 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:189:45: error: 'buildIf' is only available in macOS 10.15 or newer
187 |       },
188 |       segmentOverlayView: { index, maximumIndex in
189 |         if shouldBold1(index, maximumIndex) {
    |                                             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                             `- note: add 'if #available' version check
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
191 |             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:195:9: error: 'buildIf' is only available in macOS 10.15 or newer
193 |             .offset(y: -20)
194 |             .padding(.top, 12)
195 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
196 |       },
197 |       onEditing: {}
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:188:27: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
186 |           .padding(.top, 12)
187 |       },
188 |       segmentOverlayView: { index, maximumIndex in
    |                           |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
189 |         if shouldBold1(index, maximumIndex) {
190 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:199:6: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
197 |       onEditing: {}
198 |     )
199 |     .frame(height: 60)
    |      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
200 |     .padding()
201 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:200:6: error: 'padding' is only available in macOS 10.15 or newer
198 |     )
199 |     .frame(height: 60)
200 |     .padding()
    |      |- error: 'padding' is only available in macOS 10.15 or newer
    |      `- note: add 'if #available' version check
201 |
202 |     Spacer(minLength: 24).fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:202:5: error: 'Spacer' is only available in macOS 10.15 or newer
200 |     .padding()
201 |
202 |     Spacer(minLength: 24).fixedSize()
    |     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
203 |
204 |     let shouldBold2: (Int, Int) -> Bool = { index, maximumIndex -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:202:27: error: 'fixedSize()' is only available in macOS 10.15 or newer
200 |     .padding()
201 |
202 |     Spacer(minLength: 24).fixedSize()
    |                           |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
203 |
204 |     let shouldBold2: (Int, Int) -> Bool = { index, maximumIndex -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:208:5: error: 'HStack' is only available in macOS 10.15 or newer
206 |     }
207 |
208 |     HStack {
    |     |- error: 'HStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
209 |       SteppedSlider(
210 |       value: $value,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:208:12: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
206 |     }
207 |
208 |     HStack {
    |            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
209 |       SteppedSlider(
210 |       value: $value,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:209:7: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
207 |
208 |     HStack {
209 |       SteppedSlider(
    |       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
210 |       value: $value,
211 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:209:7: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
207 |
208 |     HStack {
209 |       SteppedSlider(
    |       |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
210 |       value: $value,
211 |       range: range,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:213:28: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
211 |       range: range,
212 |       steps: steps,
213 |       horizontalEdgeMask: .visible(width: 24),
    |                            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
214 |       animation: nil,
215 |       anchorView: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:216:9: error: 'Rectangle' is only available in macOS 10.15 or newer
214 |       animation: nil,
215 |       anchorView: {
216 |         Rectangle()
    |         |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
217 |           .frame(width: 2)
218 |           .foregroundColor(.red)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:217:12: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
215 |       anchorView: {
216 |         Rectangle()
217 |           .frame(width: 2)
    |            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
218 |           .foregroundColor(.red)
219 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:218:12: error: 'foregroundColor' is only available in macOS 10.15 or newer
216 |         Rectangle()
217 |           .frame(width: 2)
218 |           .foregroundColor(.red)
    |            |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
219 |       },
220 |       segmentView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:218:29: error: 'red' is only available in macOS 10.15 or newer
216 |         Rectangle()
217 |           .frame(width: 2)
218 |           .foregroundColor(.red)
    |                             |- error: 'red' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
219 |       },
220 |       segmentView: { index, maximumIndex in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:222:9: error: 'VStack' is only available in macOS 10.15 or newer
220 |       segmentView: { index, maximumIndex in
221 |         let isBold = shouldBold2(index, maximumIndex)
222 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:223:11: error: 'Rectangle' is only available in macOS 10.15 or newer
221 |         let isBold = shouldBold2(index, maximumIndex)
222 |         VStack {
223 |           Rectangle()
    |           |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:224:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
222 |         VStack {
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
225 |           Spacer()
226 |           Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:225:11: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
    |           |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
226 |           Rectangle()
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:225:11: error: 'Spacer' is only available in macOS 10.15 or newer
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
    |           |- error: 'Spacer' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
226 |           Rectangle()
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:226:11: error: 'Rectangle' is only available in macOS 10.15 or newer
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
225 |           Spacer()
226 |           Rectangle()
    |           |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
228 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:227:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
225 |           Spacer()
226 |           Rectangle()
227 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
228 |         }
229 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:222:16: error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
220 |       segmentView: { index, maximumIndex in
221 |         let isBold = shouldBold2(index, maximumIndex)
222 |         VStack {
    |                |- error: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
223 |           Rectangle()
224 |             .frame(width: isBold ? 2 : 1, height: isBold ? 16 : 12)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:233:11: error: 'Text' is only available in macOS 10.15 or newer
231 |         let isBold = shouldBold2(index, maximumIndex)
232 |         if isBold {
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
    |           |- error: 'Text' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
234 |             .font(.caption2)
235 |             .fixedSize()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:234:14: error: 'font' is only available in macOS 10.15 or newer
232 |         if isBold {
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
235 |             .fixedSize()
236 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:234:20: error: 'caption2' is only available in macOS 11.0 or newer
232 |         if isBold {
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
    |                    |- error: 'caption2' is only available in macOS 11.0 or newer
    |                    `- note: add 'if #available' version check
235 |             .fixedSize()
236 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:235:14: error: 'fixedSize()' is only available in macOS 10.15 or newer
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
235 |             .fixedSize()
    |              |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
236 |         }
237 |       },
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:232:19: error: 'buildIf' is only available in macOS 10.15 or newer
230 |       segmentOverlayView: { index, maximumIndex in
231 |         let isBold = shouldBold2(index, maximumIndex)
232 |         if isBold {
    |                   |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
233 |           Text(String(format: "%g", CGFloat(index) * steps + range.lowerBound))
234 |             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:236:9: error: 'buildIf' is only available in macOS 10.15 or newer
234 |             .font(.caption2)
235 |             .fixedSize()
236 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
237 |       },
238 |       onEditing: {}
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:230:27: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
228 |         }
229 |       },
230 |       segmentOverlayView: { index, maximumIndex in
    |                           |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
231 |         let isBold = shouldBold2(index, maximumIndex)
232 |         if isBold {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:240:8: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
238 |       onEditing: {}
239 |     )
240 |       .frame(height: 60)
    |        |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
241 |       .padding()
242 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:241:8: error: 'padding' is only available in macOS 10.15 or newer
239 |     )
240 |       .frame(height: 60)
241 |       .padding()
    |        |- error: 'padding' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
242 |
243 |       if toggle {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:244:9: error: 'Text' is only available in macOS 10.15 or newer
242 |
243 |       if toggle {
244 |         Text("Text").padding()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
245 |       }
246 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:244:22: error: 'padding' is only available in macOS 10.15 or newer
242 |
243 |       if toggle {
244 |         Text("Text").padding()
    |                      |- error: 'padding' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
245 |       }
246 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:243:17: error: 'buildIf' is only available in macOS 10.15 or newer
241 |       .padding()
242 |
243 |       if toggle {
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
244 |         Text("Text").padding()
245 |       }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:245:7: error: 'buildIf' is only available in macOS 10.15 or newer
243 |       if toggle {
244 |         Text("Text").padding()
245 |       }
    |       |- error: 'buildIf' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
246 |     }
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:208:12: error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
206 |     }
207 |
208 |     HStack {
    |            |- error: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
209 |       SteppedSlider(
210 |       value: $value,
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:248:5: error: 'Spacer' is only available in macOS 10.15 or newer
246 |     }
247 |
248 |     Spacer(minLength: 24).fixedSize()
    |     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
249 |
250 |     Text(String(format: "%g", value))
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:248:27: error: 'fixedSize()' is only available in macOS 10.15 or newer
246 |     }
247 |
248 |     Spacer(minLength: 24).fixedSize()
    |                           |- error: 'fixedSize()' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
249 |
250 |     Text(String(format: "%g", value))
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:250:5: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
248 |     Spacer(minLength: 24).fixedSize()
249 |
250 |     Text(String(format: "%g", value))
    |     |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
251 |
252 |     HStack {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:250:5: error: 'Text' is only available in macOS 10.15 or newer
248 |     Spacer(minLength: 24).fixedSize()
249 |
250 |     Text(String(format: "%g", value))
    |     |- error: 'Text' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
251 |
252 |     HStack {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:5: error: 'HStack' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |     |- error: 'HStack' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |            |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |            |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:252:12: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
250 |     Text(String(format: "%g", value))
251 |
252 |     HStack {
    |            |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |            `- note: add 'if #available' version check
253 |
254 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:254:7: error: 'Button' is only available in macOS 10.15 or newer
252 |     HStack {
253 |
254 |       Button(action: {
    |       |- error: 'Button' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
255 |         if range.contains(value - 1) {
256 |           value -= 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:254:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
252 |     HStack {
253 |
254 |       Button(action: {
    |       |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
255 |         if range.contains(value - 1) {
256 |           value -= 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:256:11: error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
254 |       Button(action: {
255 |         if range.contains(value - 1) {
256 |           value -= 1
    |           |- error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
257 |         }
258 |       }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:259:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
257 |         }
258 |       }, label: {
259 |         Text("-1").bold()
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
260 |       })
261 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:259:9: error: 'Text' is only available in macOS 10.15 or newer
257 |         }
258 |       }, label: {
259 |         Text("-1").bold()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
260 |       })
261 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:259:20: error: 'bold()' is only available in macOS 10.15 or newer
257 |         }
258 |       }, label: {
259 |         Text("-1").bold()
    |                    |- error: 'bold()' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
260 |       })
261 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:258:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
256 |           value -= 1
257 |         }
258 |       }, label: {
    |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
259 |         Text("-1").bold()
260 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:261:8: error: 'buttonStyle' is only available in macOS 10.15 or newer
259 |         Text("-1").bold()
260 |       })
261 |       .buttonStyle(.borderedProminent)
    |        |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
262 |       .disabled(!range.contains(value - 1))
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:261:21: error: 'borderedProminent' is only available in macOS 12.0 or newer
259 |         Text("-1").bold()
260 |       })
261 |       .buttonStyle(.borderedProminent)
    |                     |- error: 'borderedProminent' is only available in macOS 12.0 or newer
    |                     `- note: add 'if #available' version check
262 |       .disabled(!range.contains(value - 1))
263 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:262:8: error: 'disabled' is only available in macOS 10.15 or newer
260 |       })
261 |       .buttonStyle(.borderedProminent)
262 |       .disabled(!range.contains(value - 1))
    |        |- error: 'disabled' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
263 |
264 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:264:7: error: 'Button' is only available in macOS 10.15 or newer
262 |       .disabled(!range.contains(value - 1))
263 |
264 |       Button(action: {
    |       |- error: 'Button' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
265 |         if range.contains(value + 1) {
266 |           value += 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:264:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
262 |       .disabled(!range.contains(value - 1))
263 |
264 |       Button(action: {
    |       |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
265 |         if range.contains(value + 1) {
266 |           value += 1
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:266:11: error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
264 |       Button(action: {
265 |         if range.contains(value + 1) {
266 |           value += 1
    |           |- error: cannot pass as inout because setter for 'value' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
267 |         }
268 |       }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:269:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
267 |         }
268 |       }, label: {
269 |         Text("+1").bold()
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
270 |       })
271 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:269:9: error: 'Text' is only available in macOS 10.15 or newer
267 |         }
268 |       }, label: {
269 |         Text("+1").bold()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
270 |       })
271 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:269:20: error: 'bold()' is only available in macOS 10.15 or newer
267 |         }
268 |       }, label: {
269 |         Text("+1").bold()
    |                    |- error: 'bold()' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
270 |       })
271 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:268:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
266 |           value += 1
267 |         }
268 |       }, label: {
    |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
269 |         Text("+1").bold()
270 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:271:8: error: 'buttonStyle' is only available in macOS 10.15 or newer
269 |         Text("+1").bold()
270 |       })
271 |       .buttonStyle(.borderedProminent)
    |        |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
272 |       .disabled(!range.contains(value + 1))
273 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:271:21: error: 'borderedProminent' is only available in macOS 12.0 or newer
269 |         Text("+1").bold()
270 |       })
271 |       .buttonStyle(.borderedProminent)
    |                     |- error: 'borderedProminent' is only available in macOS 12.0 or newer
    |                     `- note: add 'if #available' version check
272 |       .disabled(!range.contains(value + 1))
273 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:272:8: error: 'disabled' is only available in macOS 10.15 or newer
270 |       })
271 |       .buttonStyle(.borderedProminent)
272 |       .disabled(!range.contains(value + 1))
    |        |- error: 'disabled' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
273 |
274 |       Button(action: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:274:7: error: 'Button' is only available in macOS 10.15 or newer
272 |       .disabled(!range.contains(value + 1))
273 |
274 |       Button(action: {
    |       |- error: 'Button' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
275 |         withAnimation(.bouncy) {
276 |           toggle.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:274:7: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
272 |       .disabled(!range.contains(value + 1))
273 |
274 |       Button(action: {
    |       |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
275 |         withAnimation(.bouncy) {
276 |           toggle.toggle()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:275:9: error: 'withAnimation' is only available in macOS 10.15 or newer
273 |
274 |       Button(action: {
275 |         withAnimation(.bouncy) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
276 |           toggle.toggle()
277 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:275:24: error: 'bouncy' is only available in macOS 10.15 or newer
273 |
274 |       Button(action: {
275 |         withAnimation(.bouncy) {
    |                        |- error: 'bouncy' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
276 |           toggle.toggle()
277 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:276:11: error: cannot pass as inout because setter for 'toggle' is only available in macOS 10.15 or newer
274 |       Button(action: {
275 |         withAnimation(.bouncy) {
276 |           toggle.toggle()
    |           |- error: cannot pass as inout because setter for 'toggle' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
277 |         }
278 |       }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:279:9: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
277 |         }
278 |       }, label: {
279 |         Text("Toggle").bold()
    |         |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
280 |       })
281 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:279:9: error: 'Text' is only available in macOS 10.15 or newer
277 |         }
278 |       }, label: {
279 |         Text("Toggle").bold()
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
280 |       })
281 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:279:24: error: 'bold()' is only available in macOS 10.15 or newer
277 |         }
278 |       }, label: {
279 |         Text("Toggle").bold()
    |                        |- error: 'bold()' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
280 |       })
281 |       .buttonStyle(.borderedProminent)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:278:17: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
276 |           toggle.toggle()
277 |         }
278 |       }, label: {
    |                 |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
279 |         Text("Toggle").bold()
280 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:281:8: error: 'buttonStyle' is only available in macOS 10.15 or newer
279 |         Text("Toggle").bold()
280 |       })
281 |       .buttonStyle(.borderedProminent)
    |        |- error: 'buttonStyle' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
282 |
283 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:281:21: error: 'borderedProminent' is only available in macOS 12.0 or newer
279 |         Text("Toggle").bold()
280 |       })
281 |       .buttonStyle(.borderedProminent)
    |                     |- error: 'borderedProminent' is only available in macOS 12.0 or newer
    |                     `- note: add 'if #available' version check
282 |
283 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:166:10: error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
164 |   }
165 |
166 |   VStack {
    |          |- error: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
167 |
168 |     SteppedSlider(
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:66:5: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 36 |   let segmentModifier: Modifier
 37 |
 38 |   public init(
    |          `- note: add @available attribute to enclosing initializer
 39 |     value: Binding<CGFloat>,
 40 |     range: ClosedRange<CGFloat>,
    :
 64 |
 65 |     self.maximumIndex = Int(((range.upperBound - range.lowerBound) / steps))
 66 |     self.currentIndex = .init(SteppedSlider.calculateCurrentIndex(value: value.wrappedValue, steps: steps, range: range))
    |     |- error: setter for 'currentIndex' is only available in macOS 10.15 or newer
    |     `- note: add 'if #available' version check
 67 |   }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:70:5: error: 'ScrollViewReader' is only available in macOS 11.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
    |     |- error: 'ScrollViewReader' is only available in macOS 11.0 or newer
    |     `- note: add 'if #available' version check
 71 |       ScrollView(.horizontal, showsIndicators: false) {
 72 |         LazyHStack(spacing: spacing) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:71:7: error: 'ScrollView' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    |       |- error: 'ScrollView' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 72 |         LazyHStack(spacing: spacing) {
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:71:7: error: 'init(_:showsIndicators:content:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    |       |- error: 'init(_:showsIndicators:content:)' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
 72 |         LazyHStack(spacing: spacing) {
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:72:9: error: 'LazyHStack' is only available in macOS 11.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
 72 |         LazyHStack(spacing: spacing) {
    |         |- error: 'LazyHStack' is only available in macOS 11.0 or newer
    |         `- note: add 'if #available' version check
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
 74 |             segmentView(index, maximumIndex)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:73:11: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 71 |       ScrollView(.horizontal, showsIndicators: false) {
 72 |         LazyHStack(spacing: spacing) {
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
    |           `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 74 |             segmentView(index, maximumIndex)
 75 |               .frame(width: itemWidth)
SwiftUICore.ViewBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
 3 |     public static func buildExpression<Content>(_ content: Content) -> Content where Content : View
 4 |     @available(*, unavailable, message: "this expression does not conform to 'View'")
 5 |     public static func buildExpression(_ invalid: Any) -> some View
   |                        `- note: 'buildExpression' has been explicitly marked unavailable here
 6 |
 7 |     public static func buildBlock() -> EmptyView
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:73:11: error: 'ForEach' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
 72 |         LazyHStack(spacing: spacing) {
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
    |           |- error: 'ForEach' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 74 |             segmentView(index, maximumIndex)
 75 |               .frame(width: itemWidth)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:73:11: error: 'init(_:id:content:)' is only available in macOS 12.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
 72 |         LazyHStack(spacing: spacing) {
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
    |           |- error: 'init(_:id:content:)' is only available in macOS 12.0 or newer
    |           `- note: add 'if #available' version check
 74 |             segmentView(index, maximumIndex)
 75 |               .frame(width: itemWidth)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:74:13: error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
 72 |         LazyHStack(spacing: spacing) {
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
 74 |             segmentView(index, maximumIndex)
    |             `- error: 'buildExpression' is unavailable: this expression does not conform to 'AccessibilityRotorContent'
 75 |               .frame(width: itemWidth)
 76 |               .overlay(
SwiftUI.AccessibilityRotorContentBuilder:5:24: note: 'buildExpression' has been explicitly marked unavailable here
 3 |     public static func buildExpression<Content>(_ content: Content) -> Content where Content : AccessibilityRotorContent
 4 |     @available(*, unavailable, message: "this expression does not conform to 'AccessibilityRotorContent'")
 5 |     public static func buildExpression(_ invalid: Any) -> some AccessibilityRotorContent
   |                        `- note: 'buildExpression' has been explicitly marked unavailable here
 6 |
 7 |     public static func buildBlock<Content>(_ content: Content) -> some AccessibilityRotorContent where Content : AccessibilityRotorContent
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:75:16: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 73 |           ForEach(0...maximumIndex, id: \.self) { index in
 74 |             segmentView(index, maximumIndex)
 75 |               .frame(width: itemWidth)
    |                |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 76 |               .overlay(
 77 |                 segmentOverlayView(index, maximumIndex)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:76:16: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 74 |             segmentView(index, maximumIndex)
 75 |               .frame(width: itemWidth)
 76 |               .overlay(
    |                |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 77 |                 segmentOverlayView(index, maximumIndex)
 78 |               )
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:79:16: error: 'id' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 77 |                 segmentOverlayView(index, maximumIndex)
 78 |               )
 79 |               .id(index)
    |                |- error: 'id' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 80 |               .modifier(segmentModifier)
 81 |           }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:80:16: error: 'modifier' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 78 |               )
 79 |               .id(index)
 80 |               .modifier(segmentModifier)
    |                |- error: 'modifier' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 81 |           }
 82 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:83:10: error: 'scrollTargetLayout(isEnabled:)' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 81 |           }
 82 |         }
 83 |         .scrollTargetLayout()
    |          |- error: 'scrollTargetLayout(isEnabled:)' is only available in macOS 14.0 or newer
    |          `- note: add 'if #available' version check
 84 |       }
 85 |       .contentMargins(.horizontal, contentSize.width/2 - itemWidth/2)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:85:8: error: 'contentMargins(_:_:for:)' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 83 |         .scrollTargetLayout()
 84 |       }
 85 |       .contentMargins(.horizontal, contentSize.width/2 - itemWidth/2)
    |        |- error: 'contentMargins(_:_:for:)' is only available in macOS 14.0 or newer
    |        `- note: add 'if #available' version check
 86 |       .scrollPosition(id: $scrollIndex, anchor: .center)
 87 |       .scrollTargetBehavior(.snap(step: spacing + itemWidth))
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:86:8: error: 'scrollPosition(id:anchor:)' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 84 |       }
 85 |       .contentMargins(.horizontal, contentSize.width/2 - itemWidth/2)
 86 |       .scrollPosition(id: $scrollIndex, anchor: .center)
    |        |- error: 'scrollPosition(id:anchor:)' is only available in macOS 14.0 or newer
    |        `- note: add 'if #available' version check
 87 |       .scrollTargetBehavior(.snap(step: spacing + itemWidth))
 88 |       .mask {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:87:8: error: 'scrollTargetBehavior' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 85 |       .contentMargins(.horizontal, contentSize.width/2 - itemWidth/2)
 86 |       .scrollPosition(id: $scrollIndex, anchor: .center)
 87 |       .scrollTargetBehavior(.snap(step: spacing + itemWidth))
    |        |- error: 'scrollTargetBehavior' is only available in macOS 14.0 or newer
    |        `- note: add 'if #available' version check
 88 |       .mask {
 89 |         switch horizontalEdgeMask {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:88:8: error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 86 |       .scrollPosition(id: $scrollIndex, anchor: .center)
 87 |       .scrollTargetBehavior(.snap(step: spacing + itemWidth))
 88 |       .mask {
    |        |- error: 'mask(alignment:_:)' is only available in macOS 12.0 or newer
    |        `- note: add 'if #available' version check
 89 |         switch horizontalEdgeMask {
 90 |         case .hidden:
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:91:11: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 89 |         switch horizontalEdgeMask {
 90 |         case .hidden:
 91 |           Color.black
    |           |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:91:11: error: 'Color' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 89 |         switch horizontalEdgeMask {
 90 |         case .hidden:
 91 |           Color.black
    |           |- error: 'Color' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:91:17: error: 'black' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 89 |         switch horizontalEdgeMask {
 90 |         case .hidden:
 91 |           Color.black
    |                 |- error: 'black' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:91:11: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 89 |         switch horizontalEdgeMask {
 90 |         case .hidden:
 91 |           Color.black
    |           |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:91:11: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 89 |         switch horizontalEdgeMask {
 90 |         case .hidden:
 91 |           Color.black
    |           |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:93:11: error: 'HStack' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 91 |           Color.black
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
    |           |- error: 'HStack' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:94:13: error: 'LinearGradient' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |             |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:94:38: error: 'black' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                      |- error: 'black' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:94:44: error: 'opacity' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                            |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:94:57: error: 'black' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                                         |- error: 'black' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:94:108: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                                                                                            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                                                                                                            `- note: add 'if #available' version check
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:95:13: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
    |             |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
 97 |           }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:95:13: error: 'Color' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
    |             |- error: 'Color' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
 97 |           }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:95:19: error: 'black' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 93 |           HStack(spacing: 0) {
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
    |                   |- error: 'black' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
 97 |           }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:96:13: error: 'LinearGradient' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |             |- error: 'LinearGradient' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 97 |           }
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:96:38: error: 'black' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                      |- error: 'black' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 97 |           }
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:96:46: error: 'black' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                              |- error: 'black' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
 97 |           }
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:96:52: error: 'opacity' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                                    |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                    `- note: add 'if #available' version check
 97 |           }
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:96:108: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
 96 |             LinearGradient(colors: [.black, .black.opacity(0)], startPoint: .leading, endPoint: .trailing).frame(width: width)
    |                                                                                                            |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                                                                                                            `- note: add 'if #available' version check
 97 |           }
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:93:30: error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 91 |           Color.black
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
    |                              |- error: conformance of 'Color' to 'View' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:93:11: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 91 |           Color.black
 92 |         case .visible(let width):
 93 |           HStack(spacing: 0) {
    |           |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |           `- note: add 'if #available' version check
 94 |             LinearGradient(colors: [.black.opacity(0), .black], startPoint: .leading, endPoint: .trailing).frame(width: width)
 95 |             Color.black
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:88:13: error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 86 |       .scrollPosition(id: $scrollIndex, anchor: .center)
 87 |       .scrollTargetBehavior(.snap(step: spacing + itemWidth))
 88 |       .mask {
    |             |- error: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 89 |         switch horizontalEdgeMask {
 90 |         case .hidden:
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:100:8: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
 98 |         }
 99 |       }
100 |       .overlay(
    |        |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
101 |         anchorView()
102 |       )
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:103:8: error: 'sensoryFeedback(_:trigger:)' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
101 |         anchorView()
102 |       )
103 |       .sensoryFeedback(.selection, trigger: scrollIndex)
    |        |- error: 'sensoryFeedback(_:trigger:)' is only available in macOS 14.0 or newer
    |        `- note: add 'if #available' version check
104 |       .onGeometryChange(for: CGSize.self, of: \.size, action: { value in
105 |         contentSize = value
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:104:8: error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
102 |       )
103 |       .sensoryFeedback(.selection, trigger: scrollIndex)
104 |       .onGeometryChange(for: CGSize.self, of: \.size, action: { value in
    |        |- error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
    |        `- note: add 'if #available' version check
105 |         contentSize = value
106 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:105:9: error: setter for 'contentSize' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
103 |       .sensoryFeedback(.selection, trigger: scrollIndex)
104 |       .onGeometryChange(for: CGSize.self, of: \.size, action: { value in
105 |         contentSize = value
    |         |- error: setter for 'contentSize' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
106 |       })
107 |       .onChange(of: scrollIndex ?? 0, { oldValue, newValue in
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:107:8: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
105 |         contentSize = value
106 |       })
107 |       .onChange(of: scrollIndex ?? 0, { oldValue, newValue in
    |        |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |        `- note: add 'if #available' version check
108 |         value = range.lowerBound + CGFloat(newValue) * steps
109 |         onEditing()
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:108:9: error: setter for 'value' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
106 |       })
107 |       .onChange(of: scrollIndex ?? 0, { oldValue, newValue in
108 |         value = range.lowerBound + CGFloat(newValue) * steps
    |         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
109 |         onEditing()
110 |       })
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:111:8: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
109 |         onEditing()
110 |       })
111 |       .onChange(of: value, { oldValue, newValue in
    |        |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |        `- note: add 'if #available' version check
112 |
113 |         // 履歴をタップして反映させる時, 他のスライダーに連動して反映する時
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:119:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
117 |         guard index != scrollIndex else { return }
118 |
119 |         withAnimation(animation) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
120 |           scrollProxy.scrollTo(index, anchor: .center)
121 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:123:8: error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
121 |         }
122 |       })
123 |       .onChange(of: contentSize, { _, _ in
    |        |- error: 'onChange(of:initial:_:)' is only available in macOS 14.0 or newer
    |        `- note: add 'if #available' version check
124 |         // animationがnilだと正しい位置にスクロールしない
125 |         withAnimation(animation ?? .default) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:125:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
123 |       .onChange(of: contentSize, { _, _ in
124 |         // animationがnilだと正しい位置にスクロールしない
125 |         withAnimation(animation ?? .default) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
126 |           scrollProxy.scrollTo(currentIndex, anchor: .center)
127 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:125:37: error: 'default' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
123 |       .onChange(of: contentSize, { _, _ in
124 |         // animationがnilだと正しい位置にスクロールしない
125 |         withAnimation(animation ?? .default) {
    |                                     |- error: 'default' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
126 |           scrollProxy.scrollTo(currentIndex, anchor: .center)
127 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:129:8: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
127 |         }
128 |       })
129 |       .onAppear {
    |        |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |        `- note: add 'if #available' version check
130 |         withAnimation(animation) {
131 |           scrollProxy.scrollTo(currentIndex, anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:130:9: error: 'withAnimation' is only available in macOS 10.15 or newer
  5 | import SwiftUI
  6 |
  7 | public struct SteppedSlider<Anchor: View, Segment: View, SegmentOverlay: View, Modifier: ViewModifier>: View {
    |               `- note: add @available attribute to enclosing generic struct
  8 |
  9 |   @Binding private var value: CGFloat
    :
 67 |   }
 68 |
 69 |   public var body: some View {
    |              `- note: add @available attribute to enclosing property
 70 |     ScrollViewReader { scrollProxy in
 71 |       ScrollView(.horizontal, showsIndicators: false) {
    :
128 |       })
129 |       .onAppear {
130 |         withAnimation(animation) {
    |         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
131 |           scrollProxy.scrollTo(currentIndex, anchor: .center)
132 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:148:13: error: 'scrollTransition(_:axis:transition:)' is only available in macOS 14.0 or newer
144 | #if DEBUG
145 |
146 | struct ScrollTransitionModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
147 |   func body(content: Content) -> some View {
    |        `- note: add @available attribute to enclosing instance method
148 |     content.scrollTransition { content, phase in
    |             |- error: 'scrollTransition(_:axis:transition:)' is only available in macOS 14.0 or newer
    |             `- note: add 'if #available' version check
149 |       content
150 |         .opacity(phase.isIdentity ? 1 : 0.3)
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SteppedSlider.swift:150:10: error: 'opacity' is only available in macOS 14.0 or newer
144 | #if DEBUG
145 |
146 | struct ScrollTransitionModifier: ViewModifier {
    |        `- note: add @available attribute to enclosing struct
147 |   func body(content: Content) -> some View {
    |        `- note: add @available attribute to enclosing instance method
148 |     content.scrollTransition { content, phase in
149 |       content
150 |         .opacity(phase.isIdentity ? 1 : 0.3)
    |          |- error: 'opacity' is only available in macOS 14.0 or newer
    |          `- note: add 'if #available' version check
151 |     }
152 |   }
[5/5] Compiling SteppedSlider SnapScrollBehavior.swift
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SnapScrollBehavior.swift:38:21: error: 'ScrollTarget' is only available in macOS 14.0 or newer
12 |
13 | /// A structure that defines a snapping behavior for scroll targets, conforming to `ScrollTargetBehavior`.
14 | struct SnapScrollTargetBehavior: ScrollTargetBehavior {
   |        `- note: add @available attribute to enclosing struct
15 |   /// The step value to which the scroll target should snap.
16 |   let step: Double
   :
35 |   }
36 |
37 |   func updateTarget(
   |        `- note: add @available attribute to enclosing instance method
38 |     _ target: inout ScrollTarget,
   |                     `- error: 'ScrollTarget' is only available in macOS 14.0 or newer
39 |     context: TargetContext
40 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/SteppedSlider/SnapScrollBehavior.swift:49:11: error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
47 | }
48 |
49 | extension ScrollTargetBehavior where Self == SnapScrollTargetBehavior {
   | |         `- error: 'ScrollTargetBehavior' is only available in macOS 14.0 or newer
   | `- note: add @available attribute to enclosing extension
50 |   /// Creates a `SnapScrollTargetBehavior` with the specified step.
51 |   /// - Parameter step: The step value to which the scroll target should snap.
BUILD FAILURE 6.0 macosSpm