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.0 for macOS (SPM) on 28 Nov 2024 02:13:05 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
56 |             .padding()
57 |             .cornerRadius(16)
58 |             .overlay(
   |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:59:17: error: 'Capsule' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
57 |             .cornerRadius(16)
58 |             .overlay(
59 |                 Capsule(style: .circular)
   |                 |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:22: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                      |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:29: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:35: error: 'orange' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                   |- error: 'orange' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:50: error: 'StrokeStyle' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                                  |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BarChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 16) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct BarChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         BarChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Bar Charts", displayMode: .inline)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CircularChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct CircularChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         CircularChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Circular Charts", displayMode: .inline)
[41/43] Compiling BIKCharts SampleChartApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:16:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
14 |                                                                                               lineJoin: .bevel,
15 |                                                                                               dash: [20]),
16 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
17 |     let sampleModel2 = PieChartModel(data: mockPieModels,
18 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:35:24: warning: static property 'mockPieModels' is not concurrency-safe because non-'Sendable' type '[PieChartData]' may have shared mutable state; this is an error in the Swift 6 language mode
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        |- warning: static property 'mockPieModels' is not concurrency-safe because non-'Sendable' type '[PieChartData]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'mockPieModels' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:25:15: note: consider making struct 'PieChartData' conform to the 'Sendable' protocol
23 | }
24 |
25 | public struct PieChartData {
   |               `- note: consider making struct 'PieChartData' conform to the 'Sendable' protocol
26 |     let slice: ChartSliceDataModel
27 |     let titleConfiguration: TitleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:22:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
20 |                                                                                               lineJoin: .bevel,
21 |                                                                                               dash: [20]),
22 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
23 |     let sampleModel3 = PieChartModel(data: mockPieModels,
24 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:28:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
26 |                                                                                               lineJoin: .bevel,
27 |                                                                                               dash: [20]),
28 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
29 |     let sampleModel4 = PieChartModel(data: mockPieModels,
30 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:34:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
32 |                                                                                               lineJoin: .bevel,
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
36 |                                                               titleConfiguration: .init(title: "C",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:35:95: error: 'red' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        |                                                                      `- error: 'red' is only available in macOS 10.15 or newer
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:37:107: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   |                                                                                                           `- error: 'black' is only available in macOS 10.15 or newer
38 |                                                                                         font: .headline)),
39 |                                                         .init(slice: .init(value: 75, color: .green),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:38:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
38 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
39 |                                                         .init(slice: .init(value: 75, color: .green),
40 |                                                               titleConfiguration: .init(title: "C++",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:39:95: error: 'green' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
38 |                                                                                         font: .headline)),
39 |                                                         .init(slice: .init(value: 75, color: .green),
   |                                                                                               `- error: 'green' is only available in macOS 10.15 or newer
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:41:107: error: 'yellow' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
39 |                                                         .init(slice: .init(value: 75, color: .green),
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
   |                                                                                                           `- error: 'yellow' is only available in macOS 10.15 or newer
42 |                                                                                         font: .headline)),
43 |                                                         .init(slice: .init(value: 55, color: .gray),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:42:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
42 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
43 |                                                         .init(slice: .init(value: 55, color: .gray),
44 |                                                               titleConfiguration: .init(title: "Java",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:43:95: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
41 |                                                                                         foregroundColor: .yellow,
42 |                                                                                         font: .headline)),
43 |                                                         .init(slice: .init(value: 55, color: .gray),
   |                                                                                               `- error: 'gray' is only available in macOS 10.15 or newer
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:45:107: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
43 |                                                         .init(slice: .init(value: 55, color: .gray),
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
   |                                                                                                           `- error: 'blue' is only available in macOS 10.15 or newer
46 |                                                                                         font: .headline)),
47 |                                                         .init(slice: .init(value: 124, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:46:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
46 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
47 |                                                         .init(slice: .init(value: 124, color: .orange),
48 |                                                               titleConfiguration: .init(title: "Kotlin",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:47:96: error: 'orange' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
45 |                                                                                         foregroundColor: .blue,
46 |                                                                                         font: .headline)),
47 |                                                         .init(slice: .init(value: 124, color: .orange),
   |                                                                                                `- error: 'orange' is only available in macOS 10.15 or newer
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:49:107: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
47 |                                                         .init(slice: .init(value: 124, color: .orange),
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
   |                                                                                                           `- error: 'gray' is only available in macOS 10.15 or newer
50 |                                                                                         font: .headline)),
51 |                                                         .init(slice: .init(value: 172, color: .blue),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:50:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
50 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
51 |                                                         .init(slice: .init(value: 172, color: .blue),
52 |                                                               titleConfiguration: .init(title: "Swift",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:51:96: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
49 |                                                                                         foregroundColor: .gray,
50 |                                                                                         font: .headline)),
51 |                                                         .init(slice: .init(value: 172, color: .blue),
   |                                                                                                `- error: 'blue' is only available in macOS 10.15 or newer
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:53:107: error: 'orange' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
51 |                                                         .init(slice: .init(value: 172, color: .blue),
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
   |                                                                                                           `- error: 'orange' is only available in macOS 10.15 or newer
54 |                                                                                  font: .headline))]
55 |     var allMockModels: [PieChartModel] {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:54:89: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
54 |                                                                                  font: .headline))]
   |                                                                                         `- error: 'headline' is only available in macOS 10.15 or newer
55 |     var allMockModels: [PieChartModel] {
56 |         return [sampleModel1, sampleModel2, sampleModel3, sampleModel4]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:30:30: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         |                    `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
32 |             getButton(with: "Bar Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:35:31: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         |                     `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
37 |             getButton(with: "Line Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:40:35: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         |                         `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
42 |             getButton(with: "Circular Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:45:30: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         |                    `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
47 |             getButton(with: "Pie Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:51:48: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:65:31: error: 'View' is only available in macOS 10.15 or newer
62 | }
63 |
64 | struct SampleChartApp_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
65 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
66 |         SampleChartApp()
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:12:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:13:13: error: 'NavigationView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
   |             |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
14 |                 VStack(alignment: .center, spacing: 24) {
15 |                     barChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:14:17: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
   |                 |- error: 'VStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
15 |                     barChartButton
16 |                     lineChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:14:36: error: 'center' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
   |                                    |- error: 'center' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
15 |                     barChartButton
16 |                     lineChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:20:18: error: 'navigationBarTitle(_:displayMode:)' is unavailable in macOS
18 |                     pieChartButton
19 |                 }
20 |                 .navigationBarTitle("Charts", displayMode: .large)
   |                  `- error: 'navigationBarTitle(_:displayMode:)' is unavailable in macOS
21 |             }
22 |         }
SwiftUI.View:43:29: note: 'navigationBarTitle(_:displayMode:)' has been explicitly marked unavailable here
41 |     @available(watchOS, unavailable)
42 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)")
43 |     nonisolated public func navigationBarTitle(_ titleKey: LocalizedStringKey, displayMode: NavigationBarItem.TitleDisplayMode) -> some View
   |                             `- note: 'navigationBarTitle(_:displayMode:)' has been explicitly marked unavailable here
44 |
45 |     @available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:20:37: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
   :
18 |                     pieChartButton
19 |                 }
20 |                 .navigationBarTitle("Charts", displayMode: .large)
   |                                     |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
21 |             }
22 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:31:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |             getButton(with: "Bar Chart Samples")
33 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:31:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |             getButton(with: "Bar Chart Samples")
33 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:36:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             getButton(with: "Line Chart Samples")
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:36:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             getButton(with: "Line Chart Samples")
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:41:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |             getButton(with: "Circular Chart Samples")
43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:41:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |             getButton(with: "Circular Chart Samples")
43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:46:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             getButton(with: "Pie Chart Samples")
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:46:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             getButton(with: "Pie Chart Samples")
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:52:9: error: 'Text' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:53:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |             .fontWeight(.bold)
55 |             .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:53:31: error: 'orange' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   |                               |- error: 'orange' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
54 |             .fontWeight(.bold)
55 |             .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:54:14: error: 'fontWeight' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
55 |             .font(.title)
56 |             .padding()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:55:14: error: 'font' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
56 |             .padding()
57 |             .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:55:20: error: 'title' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
   |                    |- error: 'title' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
56 |             .padding()
57 |             .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:56:14: error: 'padding' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
56 |             .padding()
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
57 |             .cornerRadius(16)
58 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:57:14: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
55 |             .font(.title)
56 |             .padding()
57 |             .cornerRadius(16)
   |              |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
58 |             .overlay(
59 |                 Capsule(style: .circular)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:58:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
56 |             .padding()
57 |             .cornerRadius(16)
58 |             .overlay(
   |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:59:17: error: 'Capsule' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
57 |             .cornerRadius(16)
58 |             .overlay(
59 |                 Capsule(style: .circular)
   |                 |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:22: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                      |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:29: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:35: error: 'orange' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                   |- error: 'orange' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:50: error: 'StrokeStyle' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                                  |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BarChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 16) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct BarChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         BarChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Bar Charts", displayMode: .inline)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CircularChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct CircularChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         CircularChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Circular Charts", displayMode: .inline)
[42/43] Compiling BIKCharts BarChartSamples.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:16:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
14 |                                                                                               lineJoin: .bevel,
15 |                                                                                               dash: [20]),
16 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
17 |     let sampleModel2 = PieChartModel(data: mockPieModels,
18 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:35:24: warning: static property 'mockPieModels' is not concurrency-safe because non-'Sendable' type '[PieChartData]' may have shared mutable state; this is an error in the Swift 6 language mode
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        |- warning: static property 'mockPieModels' is not concurrency-safe because non-'Sendable' type '[PieChartData]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'mockPieModels' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:25:15: note: consider making struct 'PieChartData' conform to the 'Sendable' protocol
23 | }
24 |
25 | public struct PieChartData {
   |               `- note: consider making struct 'PieChartData' conform to the 'Sendable' protocol
26 |     let slice: ChartSliceDataModel
27 |     let titleConfiguration: TitleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:22:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
20 |                                                                                               lineJoin: .bevel,
21 |                                                                                               dash: [20]),
22 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
23 |     let sampleModel3 = PieChartModel(data: mockPieModels,
24 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:28:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
26 |                                                                                               lineJoin: .bevel,
27 |                                                                                               dash: [20]),
28 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
29 |     let sampleModel4 = PieChartModel(data: mockPieModels,
30 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:34:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
32 |                                                                                               lineJoin: .bevel,
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
36 |                                                               titleConfiguration: .init(title: "C",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:35:95: error: 'red' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        |                                                                      `- error: 'red' is only available in macOS 10.15 or newer
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:37:107: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   |                                                                                                           `- error: 'black' is only available in macOS 10.15 or newer
38 |                                                                                         font: .headline)),
39 |                                                         .init(slice: .init(value: 75, color: .green),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:38:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
38 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
39 |                                                         .init(slice: .init(value: 75, color: .green),
40 |                                                               titleConfiguration: .init(title: "C++",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:39:95: error: 'green' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
38 |                                                                                         font: .headline)),
39 |                                                         .init(slice: .init(value: 75, color: .green),
   |                                                                                               `- error: 'green' is only available in macOS 10.15 or newer
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:41:107: error: 'yellow' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
39 |                                                         .init(slice: .init(value: 75, color: .green),
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
   |                                                                                                           `- error: 'yellow' is only available in macOS 10.15 or newer
42 |                                                                                         font: .headline)),
43 |                                                         .init(slice: .init(value: 55, color: .gray),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:42:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
42 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
43 |                                                         .init(slice: .init(value: 55, color: .gray),
44 |                                                               titleConfiguration: .init(title: "Java",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:43:95: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
41 |                                                                                         foregroundColor: .yellow,
42 |                                                                                         font: .headline)),
43 |                                                         .init(slice: .init(value: 55, color: .gray),
   |                                                                                               `- error: 'gray' is only available in macOS 10.15 or newer
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:45:107: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
43 |                                                         .init(slice: .init(value: 55, color: .gray),
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
   |                                                                                                           `- error: 'blue' is only available in macOS 10.15 or newer
46 |                                                                                         font: .headline)),
47 |                                                         .init(slice: .init(value: 124, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:46:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
46 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
47 |                                                         .init(slice: .init(value: 124, color: .orange),
48 |                                                               titleConfiguration: .init(title: "Kotlin",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:47:96: error: 'orange' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
45 |                                                                                         foregroundColor: .blue,
46 |                                                                                         font: .headline)),
47 |                                                         .init(slice: .init(value: 124, color: .orange),
   |                                                                                                `- error: 'orange' is only available in macOS 10.15 or newer
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:49:107: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
47 |                                                         .init(slice: .init(value: 124, color: .orange),
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
   |                                                                                                           `- error: 'gray' is only available in macOS 10.15 or newer
50 |                                                                                         font: .headline)),
51 |                                                         .init(slice: .init(value: 172, color: .blue),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:50:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
50 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
51 |                                                         .init(slice: .init(value: 172, color: .blue),
52 |                                                               titleConfiguration: .init(title: "Swift",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:51:96: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
49 |                                                                                         foregroundColor: .gray,
50 |                                                                                         font: .headline)),
51 |                                                         .init(slice: .init(value: 172, color: .blue),
   |                                                                                                `- error: 'blue' is only available in macOS 10.15 or newer
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:53:107: error: 'orange' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
51 |                                                         .init(slice: .init(value: 172, color: .blue),
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
   |                                                                                                           `- error: 'orange' is only available in macOS 10.15 or newer
54 |                                                                                  font: .headline))]
55 |     var allMockModels: [PieChartModel] {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:54:89: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
54 |                                                                                  font: .headline))]
   |                                                                                         `- error: 'headline' is only available in macOS 10.15 or newer
55 |     var allMockModels: [PieChartModel] {
56 |         return [sampleModel1, sampleModel2, sampleModel3, sampleModel4]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:30:30: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         |                    `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
32 |             getButton(with: "Bar Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:35:31: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         |                     `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
37 |             getButton(with: "Line Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:40:35: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         |                         `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
42 |             getButton(with: "Circular Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:45:30: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         |                    `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
47 |             getButton(with: "Pie Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:51:48: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:65:31: error: 'View' is only available in macOS 10.15 or newer
62 | }
63 |
64 | struct SampleChartApp_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
65 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
66 |         SampleChartApp()
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:12:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:13:13: error: 'NavigationView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
   |             |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
14 |                 VStack(alignment: .center, spacing: 24) {
15 |                     barChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:14:17: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
   |                 |- error: 'VStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
15 |                     barChartButton
16 |                     lineChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:14:36: error: 'center' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
   |                                    |- error: 'center' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
15 |                     barChartButton
16 |                     lineChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:20:18: error: 'navigationBarTitle(_:displayMode:)' is unavailable in macOS
18 |                     pieChartButton
19 |                 }
20 |                 .navigationBarTitle("Charts", displayMode: .large)
   |                  `- error: 'navigationBarTitle(_:displayMode:)' is unavailable in macOS
21 |             }
22 |         }
SwiftUI.View:43:29: note: 'navigationBarTitle(_:displayMode:)' has been explicitly marked unavailable here
41 |     @available(watchOS, unavailable)
42 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)")
43 |     nonisolated public func navigationBarTitle(_ titleKey: LocalizedStringKey, displayMode: NavigationBarItem.TitleDisplayMode) -> some View
   |                             `- note: 'navigationBarTitle(_:displayMode:)' has been explicitly marked unavailable here
44 |
45 |     @available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:20:37: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
   :
18 |                     pieChartButton
19 |                 }
20 |                 .navigationBarTitle("Charts", displayMode: .large)
   |                                     |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
21 |             }
22 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:31:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |             getButton(with: "Bar Chart Samples")
33 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:31:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |             getButton(with: "Bar Chart Samples")
33 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:36:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             getButton(with: "Line Chart Samples")
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:36:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             getButton(with: "Line Chart Samples")
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:41:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |             getButton(with: "Circular Chart Samples")
43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:41:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |             getButton(with: "Circular Chart Samples")
43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:46:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             getButton(with: "Pie Chart Samples")
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:46:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             getButton(with: "Pie Chart Samples")
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:52:9: error: 'Text' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:53:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |             .fontWeight(.bold)
55 |             .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:53:31: error: 'orange' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   |                               |- error: 'orange' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
54 |             .fontWeight(.bold)
55 |             .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:54:14: error: 'fontWeight' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
55 |             .font(.title)
56 |             .padding()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:55:14: error: 'font' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
56 |             .padding()
57 |             .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:55:20: error: 'title' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
   |                    |- error: 'title' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
56 |             .padding()
57 |             .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:56:14: error: 'padding' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
56 |             .padding()
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
57 |             .cornerRadius(16)
58 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:57:14: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
55 |             .font(.title)
56 |             .padding()
57 |             .cornerRadius(16)
   |              |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
58 |             .overlay(
59 |                 Capsule(style: .circular)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:58:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
56 |             .padding()
57 |             .cornerRadius(16)
58 |             .overlay(
   |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:59:17: error: 'Capsule' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
57 |             .cornerRadius(16)
58 |             .overlay(
59 |                 Capsule(style: .circular)
   |                 |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:22: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                      |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:29: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:35: error: 'orange' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                   |- error: 'orange' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:50: error: 'StrokeStyle' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                                  |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BarChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 16) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct BarChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         BarChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Bar Charts", displayMode: .inline)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CircularChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct CircularChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         CircularChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Circular Charts", displayMode: .inline)
[43/43] Compiling BIKCharts CircularChartSamples.swift
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:16:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
14 |                                                                                               lineJoin: .bevel,
15 |                                                                                               dash: [20]),
16 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
17 |     let sampleModel2 = PieChartModel(data: mockPieModels,
18 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:35:24: warning: static property 'mockPieModels' is not concurrency-safe because non-'Sendable' type '[PieChartData]' may have shared mutable state; this is an error in the Swift 6 language mode
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        |- warning: static property 'mockPieModels' is not concurrency-safe because non-'Sendable' type '[PieChartData]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: annotate 'mockPieModels' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/PieChart/PieChartModel.swift:25:15: note: consider making struct 'PieChartData' conform to the 'Sendable' protocol
23 | }
24 |
25 | public struct PieChartData {
   |               `- note: consider making struct 'PieChartData' conform to the 'Sendable' protocol
26 |     let slice: ChartSliceDataModel
27 |     let titleConfiguration: TitleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:22:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
20 |                                                                                               lineJoin: .bevel,
21 |                                                                                               dash: [20]),
22 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
23 |     let sampleModel3 = PieChartModel(data: mockPieModels,
24 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:28:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
26 |                                                                                               lineJoin: .bevel,
27 |                                                                                               dash: [20]),
28 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
29 |     let sampleModel4 = PieChartModel(data: mockPieModels,
30 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:34:84: error: 'pink' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
32 |                                                                                               lineJoin: .bevel,
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
   |                                                                                    `- error: 'pink' is only available in macOS 10.15 or newer
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
36 |                                                               titleConfiguration: .init(title: "C",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:35:95: error: 'red' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        |                                                                      `- error: 'red' is only available in macOS 10.15 or newer
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:37:107: error: 'black' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   |                                                                                                           `- error: 'black' is only available in macOS 10.15 or newer
38 |                                                                                         font: .headline)),
39 |                                                         .init(slice: .init(value: 75, color: .green),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:38:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
38 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
39 |                                                         .init(slice: .init(value: 75, color: .green),
40 |                                                               titleConfiguration: .init(title: "C++",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:39:95: error: 'green' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
38 |                                                                                         font: .headline)),
39 |                                                         .init(slice: .init(value: 75, color: .green),
   |                                                                                               `- error: 'green' is only available in macOS 10.15 or newer
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:41:107: error: 'yellow' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
39 |                                                         .init(slice: .init(value: 75, color: .green),
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
   |                                                                                                           `- error: 'yellow' is only available in macOS 10.15 or newer
42 |                                                                                         font: .headline)),
43 |                                                         .init(slice: .init(value: 55, color: .gray),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:42:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
40 |                                                               titleConfiguration: .init(title: "C++",
41 |                                                                                         foregroundColor: .yellow,
42 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
43 |                                                         .init(slice: .init(value: 55, color: .gray),
44 |                                                               titleConfiguration: .init(title: "Java",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:43:95: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
41 |                                                                                         foregroundColor: .yellow,
42 |                                                                                         font: .headline)),
43 |                                                         .init(slice: .init(value: 55, color: .gray),
   |                                                                                               `- error: 'gray' is only available in macOS 10.15 or newer
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:45:107: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
43 |                                                         .init(slice: .init(value: 55, color: .gray),
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
   |                                                                                                           `- error: 'blue' is only available in macOS 10.15 or newer
46 |                                                                                         font: .headline)),
47 |                                                         .init(slice: .init(value: 124, color: .orange),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:46:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
44 |                                                               titleConfiguration: .init(title: "Java",
45 |                                                                                         foregroundColor: .blue,
46 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
47 |                                                         .init(slice: .init(value: 124, color: .orange),
48 |                                                               titleConfiguration: .init(title: "Kotlin",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:47:96: error: 'orange' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
45 |                                                                                         foregroundColor: .blue,
46 |                                                                                         font: .headline)),
47 |                                                         .init(slice: .init(value: 124, color: .orange),
   |                                                                                                `- error: 'orange' is only available in macOS 10.15 or newer
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:49:107: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
47 |                                                         .init(slice: .init(value: 124, color: .orange),
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
   |                                                                                                           `- error: 'gray' is only available in macOS 10.15 or newer
50 |                                                                                         font: .headline)),
51 |                                                         .init(slice: .init(value: 172, color: .blue),
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:50:96: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
48 |                                                               titleConfiguration: .init(title: "Kotlin",
49 |                                                                                         foregroundColor: .gray,
50 |                                                                                         font: .headline)),
   |                                                                                                `- error: 'headline' is only available in macOS 10.15 or newer
51 |                                                         .init(slice: .init(value: 172, color: .blue),
52 |                                                               titleConfiguration: .init(title: "Swift",
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:51:96: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
49 |                                                                                         foregroundColor: .gray,
50 |                                                                                         font: .headline)),
51 |                                                         .init(slice: .init(value: 172, color: .blue),
   |                                                                                                `- error: 'blue' is only available in macOS 10.15 or newer
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:53:107: error: 'orange' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
51 |                                                         .init(slice: .init(value: 172, color: .blue),
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
   |                                                                                                           `- error: 'orange' is only available in macOS 10.15 or newer
54 |                                                                                  font: .headline))]
55 |     var allMockModels: [PieChartModel] {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/MockData/PieMockData.swift:54:89: error: 'headline' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct PieMockData {
   |        `- note: add @available attribute to enclosing struct
11 |     let sampleModel1 = PieChartModel(data: mockPieModels,
12 |                                      borderStyle: .init(circumferenceBorderStrokeStyle: .init(lineWidth: 3,
   :
33 |                                                                                               dash: [20]),
34 |                                                         circumferenceBorderColor: .pink))
35 |     private static let mockPieModels: [PieChartData] = [.init(slice: .init(value: 35, color: .red),
   |                        `- note: add @available attribute to enclosing static property
36 |                                                               titleConfiguration: .init(title: "C",
37 |                                                                                         foregroundColor: .black,
   :
52 |                                                               titleConfiguration: .init(title: "Swift",
53 |                                                                                         foregroundColor: .orange,
54 |                                                                                  font: .headline))]
   |                                                                                         `- error: 'headline' is only available in macOS 10.15 or newer
55 |     var allMockModels: [PieChartModel] {
56 |         return [sampleModel1, sampleModel2, sampleModel3, sampleModel4]
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:30:30: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         |                    `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
32 |             getButton(with: "Bar Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:35:31: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         |                     `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
37 |             getButton(with: "Line Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:40:35: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         |                         `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
42 |             getButton(with: "Circular Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:45:30: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         |                    `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
47 |             getButton(with: "Pie Chart Samples")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:51:48: error: 'View' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          |                                     `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:65:31: error: 'View' is only available in macOS 10.15 or newer
62 | }
63 |
64 | struct SampleChartApp_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
65 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
66 |         SampleChartApp()
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:12:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:13:13: error: 'NavigationView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
   |             |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
14 |                 VStack(alignment: .center, spacing: 24) {
15 |                     barChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:14:17: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
   |                 |- error: 'VStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
15 |                     barChartButton
16 |                     lineChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:14:36: error: 'center' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
14 |                 VStack(alignment: .center, spacing: 24) {
   |                                    |- error: 'center' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
15 |                     barChartButton
16 |                     lineChartButton
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:20:18: error: 'navigationBarTitle(_:displayMode:)' is unavailable in macOS
18 |                     pieChartButton
19 |                 }
20 |                 .navigationBarTitle("Charts", displayMode: .large)
   |                  `- error: 'navigationBarTitle(_:displayMode:)' is unavailable in macOS
21 |             }
22 |         }
SwiftUI.View:43:29: note: 'navigationBarTitle(_:displayMode:)' has been explicitly marked unavailable here
41 |     @available(watchOS, unavailable)
42 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)")
43 |     nonisolated public func navigationBarTitle(_ titleKey: LocalizedStringKey, displayMode: NavigationBarItem.TitleDisplayMode) -> some View
   |                             `- note: 'navigationBarTitle(_:displayMode:)' has been explicitly marked unavailable here
44 |
45 |     @available(iOS, introduced: 14.0, deprecated: 100000.0, message: "Use navigationTitle(_:) with navigationBarTitleDisplayMode(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:20:37: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct SampleChartApp: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
12 |         GeometryReader { proxy in
13 |             NavigationView {
   :
18 |                     pieChartButton
19 |                 }
20 |                 .navigationBarTitle("Charts", displayMode: .large)
   |                                     |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
21 |             }
22 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:31:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |             getButton(with: "Bar Chart Samples")
33 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:31:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
   |         `- note: add @available attribute to enclosing property
31 |         NavigationLink(destination: BarChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
32 |             getButton(with: "Bar Chart Samples")
33 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:36:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             getButton(with: "Line Chart Samples")
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:36:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
33 |         }
34 |     }
35 |     var lineChartButton: some View {
   |         `- note: add @available attribute to enclosing property
36 |         NavigationLink(destination: LineChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
37 |             getButton(with: "Line Chart Samples")
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:41:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |             getButton(with: "Circular Chart Samples")
43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:41:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
38 |         }
39 |     }
40 |     var circularChartButton: some View {
   |         `- note: add @available attribute to enclosing property
41 |         NavigationLink(destination: CircularChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |             getButton(with: "Circular Chart Samples")
43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:46:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
   |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             getButton(with: "Pie Chart Samples")
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:46:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
43 |         }
44 |     }
45 |     var pieChartButton: some View {
   |         `- note: add @available attribute to enclosing property
46 |         NavigationLink(destination: PieChartSamples()) {
   |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
47 |             getButton(with: "Pie Chart Samples")
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:52:9: error: 'Text' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:53:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
54 |             .fontWeight(.bold)
55 |             .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:53:31: error: 'orange' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   |                               |- error: 'orange' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
54 |             .fontWeight(.bold)
55 |             .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:54:14: error: 'fontWeight' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
55 |             .font(.title)
56 |             .padding()
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:55:14: error: 'font' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
   |              |- error: 'font' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
56 |             .padding()
57 |             .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:55:20: error: 'title' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
   |                    |- error: 'title' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
56 |             .padding()
57 |             .cornerRadius(16)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:56:14: error: 'padding' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
54 |             .fontWeight(.bold)
55 |             .font(.title)
56 |             .padding()
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
57 |             .cornerRadius(16)
58 |             .overlay(
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:57:14: error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
55 |             .font(.title)
56 |             .padding()
57 |             .cornerRadius(16)
   |              |- error: 'cornerRadius(_:antialiased:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
58 |             .overlay(
59 |                 Capsule(style: .circular)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:58:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
56 |             .padding()
57 |             .cornerRadius(16)
58 |             .overlay(
   |              |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:59:17: error: 'Capsule' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
57 |             .cornerRadius(16)
58 |             .overlay(
59 |                 Capsule(style: .circular)
   |                 |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
61 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:22: error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                      |- error: 'stroke(_:style:antialiased:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:29: error: 'Color' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                             |- error: 'Color' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:35: error: 'orange' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                   |- error: 'orange' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleChartApp.swift:60:50: error: 'StrokeStyle' is only available in macOS 10.15 or newer
27 |
28 |
29 | private extension SampleChartApp {
   |         `- note: add @available attribute to enclosing extension
30 |     var barChartButton: some View {
31 |         NavigationLink(destination: BarChartSamples()) {
   :
49 |     }
50 |
51 |     func getButton(with title: String) -> some View {
   |          `- note: add @available attribute to enclosing instance method
52 |         Text(title)
53 |             .foregroundColor(.orange)
   :
58 |             .overlay(
59 |                 Capsule(style: .circular)
60 |                     .stroke(Color.orange, style: StrokeStyle(lineWidth: 3)))
   |                                                  |- error: 'StrokeStyle' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
61 |     }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct BarChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 16) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct BarChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         BarChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/BarChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Bar Charts", displayMode: .inline)
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CircularChartSamples: View {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
13 |         ScrollView(showsIndicators: false) {
14 |             VStack(alignment: .center, spacing: 24) {
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:32:31: error: 'View' is only available in macOS 10.15 or newer
29 | }
30 |
31 | struct CircularChartSamples_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
32 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
33 |         CircularChartSamples()
34 |     }
/Users/admin/builder/spi-builder-workspace/Sources/BIKCharts/Sample/SampleCharts/CircularChartSamples.swift:22:27: error: cannot find 'UIScreen' in scope
20 |                 }
21 |             }
22 |             .frame(width: UIScreen.main.bounds.width)
   |                           `- error: cannot find 'UIScreen' in scope
23 |         }
24 |         .navigationBarTitle("Circular Charts", displayMode: .inline)
BUILD FAILURE 6.0 macosSpm