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 BIKCharts, reference main (60e267), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 11:56:49 UTC.

Build Command

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

Build Log

   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
29 |         self.calculationType = calculationType
30 |         self.barSpacing = barSpacing
31 |         self.fillBarColor = fillBarColor
   |         |- error: setter for 'fillBarColor' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |         self.emptyBarColor = emptyBarColor
33 |         self.barCornerRadius = barCornerRadius
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:32:9: error: setter for 'emptyBarColor' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
13 |     @Published public var data: [CGFloat]
14 |     @Published public var dataDescriptions: [String?]?
   :
24 |     @Published public var direction: BarChartDirection
25 |
26 |     public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
   :
30 |         self.barSpacing = barSpacing
31 |         self.fillBarColor = fillBarColor
32 |         self.emptyBarColor = emptyBarColor
   |         |- error: setter for 'emptyBarColor' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |         self.barCornerRadius = barCornerRadius
34 |         self.showValueText = showValueText
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:33:9: error: setter for 'barCornerRadius' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
13 |     @Published public var data: [CGFloat]
14 |     @Published public var dataDescriptions: [String?]?
   :
24 |     @Published public var direction: BarChartDirection
25 |
26 |     public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
   :
31 |         self.fillBarColor = fillBarColor
32 |         self.emptyBarColor = emptyBarColor
33 |         self.barCornerRadius = barCornerRadius
   |         |- error: setter for 'barCornerRadius' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
34 |         self.showValueText = showValueText
35 |         self.showValueDescription = showValueDescription
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:34:9: error: setter for 'showValueText' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
13 |     @Published public var data: [CGFloat]
14 |     @Published public var dataDescriptions: [String?]?
   :
24 |     @Published public var direction: BarChartDirection
25 |
26 |     public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
   :
32 |         self.emptyBarColor = emptyBarColor
33 |         self.barCornerRadius = barCornerRadius
34 |         self.showValueText = showValueText
   |         |- error: setter for 'showValueText' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
35 |         self.showValueDescription = showValueDescription
36 |         self.isBadgeViewEnabled = isBadgeViewEnabled
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:35:9: error: setter for 'showValueDescription' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
13 |     @Published public var data: [CGFloat]
14 |     @Published public var dataDescriptions: [String?]?
   :
24 |     @Published public var direction: BarChartDirection
25 |
26 |     public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
   :
33 |         self.barCornerRadius = barCornerRadius
34 |         self.showValueText = showValueText
35 |         self.showValueDescription = showValueDescription
   |         |- error: setter for 'showValueDescription' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
36 |         self.isBadgeViewEnabled = isBadgeViewEnabled
37 |         self.badgeViewModel = badgeViewModel
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:36:9: error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
13 |     @Published public var data: [CGFloat]
14 |     @Published public var dataDescriptions: [String?]?
   :
24 |     @Published public var direction: BarChartDirection
25 |
26 |     public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
   :
34 |         self.showValueText = showValueText
35 |         self.showValueDescription = showValueDescription
36 |         self.isBadgeViewEnabled = isBadgeViewEnabled
   |         |- error: setter for 'isBadgeViewEnabled' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |         self.badgeViewModel = badgeViewModel
38 |         self.direction = direction
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:37:9: error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
13 |     @Published public var data: [CGFloat]
14 |     @Published public var dataDescriptions: [String?]?
   :
24 |     @Published public var direction: BarChartDirection
25 |
26 |     public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
   :
35 |         self.showValueDescription = showValueDescription
36 |         self.isBadgeViewEnabled = isBadgeViewEnabled
37 |         self.badgeViewModel = badgeViewModel
   |         |- error: setter for 'badgeViewModel' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
38 |         self.direction = direction
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/BarChart/BarChartModel.swift:38:9: error: setter for 'direction' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final public class BarChartModel: ObservableObject, Identifiable {
   |                    `- note: add @available attribute to enclosing class
13 |     @Published public var data: [CGFloat]
14 |     @Published public var dataDescriptions: [String?]?
   :
24 |     @Published public var direction: BarChartDirection
25 |
26 |     public init(data: [CGFloat], dataDescriptions: [String?]? = nil, calculationType: CalculationStyle = .maxValue, barSpacing: CGFloat = 8, fillBarColor: Color = .orange, emptyBarColor: Color = .gray, barCornerRadius: CGFloat = .zero, showValueText: Bool = false, showValueDescription: Bool = true, isBadgeViewEnabled: Bool = true, badgeViewModel: BadgeValueModel = BadgeValueModel(), direction: BarChartDirection = .horizontal) {
   |            `- note: add @available attribute to enclosing initializer
27 |         self.data = data
28 |         self.dataDescriptions = dataDescriptions
   :
36 |         self.isBadgeViewEnabled = isBadgeViewEnabled
37 |         self.badgeViewModel = badgeViewModel
38 |         self.direction = direction
   |         |- error: setter for 'direction' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
39 |     }
40 | }
[39/42] Compiling BIKCharts CircularChart.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:34: error: 'Color' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |             `- error: 'Color' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:43: error: 'orange' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |                      `- error: 'orange' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:22:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 20 |     // MARK: - Properties
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 23 |     @State private var shouldTrim = false
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
 23 |     @State private var shouldTrim = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:41: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:64: error: 'View' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:80:57: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 61 | // MARK: - Helper
 62 |
 63 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 64 |
 65 |     var sortedValues: [CGFloat] {
    :
 78 |     }
 79 |
 80 |     func getCalculatedPadding(at index: Int, for proxy: GeometryProxy) -> CGFloat {
    |          |                                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 81 |         return floor(circlePadding * CGFloat(index+1))
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:107:31: error: 'View' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:26:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 23 |     @State private var shouldTrim = false
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
    |            `- note: add @available attribute to enclosing initializer
 26 |         self.viewModel = viewModel
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 27 |     }
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'ForEach' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:36:50: error: 'linear' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
    |                                                  |- error: 'linear' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
 37 |                             shouldTrim = true
 38 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:37:29: error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
 37 |                             shouldTrim = true
    |                             |- error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 38 |                         }
 39 |                         .frame(width: proxy.width,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:39:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 37 |                             shouldTrim = true
 38 |                         }
 39 |                         .frame(width: proxy.width,
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 40 |                                height: proxy.height)
 41 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:108:67: error: 'red' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
    |                                                                   |- error: 'red' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:109:67: error: 'orange' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
    |                                                                   |- error: 'orange' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:110:67: error: 'purple' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
    |                                                                   |- error: 'purple' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
111 |                                          .init(value: 45, color: .blue)]))
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:111:67: error: 'blue' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
    |                                                                   |- error: 'blue' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
112 |     }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published public var strokeStyle: StrokeStyle
17 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:40: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |                                        `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:20:30: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   |                              `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, [ChartSliceDataModel]>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, [ChartSliceDataModel]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, CalculationStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, CalculationStyle>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, StrokeStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, StrokeStyle>'
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:12:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             |                   `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:23:9: error: setter for 'data' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
23 |         self.data = data
   |         |- error: setter for 'data' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:24:9: error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
22 |                                                  dash: [])) {
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
   |         |- error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |         self.strokeStyle = strokeStyle
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:25:9: error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
   |         |- error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
15 |     let rotationDegree: Double
16 |     let padding: CGFloat
17 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
18 |     let strokeStyle: StrokeStyle
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:18:22: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
   :
16 |     let padding: CGFloat
17 |     let color: Color
18 |     let strokeStyle: StrokeStyle
   |                      `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct CircularSliceView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
24 |         slice
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:31:21: error: 'View' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         |           `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:32:9: error: 'Circle' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
   |         |- error: 'Circle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:33:14: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   |              |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:34:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
   |              |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:36:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
   |              |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:37:14: error: 'padding' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
38 |             .animation(.easeInOut)
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:14: error: 'animation' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |              |- error: 'animation' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:25: error: 'easeInOut' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |                         |- error: 'easeInOut' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:46: error: 'Color' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                                              `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:52: error: 'red' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                                    |- error: 'red' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
[40/42] Compiling BIKCharts CircularChartModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:34: error: 'Color' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |             `- error: 'Color' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:43: error: 'orange' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |                      `- error: 'orange' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:22:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 20 |     // MARK: - Properties
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 23 |     @State private var shouldTrim = false
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
 23 |     @State private var shouldTrim = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:41: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:64: error: 'View' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:80:57: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 61 | // MARK: - Helper
 62 |
 63 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 64 |
 65 |     var sortedValues: [CGFloat] {
    :
 78 |     }
 79 |
 80 |     func getCalculatedPadding(at index: Int, for proxy: GeometryProxy) -> CGFloat {
    |          |                                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 81 |         return floor(circlePadding * CGFloat(index+1))
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:107:31: error: 'View' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:26:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 23 |     @State private var shouldTrim = false
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
    |            `- note: add @available attribute to enclosing initializer
 26 |         self.viewModel = viewModel
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 27 |     }
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'ForEach' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:36:50: error: 'linear' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
    |                                                  |- error: 'linear' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
 37 |                             shouldTrim = true
 38 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:37:29: error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
 37 |                             shouldTrim = true
    |                             |- error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 38 |                         }
 39 |                         .frame(width: proxy.width,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:39:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 37 |                             shouldTrim = true
 38 |                         }
 39 |                         .frame(width: proxy.width,
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 40 |                                height: proxy.height)
 41 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:108:67: error: 'red' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
    |                                                                   |- error: 'red' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:109:67: error: 'orange' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
    |                                                                   |- error: 'orange' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:110:67: error: 'purple' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
    |                                                                   |- error: 'purple' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
111 |                                          .init(value: 45, color: .blue)]))
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:111:67: error: 'blue' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
    |                                                                   |- error: 'blue' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
112 |     }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published public var strokeStyle: StrokeStyle
17 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:40: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |                                        `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:20:30: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   |                              `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, [ChartSliceDataModel]>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, [ChartSliceDataModel]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, CalculationStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, CalculationStyle>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, StrokeStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, StrokeStyle>'
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:12:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             |                   `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:23:9: error: setter for 'data' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
23 |         self.data = data
   |         |- error: setter for 'data' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:24:9: error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
22 |                                                  dash: [])) {
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
   |         |- error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |         self.strokeStyle = strokeStyle
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:25:9: error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
   |         |- error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
15 |     let rotationDegree: Double
16 |     let padding: CGFloat
17 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
18 |     let strokeStyle: StrokeStyle
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:18:22: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
   :
16 |     let padding: CGFloat
17 |     let color: Color
18 |     let strokeStyle: StrokeStyle
   |                      `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct CircularSliceView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
24 |         slice
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:31:21: error: 'View' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         |           `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:32:9: error: 'Circle' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
   |         |- error: 'Circle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:33:14: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   |              |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:34:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
   |              |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:36:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
   |              |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:37:14: error: 'padding' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
38 |             .animation(.easeInOut)
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:14: error: 'animation' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |              |- error: 'animation' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:25: error: 'easeInOut' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |                         |- error: 'easeInOut' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:46: error: 'Color' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                                              `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:52: error: 'red' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                                    |- error: 'red' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
[41/42] Compiling BIKCharts CircularSliceModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:34: error: 'Color' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |             `- error: 'Color' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:43: error: 'orange' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |                      `- error: 'orange' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:22:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 20 |     // MARK: - Properties
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 23 |     @State private var shouldTrim = false
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
 23 |     @State private var shouldTrim = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:41: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:64: error: 'View' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:80:57: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 61 | // MARK: - Helper
 62 |
 63 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 64 |
 65 |     var sortedValues: [CGFloat] {
    :
 78 |     }
 79 |
 80 |     func getCalculatedPadding(at index: Int, for proxy: GeometryProxy) -> CGFloat {
    |          |                                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 81 |         return floor(circlePadding * CGFloat(index+1))
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:107:31: error: 'View' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:26:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 23 |     @State private var shouldTrim = false
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
    |            `- note: add @available attribute to enclosing initializer
 26 |         self.viewModel = viewModel
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 27 |     }
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'ForEach' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:36:50: error: 'linear' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
    |                                                  |- error: 'linear' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
 37 |                             shouldTrim = true
 38 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:37:29: error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
 37 |                             shouldTrim = true
    |                             |- error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 38 |                         }
 39 |                         .frame(width: proxy.width,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:39:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 37 |                             shouldTrim = true
 38 |                         }
 39 |                         .frame(width: proxy.width,
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 40 |                                height: proxy.height)
 41 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:108:67: error: 'red' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
    |                                                                   |- error: 'red' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:109:67: error: 'orange' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
    |                                                                   |- error: 'orange' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:110:67: error: 'purple' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
    |                                                                   |- error: 'purple' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
111 |                                          .init(value: 45, color: .blue)]))
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:111:67: error: 'blue' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
    |                                                                   |- error: 'blue' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
112 |     }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published public var strokeStyle: StrokeStyle
17 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:40: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |                                        `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:20:30: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   |                              `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, [ChartSliceDataModel]>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, [ChartSliceDataModel]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, CalculationStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, CalculationStyle>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, StrokeStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, StrokeStyle>'
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:12:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             |                   `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:23:9: error: setter for 'data' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
23 |         self.data = data
   |         |- error: setter for 'data' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:24:9: error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
22 |                                                  dash: [])) {
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
   |         |- error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |         self.strokeStyle = strokeStyle
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:25:9: error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
   |         |- error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
15 |     let rotationDegree: Double
16 |     let padding: CGFloat
17 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
18 |     let strokeStyle: StrokeStyle
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:18:22: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
   :
16 |     let padding: CGFloat
17 |     let color: Color
18 |     let strokeStyle: StrokeStyle
   |                      `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct CircularSliceView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
24 |         slice
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:31:21: error: 'View' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         |           `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:32:9: error: 'Circle' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
   |         |- error: 'Circle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:33:14: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   |              |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:34:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
   |              |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:36:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
   |              |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:37:14: error: 'padding' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
38 |             .animation(.easeInOut)
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:14: error: 'animation' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |              |- error: 'animation' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:25: error: 'easeInOut' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |                         |- error: 'easeInOut' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:46: error: 'Color' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                                              `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:52: error: 'red' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                                    |- error: 'red' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
[42/42] Compiling BIKCharts CircularSliceView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:34: error: 'Color' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |             `- error: 'Color' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:17:43: error: 'orange' is only available in macOS 10.15 or newer
 12 | struct CircularChart: View {
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    |                  `- note: add @available attribute to enclosing enum
 15 |         static let circleWholeAreaRate: CGFloat = 0.5
 16 |         static let circleWholeAreaDegree: CGFloat = 180.0
 17 |         static let defaultColor: Color = .orange
    |                    |                      `- error: 'orange' is only available in macOS 10.15 or newer
    |                    `- note: add @available attribute to enclosing static property
 18 |     }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:22:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 20 |     // MARK: - Properties
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 23 |     @State private var shouldTrim = false
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:23:6: error: 'State' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 21 |
 22 |     @ObservedObject private var viewModel: CircularChartModel
 23 |     @State private var shouldTrim = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:27: error: 'View' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:41: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:50:64: error: 'View' is only available in macOS 10.15 or newer
 47 | // MARK: - Views
 48 |
 49 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 50 |     func getSlice(at index: Int, proxy: GeometryProxy) -> some View {
    |          |                                                     `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 51 |         let model = CircularSliceModel(shouldTrim: shouldTrim,
 52 |                                        trim: (from: .zero, to: shouldTrim ? getCalculatedValue(at: index) : .zero),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:80:57: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 61 | // MARK: - Helper
 62 |
 63 | private extension CircularChart {
    |         `- note: add @available attribute to enclosing extension
 64 |
 65 |     var sortedValues: [CGFloat] {
    :
 78 |     }
 79 |
 80 |     func getCalculatedPadding(at index: Int, for proxy: GeometryProxy) -> CGFloat {
    |          |                                              `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 81 |         return floor(circlePadding * CGFloat(index+1))
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:107:31: error: 'View' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:26:9: error: setter for 'viewModel' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 23 |     @State private var shouldTrim = false
 24 |
 25 |     public init(with viewModel: CircularChartModel) {
    |            `- note: add @available attribute to enclosing initializer
 26 |         self.viewModel = viewModel
    |         |- error: setter for 'viewModel' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 27 |     }
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: error: 'ZStack' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'ForEach' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:34:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:36:50: error: 'linear' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
    |                                                  |- error: 'linear' is only available in macOS 10.15 or newer
    |                                                  `- note: add 'if #available' version check
 37 |                             shouldTrim = true
 38 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:37:29: error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 35 |                     getSlice(at: index, proxy: proxy)
 36 |                         .animateOnAppear(using: .linear) {
 37 |                             shouldTrim = true
    |                             |- error: setter for 'shouldTrim' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 38 |                         }
 39 |                         .frame(width: proxy.width,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:39:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    :
 37 |                             shouldTrim = true
 38 |                         }
 39 |                         .frame(width: proxy.width,
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 40 |                                height: proxy.height)
 41 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:33:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
    |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
 35 |                     getSlice(at: index, proxy: proxy)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:32:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
    |                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                        `- note: add 'if #available' version check
 33 |             ZStack {
 34 |                 ForEach(0..<sortedValues.count, id: \.self) { index in
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:31:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 10 | import SwiftUI
 11 |
 12 | struct CircularChart: View {
    |        `- note: add @available attribute to enclosing struct
 13 |     // TODO: Convert default color to ColorSet
 14 |     private enum Const {
    :
 29 |     // MARK: - Body
 30 |
 31 |     public var body: some View {
    |                |               |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                |               `- note: add 'if #available' version check
    |                `- note: add @available attribute to enclosing property
 32 |         GeometryReader { proxy in
 33 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:108:67: error: 'red' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
    |                                                                   |- error: 'red' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:109:67: error: 'orange' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
    |                                                                   |- error: 'orange' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:110:67: error: 'purple' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
    |                                                                   |- error: 'purple' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
111 |                                          .init(value: 45, color: .blue)]))
112 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChart.swift:111:67: error: 'blue' is only available in macOS 10.15 or newer
104 | // MARK: - Preview
105 |
106 | struct CircularChart_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
107 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
108 |         CircularChart(with: .init(data: [.init(value: 25, color: .red),
109 |                                          .init(value: 35, color: .orange),
110 |                                          .init(value: 55, color: .purple),
111 |                                          .init(value: 45, color: .blue)]))
    |                                                                   |- error: 'blue' is only available in macOS 10.15 or newer
    |                                                                   `- note: add 'if #available' version check
112 |     }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:15:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
16 |     @Published public var strokeStyle: StrokeStyle
17 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:40: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |                                        `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:16:6: error: 'Published' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
15 |     @Published public var calculationStyle: CalculationStyle
16 |     @Published public var strokeStyle: StrokeStyle
   |      `- error: 'Published' is only available in macOS 10.15 or newer
17 |
18 |     public init(data: [ChartSliceDataModel],
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:20:30: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   |                              `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, [ChartSliceDataModel]>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, [ChartSliceDataModel]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, CalculationStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, CalculationStyle>'
<unknown>:0: error: cannot convert value of type 'KeyPath<CircularChartModel, StrokeStyle>' to expected argument type 'ReferenceWritableKeyPath<CircularChartModel, StrokeStyle>'
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:12:33: error: 'ObservableObject' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             |                   `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:23:9: error: setter for 'data' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
21 |                                                  lineCap: .round,
22 |                                                  dash: [])) {
23 |         self.data = data
   |         |- error: setter for 'data' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:24:9: error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
22 |                                                  dash: [])) {
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
   |         |- error: setter for 'calculationStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |         self.strokeStyle = strokeStyle
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularChartModel.swift:25:9: error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | final class CircularChartModel: ObservableObject, Identifiable {
   |             `- note: add @available attribute to enclosing class
13 |
14 |     @Published public var data: [ChartSliceDataModel]
   :
16 |     @Published public var strokeStyle: StrokeStyle
17 |
18 |     public init(data: [ChartSliceDataModel],
   |            `- note: add @available attribute to enclosing initializer
19 |                 calculationStyle: CalculationStyle = .maxValue,
20 |                 strokeStyle: StrokeStyle = .init(lineWidth: 16,
   :
23 |         self.data = data
24 |         self.calculationStyle = calculationStyle
25 |         self.strokeStyle = strokeStyle
   |         |- error: setter for 'strokeStyle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:17:16: error: 'Color' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
15 |     let rotationDegree: Double
16 |     let padding: CGFloat
17 |     let color: Color
   |                `- error: 'Color' is only available in macOS 10.15 or newer
18 |     let strokeStyle: StrokeStyle
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceModel.swift:18:22: error: 'StrokeStyle' is only available in macOS 10.15 or newer
10 | import SwiftUI
11 |
12 | struct CircularSliceModel {
   |        `- note: add @available attribute to enclosing struct
13 |     let shouldTrim: Bool
14 |     let trim: (from: CGFloat, to: CGFloat)
   :
16 |     let padding: CGFloat
17 |     let color: Color
18 |     let strokeStyle: StrokeStyle
   |                      `- error: 'StrokeStyle' is only available in macOS 10.15 or newer
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:23:20: error: 'View' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | struct CircularSliceView: View {
   |        `- note: add @available attribute to enclosing struct
12 |
13 |     // MARK: - Properties
   :
21 |     // MARK: - Body
22 |
23 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
24 |         slice
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:31:21: error: 'View' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         |           `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:32:9: error: 'Circle' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
   |         |- error: 'Circle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:33:14: error: 'trim(from:to:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   |              |- error: 'trim(from:to:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:34:14: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
   |              |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:36:14: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
34 |             .stroke(viewModel.color,
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
   |              |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:37:14: error: 'padding' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
35 |                     style: viewModel.strokeStyle)
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
38 |             .animation(.easeInOut)
39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:14: error: 'animation' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |              |- error: 'animation' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:38:25: error: 'easeInOut' is only available in macOS 10.15 or newer
28 | // MARK: - Views
29 |
30 | private extension CircularSliceView {
   |         `- note: add @available attribute to enclosing extension
31 |     var slice: some View {
   |         `- note: add @available attribute to enclosing property
32 |         Circle()
33 |             .trim(from: viewModel.trim.from, to: viewModel.trim.to)
   :
36 |             .rotationEffect(.degrees(viewModel.rotationDegree))
37 |             .padding(viewModel.padding)
38 |             .animation(.easeInOut)
   |                         |- error: 'easeInOut' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
39 |     }
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:46: error: 'Color' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                                              `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/CircularChart/CircularSpringPiece/CircularSliceView.swift:50:52: error: 'red' is only available in macOS 10.15 or newer
42 | // MARK: - Preview
43 |
44 | struct CircularSpringPieceView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                `- note: add @available attribute to enclosing static property
46 |         CircularSliceView(with: .init(shouldTrim: true,
47 |                                       trim: (0, 0.4),
48 |                                       rotationDegree: 180,
49 |                                       padding: 30,
50 |                                       color: Color.red,
   |                                                    |- error: 'red' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
51 |                                       strokeStyle: .init()))
52 |     }
BUILD FAILURE 6.1 macosSpm