The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BouncySlider, reference main (f78b86), with Swift 6.0 for macOS (SPM) on 15 Nov 2024 20:18:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mor4eza/BouncySlider.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mor4eza/BouncySlider
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f78b868 test cleanup
Cloned https://github.com/Mor4eza/BouncySlider.git
Revision (git rev-parse @):
f78b86853656ed0918495d3e193fa80d10956ef8
SUCCESS checkout https://github.com/Mor4eza/BouncySlider.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "bouncyslider",
      "name": "BouncySlider",
      "url": "https://github.com/Mor4eza/BouncySlider.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BouncySlider",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Mor4eza/BouncySlider.git
[1/71] Fetching bouncyslider
Fetched https://github.com/Mor4eza/BouncySlider.git from cache (0.86s)
Creating working copy for https://github.com/Mor4eza/BouncySlider.git
Working copy of https://github.com/Mor4eza/BouncySlider.git resolved at main (f78b868)
warning: '.resolve-product-dependencies': dependency 'bouncyslider' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Mor4eza/BouncySlider.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module BouncySlider
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 13 |     var maxValue: CGFloat = 1.0
 14 |     var minValue: CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:17:26: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 15 |     var sliderLength: CGFloat = 200
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 18 |     var fillColor: Color = .white
 19 |     var image: Content?
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:17:35: error: 'gray' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 15 |     var sliderLength: CGFloat = 200
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
    |                                   `- error: 'gray' is only available in macOS 10.15 or newer
 18 |     var fillColor: Color = .white
 19 |     var image: Content?
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:18:20: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
 18 |     var fillColor: Color = .white
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     var image: Content?
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:18:29: error: 'white' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
 18 |     var fillColor: Color = .white
    |                             `- error: 'white' is only available in macOS 10.15 or newer
 19 |     var image: Content?
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 19 |     var image: Content?
 20 |
 21 |     @State private var lastDragValue: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 22 |     @State private var bounceEffect: CGFloat = 1.0
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 20 |
 21 |     @State private var lastDragValue: CGFloat = 0
 22 |     @State private var bounceEffect: CGFloat = 1.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 23 |
 24 |     public enum Orientation {
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:24: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |           `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:176: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:202: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:219: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                                                              `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:185: error: 'gray' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                            `- error: 'gray' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:211: error: 'white' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                                                      `- error: 'white' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:39:27: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:95:28: error: 'Alignment' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 93 |
 94 |     // Determines alignment and scale anchor based on orientation and value position
 95 |     private var alignment: Alignment {
    |                 |          `- error: 'Alignment' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 96 |         orientation == .vertical ? .bottom : .leading
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:99:25: error: 'UnitPoint' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 97 |     }
 98 |
 99 |     private var anchor: UnitPoint {
    |                 |       `- error: 'UnitPoint' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
100 |         if orientation == .vertical {
101 |             return .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:11:37: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               |                     `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
[4/4] Compiling BouncySlider BouncySlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 13 |     var maxValue: CGFloat = 1.0
 14 |     var minValue: CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:17:26: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 15 |     var sliderLength: CGFloat = 200
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
    |                          `- error: 'Color' is only available in macOS 10.15 or newer
 18 |     var fillColor: Color = .white
 19 |     var image: Content?
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:17:35: error: 'gray' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 15 |     var sliderLength: CGFloat = 200
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
    |                                   `- error: 'gray' is only available in macOS 10.15 or newer
 18 |     var fillColor: Color = .white
 19 |     var image: Content?
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:18:20: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
 18 |     var fillColor: Color = .white
    |                    `- error: 'Color' is only available in macOS 10.15 or newer
 19 |     var image: Content?
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:18:29: error: 'white' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 16 |     var orientation: Orientation = .vertical
 17 |     var backgroundColor: Color = .gray
 18 |     var fillColor: Color = .white
    |                             `- error: 'white' is only available in macOS 10.15 or newer
 19 |     var image: Content?
 20 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:21:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 19 |     var image: Content?
 20 |
 21 |     @State private var lastDragValue: CGFloat = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 22 |     @State private var bounceEffect: CGFloat = 1.0
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:22:6: error: 'State' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 20 |
 21 |     @State private var lastDragValue: CGFloat = 0
 22 |     @State private var bounceEffect: CGFloat = 1.0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 23 |
 24 |     public enum Orientation {
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:24: error: 'Binding' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |           `- error: 'Binding' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:176: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:202: error: 'Color' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                                             `- error: 'Color' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:219: error: 'ViewBuilder' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                                                              `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:185: error: 'gray' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                            `- error: 'gray' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:28:211: error: 'white' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 26 |     }
 27 |
 28 |     public init(value: Binding<CGFloat>, maxValue: CGFloat = 1.0, minValue: CGFloat = 0.0, sliderLength: CGFloat = 200, orientation: Orientation = .vertical, backgroundColor: Color = .gray, fillColor: Color = .white, @ViewBuilder image: () -> Content) {
    |            |                                                                                                                                                                                                      `- error: 'white' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 29 |         self._value = value
 30 |         self.maxValue = maxValue
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:39:27: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:95:28: error: 'Alignment' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 93 |
 94 |     // Determines alignment and scale anchor based on orientation and value position
 95 |     private var alignment: Alignment {
    |                 |          `- error: 'Alignment' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 96 |         orientation == .vertical ? .bottom : .leading
 97 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:99:25: error: 'UnitPoint' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 97 |     }
 98 |
 99 |     private var anchor: UnitPoint {
    |                 |       `- error: 'UnitPoint' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
100 |         if orientation == .vertical {
101 |             return .bottom
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:11:37: error: 'View' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               |                     `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:40:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 41 |             ZStack(alignment: alignment) {
 42 |                 // Background track
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:40:24: error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
    |                        |- error: conformance of '_ChangedGesture<Content>' to 'Gesture' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 41 |             ZStack(alignment: alignment) {
 42 |                 // Background track
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:41:13: error: 'ZStack' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 42 |                 // Background track
 43 |                 Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:43:17: error: 'Rectangle' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
 42 |                 // Background track
 43 |                 Rectangle()
    |                 |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 44 |                     .foregroundColor(backgroundColor.opacity(0.3))
 45 |                     .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:44:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
 42 |                 // Background track
 43 |                 Rectangle()
 44 |                     .foregroundColor(backgroundColor.opacity(0.3))
    |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 45 |                     .cornerRadius(16)
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:44:54: error: 'opacity' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
 42 |                 // Background track
 43 |                 Rectangle()
 44 |                     .foregroundColor(backgroundColor.opacity(0.3))
    |                                                      |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
 45 |                     .cornerRadius(16)
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:45:22: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 43 |                 Rectangle()
 44 |                     .foregroundColor(backgroundColor.opacity(0.3))
 45 |                     .cornerRadius(16)
    |                      |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 46 |
 47 |                 // Filled track based on value, with scale effect for bounce
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:48:17: error: 'Rectangle' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 46 |
 47 |                 // Filled track based on value, with scale effect for bounce
 48 |                 Rectangle()
    |                 |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 49 |                     .fill(style: FillStyle(eoFill: true, antialiased: true))
 50 |                     .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:49:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 47 |                 // Filled track based on value, with scale effect for bounce
 48 |                 Rectangle()
 49 |                     .fill(style: FillStyle(eoFill: true, antialiased: true))
    |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
 50 |                     .cornerRadius(16)
 51 |                     .foregroundColor(fillColor)
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:49:34: error: 'FillStyle' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 47 |                 // Filled track based on value, with scale effect for bounce
 48 |                 Rectangle()
 49 |                     .fill(style: FillStyle(eoFill: true, antialiased: true))
    |                                  |- error: 'FillStyle' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 50 |                     .cornerRadius(16)
 51 |                     .foregroundColor(fillColor)
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:50:22: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 48 |                 Rectangle()
 49 |                     .fill(style: FillStyle(eoFill: true, antialiased: true))
 50 |                     .cornerRadius(16)
    |                      |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 51 |                     .foregroundColor(fillColor)
 52 |                     .opacity(value < 0.01 ? 0.0 : 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:51:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 49 |                     .fill(style: FillStyle(eoFill: true, antialiased: true))
 50 |                     .cornerRadius(16)
 51 |                     .foregroundColor(fillColor)
    |                      |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 52 |                     .opacity(value < 0.01 ? 0.0 : 1.0)
 53 |                     .frame(
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:52:22: error: 'opacity' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 50 |                     .cornerRadius(16)
 51 |                     .foregroundColor(fillColor)
 52 |                     .opacity(value < 0.01 ? 0.0 : 1.0)
    |                      |- error: 'opacity' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 53 |                     .frame(
 54 |                         width: orientation == .horizontal ? sliderLength * normalizedValue : 60,
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:53:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 51 |                     .foregroundColor(fillColor)
 52 |                     .opacity(value < 0.01 ? 0.0 : 1.0)
 53 |                     .frame(
    |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 54 |                         width: orientation == .horizontal ? sliderLength * normalizedValue : 60,
 55 |                         height: orientation == .vertical ? sliderLength * normalizedValue : 60
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:59:22: error: 'padding' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 57 |
 58 |                 image
 59 |                     .padding()
    |                      |- error: 'padding' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 60 |
 61 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:64:14: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 62 |             }
 63 |
 64 |             .scaleEffect(bounceEffect, anchor: anchor)
    |              |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 65 |             .animation(.spring(response: 0.3, dampingFraction: 0.4, blendDuration: 0.4), value: bounceEffect)
 66 |             .gesture(
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:65:14: error: 'animation(_:value:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 63 |
 64 |             .scaleEffect(bounceEffect, anchor: anchor)
 65 |             .animation(.spring(response: 0.3, dampingFraction: 0.4, blendDuration: 0.4), value: bounceEffect)
    |              |- error: 'animation(_:value:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 66 |             .gesture(
 67 |                 DragGesture()
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:65:25: error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 63 |
 64 |             .scaleEffect(bounceEffect, anchor: anchor)
 65 |             .animation(.spring(response: 0.3, dampingFraction: 0.4, blendDuration: 0.4), value: bounceEffect)
    |                         |- error: 'spring(response:dampingFraction:blendDuration:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 66 |             .gesture(
 67 |                 DragGesture()
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:66:14: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 64 |             .scaleEffect(bounceEffect, anchor: anchor)
 65 |             .animation(.spring(response: 0.3, dampingFraction: 0.4, blendDuration: 0.4), value: bounceEffect)
 66 |             .gesture(
    |              |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 67 |                 DragGesture()
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:67:17: error: 'DragGesture' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 65 |             .animation(.spring(response: 0.3, dampingFraction: 0.4, blendDuration: 0.4), value: bounceEffect)
 66 |             .gesture(
 67 |                 DragGesture()
    |                 |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 68 |
 69 |                     .onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:67:17: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 65 |             .animation(.spring(response: 0.3, dampingFraction: 0.4, blendDuration: 0.4), value: bounceEffect)
 66 |             .gesture(
 67 |                 DragGesture()
    |                 |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
    |                 `- note: add 'if #available' version check
 68 |
 69 |                     .onChanged { gesture in
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:69:22: error: 'onChanged' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 67 |                 DragGesture()
 68 |
 69 |                     .onChanged { gesture in
    |                      |- error: 'onChanged' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 70 |                         let dragAmount = orientation == .vertical ? -gesture.translation.height : gesture.translation.width
 71 |                         let adjustedValue = lastDragValue + dragAmount / sliderLength
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:72:25: error: setter for 'value' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 70 |                         let dragAmount = orientation == .vertical ? -gesture.translation.height : gesture.translation.width
 71 |                         let adjustedValue = lastDragValue + dragAmount / sliderLength
 72 |                         value = min(max(adjustedValue * (maxValue - minValue) + minValue, minValue), maxValue)
    |                         |- error: setter for 'value' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 73 |
 74 |                         if value == maxValue || value == minValue {
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:75:29: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 73 |
 74 |                         if value == maxValue || value == minValue {
 75 |                             withAnimation(.linear) {
    |                             |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 76 |                                 bounceEffect = 1.1 // Slightly enlarge on bounce
 77 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:75:44: error: 'linear' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 73 |
 74 |                         if value == maxValue || value == minValue {
 75 |                             withAnimation(.linear) {
    |                                            |- error: 'linear' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 76 |                                 bounceEffect = 1.1 // Slightly enlarge on bounce
 77 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:76:33: error: setter for 'bounceEffect' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 74 |                         if value == maxValue || value == minValue {
 75 |                             withAnimation(.linear) {
 76 |                                 bounceEffect = 1.1 // Slightly enlarge on bounce
    |                                 |- error: setter for 'bounceEffect' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 77 |                             }
 78 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:80:22: error: 'onEnded' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 78 |                         }
 79 |                     }
 80 |                     .onEnded { _ in
    |                      |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 81 |                         lastDragValue = (value - minValue) / (maxValue - minValue) // Normalized for next drag session
 82 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:81:25: error: setter for 'lastDragValue' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 79 |                     }
 80 |                     .onEnded { _ in
 81 |                         lastDragValue = (value - minValue) / (maxValue - minValue) // Normalized for next drag session
    |                         |- error: setter for 'lastDragValue' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 82 |
 83 |                         // Revert back to original scale after a delay
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:84:25: error: 'withAnimation' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 82 |
 83 |                         // Revert back to original scale after a delay
 84 |                         withAnimation(.easeOut) {
    |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 85 |                             bounceEffect = 1.0
 86 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:84:40: error: 'easeOut' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 82 |
 83 |                         // Revert back to original scale after a delay
 84 |                         withAnimation(.easeOut) {
    |                                        |- error: 'easeOut' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
 85 |                             bounceEffect = 1.0
 86 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:85:29: error: setter for 'bounceEffect' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 83 |                         // Revert back to original scale after a delay
 84 |                         withAnimation(.easeOut) {
 85 |                             bounceEffect = 1.0
    |                             |- error: setter for 'bounceEffect' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 86 |                         }
 87 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:90:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 37 |     }
 38 |
 39 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 40 |         GeometryReader { geometry in
 41 |             ZStack(alignment: alignment) {
    :
 88 |             )
 89 |         }
 90 |         .frame(width: orientation == .vertical ? 60 : sliderLength,
    |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 91 |                height: orientation == .horizontal ? 60 : sliderLength)
 92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:96:37: error: 'bottom' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 93 |
 94 |     // Determines alignment and scale anchor based on orientation and value position
 95 |     private var alignment: Alignment {
    |                 `- note: add @available attribute to enclosing property
 96 |         orientation == .vertical ? .bottom : .leading
    |                                     |- error: 'bottom' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
 97 |     }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/BouncySlider/BouncySlider.swift:96:47: error: 'leading' is only available in macOS 10.15 or newer
  9 | import SwiftUI
 10 |
 11 | public struct BouncySlider<Content: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 12 |     @Binding var value: CGFloat
 13 |     var maxValue: CGFloat = 1.0
    :
 93 |
 94 |     // Determines alignment and scale anchor based on orientation and value position
 95 |     private var alignment: Alignment {
    |                 `- note: add @available attribute to enclosing property
 96 |         orientation == .vertical ? .bottom : .leading
    |                                               |- error: 'leading' is only available in macOS 10.15 or newer
    |                                               `- note: add 'if #available' version check
 97 |     }
 98 |
BUILD FAILURE 6.0 macosSpm