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 StockCharts, reference main (b9030e), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:33:43 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/denniscmcom/stock-charts.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/denniscmcom/stock-charts
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b9030e1 Update README.md
Cloned https://github.com/denniscmcom/stock-charts.git
Revision (git rev-parse @):
b9030e1d37306d8d498ae9e81ccab77b446cafb1
SUCCESS checkout https://github.com/denniscmcom/stock-charts.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "stock-charts",
      "name": "StockCharts",
      "url": "https://github.com/denniscmcom/stock-charts.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/stock-charts",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/denniscmcom/stock-charts.git
[1/1077] Fetching stock-charts
Fetched https://github.com/denniscmcom/stock-charts.git from cache (1.16s)
Creating working copy for https://github.com/denniscmcom/stock-charts.git
Working copy of https://github.com/denniscmcom/stock-charts.git resolved at main (b9030e1)
warning: '.resolve-product-dependencies': dependency 'stock-charts' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/denniscmcom/stock-charts.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/11] Compiling StockCharts LineChartController.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:18:28: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
16 |
17 |     // MARK: - Style
18 |     public var labelColor: Color
   |                            `- error: 'Color' is only available in macOS 10.15 or newer
19 |     public var indicatorPointColor: Color
20 |     public var showingIndicatorLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:19:37: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
17 |     // MARK: - Style
18 |     public var labelColor: Color
19 |     public var indicatorPointColor: Color
   |                                     `- error: 'Color' is only available in macOS 10.15 or newer
20 |     public var showingIndicatorLineColor: Color
21 |     public var flatTrendLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:20:43: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
18 |     public var labelColor: Color
19 |     public var indicatorPointColor: Color
20 |     public var showingIndicatorLineColor: Color
   |                                           `- error: 'Color' is only available in macOS 10.15 or newer
21 |     public var flatTrendLineColor: Color
22 |     public var uptrendLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:21:36: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
19 |     public var indicatorPointColor: Color
20 |     public var showingIndicatorLineColor: Color
21 |     public var flatTrendLineColor: Color
   |                                    `- error: 'Color' is only available in macOS 10.15 or newer
22 |     public var uptrendLineColor: Color
23 |     public var downtrendLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:22:34: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
20 |     public var showingIndicatorLineColor: Color
21 |     public var flatTrendLineColor: Color
22 |     public var uptrendLineColor: Color
   |                                  `- error: 'Color' is only available in macOS 10.15 or newer
23 |     public var downtrendLineColor: Color
24 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:23:36: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
21 |     public var flatTrendLineColor: Color
22 |     public var uptrendLineColor: Color
23 |     public var downtrendLineColor: Color
   |                                    `- error: 'Color' is only available in macOS 10.15 or newer
24 |
25 |     // MARK: - Interactions
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
31 |         hours: [String]? = nil,
32 |
33 |         labelColor: Color = .blue,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:34:30: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
32 |
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
   |                              `- error: 'Color' is only available in macOS 10.15 or newer
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:35:36: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
   |                                    `- error: 'Color' is only available in macOS 10.15 or newer
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:36:29: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:37:27: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
   |                           `- error: 'Color' is only available in macOS 10.15 or newer
38 |         downtrendLineColor: Color = .red,
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:38:29: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
39 |
40 |         dragGesture: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:33:30: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
31 |         hours: [String]? = nil,
32 |
33 |         labelColor: Color = .blue,
   |                              `- error: 'blue' is only available in macOS 10.15 or newer
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:34:39: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
32 |
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
   |                                       `- error: 'blue' is only available in macOS 10.15 or newer
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:35:45: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
   |                                             `- error: 'blue' is only available in macOS 10.15 or newer
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:36:38: error: 'purple' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
   |                                      `- error: 'purple' is only available in macOS 10.15 or newer
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:37:36: error: 'green' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
   |                                    `- error: 'green' is only available in macOS 10.15 or newer
38 |         downtrendLineColor: Color = .red,
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:38:38: error: 'red' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
   |                                      `- error: 'red' is only available in macOS 10.15 or newer
39 |
40 |         dragGesture: Bool = false
[4/11] Compiling StockCharts LineChartView.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @State var showingIndicators = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |     @State var indexPosition = Int()
15 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @State var showingIndicators = false
14 |     @State var indexPosition = Int()
   |      `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 |     public init(lineChartController: LineChartController) {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:21:47: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
   |                                               |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
22 |
23 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:24:13: error: 'VStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
23 |         } else {
24 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
25 |                 if lineChartController.dragGesture {
26 |                     ChartLabel(lineChartController: lineChartController, indexPosition: $indexPosition)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:27:26: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
   :
25 |                 if lineChartController.dragGesture {
26 |                     ChartLabel(lineChartController: lineChartController, indexPosition: $indexPosition)
27 |                         .opacity(showingIndicators ? 1: 0)
   |                          |- error: 'opacity' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
28 |                 }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:25:52: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
23 |         } else {
24 |             VStack {
25 |                 if lineChartController.dragGesture {
   |                                                    |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
26 |                     ChartLabel(lineChartController: lineChartController, indexPosition: $indexPosition)
27 |                         .opacity(showingIndicators ? 1: 0)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:28:17: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
   :
26 |                     ChartLabel(lineChartController: lineChartController, indexPosition: $indexPosition)
27 |                         .opacity(showingIndicators ? 1: 0)
28 |                 }
   |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
29 |
30 |                 LineView(
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:24:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
23 |         } else {
24 |             VStack {
   |                    |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
25 |                 if lineChartController.dragGesture {
26 |                     ChartLabel(lineChartController: lineChartController, indexPosition: $indexPosition)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:23:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
23 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
24 |             VStack {
25 |                 if lineChartController.dragGesture {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:20:32: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                |               |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |               `- note: add 'if #available' version check
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
[5/11] Compiling StockCharts IndicatorPoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/IndicatorPoint.swift:13:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct IndicatorPoint: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
14 |         Circle()
15 |             .frame(width: 20, height: 20)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/IndicatorPoint.swift:14:9: error: 'Circle' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct IndicatorPoint: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
14 |         Circle()
   |         |- error: 'Circle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
15 |             .frame(width: 20, height: 20)
16 |             .foregroundColor(lineChartController.indicatorPointColor)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/IndicatorPoint.swift:15:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct IndicatorPoint: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
14 |         Circle()
15 |             .frame(width: 20, height: 20)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
16 |             .foregroundColor(lineChartController.indicatorPointColor)
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/IndicatorPoint.swift:16:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct IndicatorPoint: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
14 |         Circle()
15 |             .frame(width: 20, height: 20)
16 |             .foregroundColor(lineChartController.indicatorPointColor)
   |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
17 |     }
18 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module StockCharts
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartStyle.swift:11:30: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class CapsuleChartStyle {
   |              `- note: add @available attribute to enclosing class
11 |     public var capsuleColor: Color
   |                              `- error: 'Color' is only available in macOS 10.15 or newer
12 |
13 |     public init(capsuleColor: Color) {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartStyle.swift:13:31: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class CapsuleChartStyle {
   |              `- note: add @available attribute to enclosing class
11 |     public var capsuleColor: Color
12 |
13 |     public init(capsuleColor: Color) {
   |            |                  `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
14 |         self.capsuleColor = capsuleColor
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |
15 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/IndicatorPoint.swift:13:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct IndicatorPoint: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
14 |         Circle()
15 |             .frame(width: 20, height: 20)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
13 |
14 |     @Binding var pathPoints: [CGPoint]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
15 |
16 |     public func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:16:42: error: 'Path' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
   :
14 |     @Binding var pathPoints: [CGPoint]
15 |
16 |     public func path(in rect: CGRect) -> Path {
   |                 |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
17 |         var path = Path()
18 |         var pathPoints = [CGPoint]()
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
 13 |     @Binding var showingIndicators: Bool
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 14 |     @Binding var indexPosition: Int
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
 13 |     @Binding var showingIndicators: Bool
 14 |     @Binding var indexPosition: Int
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
 16 |     @State var pathPoints = [CGPoint]()
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
 13 |     @Binding var showingIndicators: Bool
 14 |     @Binding var indexPosition: Int
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     @State var pathPoints = [CGPoint]()
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 14 |     @Binding var indexPosition: Int
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
 16 |     @State var pathPoints = [CGPoint]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:57:32: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 55 |      Color path depending on data.
 56 |      */
 57 |     public func colorLine() -> Color {
    |                 |              `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 58 |         var color = lineChartController.uptrendLineColor
 59 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:18:28: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
16 |
17 |     // MARK: - Style
18 |     public var labelColor: Color
   |                            `- error: 'Color' is only available in macOS 10.15 or newer
19 |     public var indicatorPointColor: Color
20 |     public var showingIndicatorLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:19:37: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
17 |     // MARK: - Style
18 |     public var labelColor: Color
19 |     public var indicatorPointColor: Color
   |                                     `- error: 'Color' is only available in macOS 10.15 or newer
20 |     public var showingIndicatorLineColor: Color
21 |     public var flatTrendLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:20:43: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
18 |     public var labelColor: Color
19 |     public var indicatorPointColor: Color
20 |     public var showingIndicatorLineColor: Color
   |                                           `- error: 'Color' is only available in macOS 10.15 or newer
21 |     public var flatTrendLineColor: Color
22 |     public var uptrendLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:21:36: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
19 |     public var indicatorPointColor: Color
20 |     public var showingIndicatorLineColor: Color
21 |     public var flatTrendLineColor: Color
   |                                    `- error: 'Color' is only available in macOS 10.15 or newer
22 |     public var uptrendLineColor: Color
23 |     public var downtrendLineColor: Color
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:22:34: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
20 |     public var showingIndicatorLineColor: Color
21 |     public var flatTrendLineColor: Color
22 |     public var uptrendLineColor: Color
   |                                  `- error: 'Color' is only available in macOS 10.15 or newer
23 |     public var downtrendLineColor: Color
24 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:23:36: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
21 |     public var flatTrendLineColor: Color
22 |     public var uptrendLineColor: Color
23 |     public var downtrendLineColor: Color
   |                                    `- error: 'Color' is only available in macOS 10.15 or newer
24 |
25 |     // MARK: - Interactions
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:33:21: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
31 |         hours: [String]? = nil,
32 |
33 |         labelColor: Color = .blue,
   |                     `- error: 'Color' is only available in macOS 10.15 or newer
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:34:30: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
32 |
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
   |                              `- error: 'Color' is only available in macOS 10.15 or newer
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:35:36: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
   |                                    `- error: 'Color' is only available in macOS 10.15 or newer
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:36:29: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:37:27: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
   |                           `- error: 'Color' is only available in macOS 10.15 or newer
38 |         downtrendLineColor: Color = .red,
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:38:29: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
39 |
40 |         dragGesture: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:33:30: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
31 |         hours: [String]? = nil,
32 |
33 |         labelColor: Color = .blue,
   |                              `- error: 'blue' is only available in macOS 10.15 or newer
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:34:39: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
32 |
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
   |                                       `- error: 'blue' is only available in macOS 10.15 or newer
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:35:45: error: 'blue' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
33 |         labelColor: Color = .blue,
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
   |                                             `- error: 'blue' is only available in macOS 10.15 or newer
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:36:38: error: 'purple' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
34 |         indicatorPointColor: Color = .blue,
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
   |                                      `- error: 'purple' is only available in macOS 10.15 or newer
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:37:36: error: 'green' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
35 |         showingIndicatorLineColor: Color = .blue,
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
   |                                    `- error: 'green' is only available in macOS 10.15 or newer
38 |         downtrendLineColor: Color = .red,
39 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartController.swift:38:38: error: 'red' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class LineChartController {
   |              `- note: add @available attribute to enclosing class
11 |
12 |     // MARK: - Data
   :
26 |     public var dragGesture: Bool = false
27 |
28 |     public init(
   |            `- note: add @available attribute to enclosing initializer
29 |         prices: [Double],
30 |         dates: [String]? = nil,
   :
36 |         flatTrendLineColor: Color = .purple,
37 |         uptrendLineColor: Color = .green,
38 |         downtrendLineColor: Color = .red,
   |                                      `- error: 'red' is only available in macOS 10.15 or newer
39 |
40 |         dragGesture: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @State var showingIndicators = false
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |     @State var indexPosition = Int()
15 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:14:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @State var showingIndicators = false
14 |     @State var indexPosition = Int()
   |      `- error: 'State' is only available in macOS 10.15 or newer
15 |
16 |     public init(lineChartController: LineChartController) {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/LineChartView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LineChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
   :
18 |     }
19 |
20 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
21 |         if lineChartController.prices.isEmpty {
22 |
[7/11] Compiling StockCharts ChartLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |
15 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:16:9: error: 'HStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             if let dates = lineChartController.dates {
18 |                 let date = formatStringDate(dates[indexPosition])
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:19:17: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
18 |                 let date = formatStringDate(dates[indexPosition])
19 |                 Text(date)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
20 |                     .opacity(0.5)
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:20:22: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
18 |                 let date = formatStringDate(dates[indexPosition])
19 |                 Text(date)
20 |                     .opacity(0.5)
   |                      |- error: 'opacity' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
21 |             }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:17:54: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   |                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                                      `- note: add 'if #available' version check
18 |                 let date = formatStringDate(dates[indexPosition])
19 |                 Text(date)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:21:13: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
19 |                 Text(date)
20 |                     .opacity(0.5)
21 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |
23 |             if let hours = lineChartController.hours {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:25:17: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
23 |             if let hours = lineChartController.hours {
24 |                 let hour = hours[indexPosition]
25 |                 Text(hour)
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
26 |                     .opacity(0.5)
27 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:26:22: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
24 |                 let hour = hours[indexPosition]
25 |                 Text(hour)
26 |                     .opacity(0.5)
   |                      |- error: 'opacity' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
27 |             }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:23:54: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
21 |             }
22 |
23 |             if let hours = lineChartController.hours {
   |                                                      |- error: 'buildIf' is only available in macOS 10.15 or newer
   |                                                      `- note: add 'if #available' version check
24 |                 let hour = hours[indexPosition]
25 |                 Text(hour)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:27:13: error: 'buildIf' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
25 |                 Text(hour)
26 |                     .opacity(0.5)
27 |             }
   |             |- error: 'buildIf' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
28 |
29 |             Text("\(lineChartController.prices[indexPosition], specifier: "%.2f")")
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:29:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
27 |             }
28 |
29 |             Text("\(lineChartController.prices[indexPosition], specifier: "%.2f")")
   |             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
30 |                 .foregroundColor(lineChartController.labelColor)
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:29:13: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
27 |             }
28 |
29 |             Text("\(lineChartController.prices[indexPosition], specifier: "%.2f")")
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
30 |                 .foregroundColor(lineChartController.labelColor)
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:29:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
27 |             }
28 |
29 |             Text("\(lineChartController.prices[indexPosition], specifier: "%.2f")")
   |             |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
30 |                 .foregroundColor(lineChartController.labelColor)
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:29:18: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
27 |             }
28 |
29 |             Text("\(lineChartController.prices[indexPosition], specifier: "%.2f")")
   |                  |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
30 |                 .foregroundColor(lineChartController.labelColor)
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:29:20: warning: conformance of 'Double' to '_FormatSpecifiable' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
27 |             }
28 |
29 |             Text("\(lineChartController.prices[indexPosition], specifier: "%.2f")")
   |                    |- warning: conformance of 'Double' to '_FormatSpecifiable' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
30 |                 .foregroundColor(lineChartController.labelColor)
31 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:30:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
17 |             if let dates = lineChartController.dates {
   :
28 |
29 |             Text("\(lineChartController.prices[indexPosition], specifier: "%.2f")")
30 |                 .foregroundColor(lineChartController.labelColor)
   |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:16:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
   |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
17 |             if let dates = lineChartController.dates {
18 |                 let date = formatStringDate(dates[indexPosition])
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:16:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
   |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
17 |             if let dates = lineChartController.dates {
18 |                 let date = formatStringDate(dates[indexPosition])
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/ChartLabel.swift:16:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 8 | import SwiftUI
 9 |
10 | public struct ChartLabel: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var lineChartController: LineChartController
12 |
13 |     @Binding var indexPosition: Int  // Data point position
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         HStack {
   |                |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
17 |             if let dates = lineChartController.dates {
18 |                 let date = formatStringDate(dates[indexPosition])
[8/11] Compiling StockCharts CapsuleChartStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartStyle.swift:11:30: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class CapsuleChartStyle {
   |              `- note: add @available attribute to enclosing class
11 |     public var capsuleColor: Color
   |                              `- error: 'Color' is only available in macOS 10.15 or newer
12 |
13 |     public init(capsuleColor: Color) {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartStyle.swift:13:31: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public class CapsuleChartStyle {
   |              `- note: add @available attribute to enclosing class
11 |     public var capsuleColor: Color
12 |
13 |     public init(capsuleColor: Color) {
   |            |                  `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
14 |         self.capsuleColor = capsuleColor
15 |     }
[9/11] Compiling StockCharts CapsuleChartView.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:19:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:20:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
21 |             ZStack(alignment: .leading) {
22 |                 Group {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:21:13: error: 'ZStack' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
   |             |- error: 'ZStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
22 |                 Group {
23 |                     Capsule()
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:21:32: error: 'leading' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
   |                                |- error: 'leading' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
22 |                 Group {
23 |                     Capsule()
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:22:17: error: 'Group' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
22 |                 Group {
   |                 |- error: 'Group' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
23 |                     Capsule()
24 |                         .foregroundColor(Color.gray)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:22:17: error: 'init(content:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
22 |                 Group {
   |                 |- error: 'init(content:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
23 |                     Capsule()
24 |                         .foregroundColor(Color.gray)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:23:21: error: 'Capsule' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
22 |                 Group {
23 |                     Capsule()
   |                     |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
24 |                         .foregroundColor(Color.gray)
25 |                         .opacity(0.2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:24:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
22 |                 Group {
23 |                     Capsule()
24 |                         .foregroundColor(Color.gray)
   |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
25 |                         .opacity(0.2)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:24:42: error: 'Color' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
22 |                 Group {
23 |                     Capsule()
24 |                         .foregroundColor(Color.gray)
   |                                          |- error: 'Color' is only available in macOS 10.15 or newer
   |                                          `- note: add 'if #available' version check
25 |                         .opacity(0.2)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:24:48: error: 'gray' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
22 |                 Group {
23 |                     Capsule()
24 |                         .foregroundColor(Color.gray)
   |                                                |- error: 'gray' is only available in macOS 10.15 or newer
   |                                                `- note: add 'if #available' version check
25 |                         .opacity(0.2)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:25:26: error: 'opacity' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
   :
23 |                     Capsule()
24 |                         .foregroundColor(Color.gray)
25 |                         .opacity(0.2)
   |                          |- error: 'opacity' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
26 |
27 |                     Capsule()
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:27:21: error: 'Capsule' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
   :
25 |                         .opacity(0.2)
26 |
27 |                     Capsule()
   |                     |- error: 'Capsule' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
28 |                         .foregroundColor(capsuleChartStyle.capsuleColor)
29 |                         .frame(width: proxy.size.width * percentageOfWidth)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:28:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
   :
26 |
27 |                     Capsule()
28 |                         .foregroundColor(capsuleChartStyle.capsuleColor)
   |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
29 |                         .frame(width: proxy.size.width * percentageOfWidth)
30 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:29:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
   :
27 |                     Capsule()
28 |                         .foregroundColor(capsuleChartStyle.capsuleColor)
29 |                         .frame(width: proxy.size.width * percentageOfWidth)
   |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
30 |                 }
31 |                 .frame(height: 10)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/CapsuleChart/CapsuleChartView.swift:31:18: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CapsuleChartView: View {
   |               `- note: add @available attribute to enclosing struct
11 |     public var percentageOfWidth: CGFloat
12 |     public var capsuleChartStyle: CapsuleChartStyle
   :
17 |     }
18 |
19 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
20 |         GeometryReader { proxy in
21 |             ZStack(alignment: .leading) {
   :
29 |                         .frame(width: proxy.size.width * percentageOfWidth)
30 |                 }
31 |                 .frame(height: 10)
   |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
32 |             }
33 |         }
[10/11] Compiling StockCharts LineView.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
 13 |     @Binding var showingIndicators: Bool
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 14 |     @Binding var indexPosition: Int
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
 13 |     @Binding var showingIndicators: Bool
 14 |     @Binding var indexPosition: Int
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
 16 |     @State var pathPoints = [CGPoint]()
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
 13 |     @Binding var showingIndicators: Bool
 14 |     @Binding var indexPosition: Int
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     @State var pathPoints = [CGPoint]()
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:16:6: error: 'State' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 14 |     @Binding var indexPosition: Int
 15 |     @State var IndicatorPointPosition: CGPoint = .zero
 16 |     @State var pathPoints = [CGPoint]()
    |      `- error: 'State' is only available in macOS 10.15 or newer
 17 |
 18 |     public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:57:32: error: 'Color' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 55 |      Color path depending on data.
 56 |      */
 57 |     public func colorLine() -> Color {
    |                 |              `- error: 'Color' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing instance method
 58 |         var color = lineChartController.uptrendLineColor
 59 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:19:9: error: 'ZStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
    |         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 20 |             GeometryReader { proxy in
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:19:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
    |                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 20 |             GeometryReader { proxy in
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:19:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
    |                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 20 |             GeometryReader { proxy in
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:20:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    |             |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
 22 |                     .stroke(colorLine(), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:20:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    |             |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
 22 |                     .stroke(colorLine(), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:20:13: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    |             |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
 22 |                     .stroke(colorLine(), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:20:28: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    |                            |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
 22 |                     .stroke(colorLine(), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:21:17: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
    |                 |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 22 |                     .stroke(colorLine(), lineWidth: 2)
 23 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:22:22: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
 22 |                     .stroke(colorLine(), lineWidth: 2)
    |                      |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                      `- note: add 'if #available' version check
 23 |             }
 24 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:20:28: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    |                            |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
 22 |                     .stroke(colorLine(), lineWidth: 2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:27:22: error: 'position(x:y:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 25 |             if showingIndicators {
 26 |                 IndicatorPoint(lineChartController: lineChartController)
 27 |                     .position(x: IndicatorPointPosition.x, y: IndicatorPointPosition.y)
    |                      |- error: 'position(x:y:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 28 |             }
 29 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:25:34: error: 'buildIf' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 23 |             }
 24 |
 25 |             if showingIndicators {
    |                                  |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 26 |                 IndicatorPoint(lineChartController: lineChartController)
 27 |                     .position(x: IndicatorPointPosition.x, y: IndicatorPointPosition.y)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:28:13: error: 'buildIf' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 26 |                 IndicatorPoint(lineChartController: lineChartController)
 27 |                     .position(x: IndicatorPointPosition.x, y: IndicatorPointPosition.y)
 28 |             }
    |             |- error: 'buildIf' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 29 |         }
 30 |         .rotationEffect(.degrees(180), anchor: .center)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:19:16: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
    |                |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 20 |             GeometryReader { proxy in
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:19:16: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
    |                |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
 20 |             GeometryReader { proxy in
 21 |                 LinePath(data: lineChartController.prices, width: proxy.size.width, height: proxy.size.height, pathPoints: $pathPoints)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:30:10: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 28 |             }
 29 |         }
 30 |         .rotationEffect(.degrees(180), anchor: .center)
    |          |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 31 |         .rotation3DEffect(.degrees(180), axis: (x: 0.0, y: 1.0, z: 0.0))
 32 |         .contentShape(Rectangle())  // Control tappable area
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:31:10: error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 29 |         }
 30 |         .rotationEffect(.degrees(180), anchor: .center)
 31 |         .rotation3DEffect(.degrees(180), axis: (x: 0.0, y: 1.0, z: 0.0))
    |          |- error: 'rotation3DEffect(_:axis:anchor:anchorZ:perspective:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 32 |         .contentShape(Rectangle())  // Control tappable area
 33 |         .gesture(lineChartController.dragGesture ?
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:32:10: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 30 |         .rotationEffect(.degrees(180), anchor: .center)
 31 |         .rotation3DEffect(.degrees(180), axis: (x: 0.0, y: 1.0, z: 0.0))
 32 |         .contentShape(Rectangle())  // Control tappable area
    |          |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 33 |         .gesture(lineChartController.dragGesture ?
 34 |             LongPressGesture(minimumDuration: 0.2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:32:23: error: 'Rectangle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 30 |         .rotationEffect(.degrees(180), anchor: .center)
 31 |         .rotation3DEffect(.degrees(180), axis: (x: 0.0, y: 1.0, z: 0.0))
 32 |         .contentShape(Rectangle())  // Control tappable area
    |                       |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 33 |         .gesture(lineChartController.dragGesture ?
 34 |             LongPressGesture(minimumDuration: 0.2)
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:33:10: error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 31 |         .rotation3DEffect(.degrees(180), axis: (x: 0.0, y: 1.0, z: 0.0))
 32 |         .contentShape(Rectangle())  // Control tappable area
 33 |         .gesture(lineChartController.dragGesture ?
    |          |- error: 'gesture(_:including:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 34 |             LongPressGesture(minimumDuration: 0.2)
 35 |                 .sequenced(before: DragGesture(minimumDistance: 0, coordinateSpace: .local))
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:34:13: error: 'LongPressGesture' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 32 |         .contentShape(Rectangle())  // Control tappable area
 33 |         .gesture(lineChartController.dragGesture ?
 34 |             LongPressGesture(minimumDuration: 0.2)
    |             |- error: 'LongPressGesture' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 35 |                 .sequenced(before: DragGesture(minimumDistance: 0, coordinateSpace: .local))
 36 |                 .onChanged({ value in  // Get value of the gesture
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:35:18: error: 'sequenced(before:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 33 |         .gesture(lineChartController.dragGesture ?
 34 |             LongPressGesture(minimumDuration: 0.2)
 35 |                 .sequenced(before: DragGesture(minimumDistance: 0, coordinateSpace: .local))
    |                  |- error: 'sequenced(before:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 36 |                 .onChanged({ value in  // Get value of the gesture
 37 |                     switch value {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:35:36: error: 'DragGesture' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 33 |         .gesture(lineChartController.dragGesture ?
 34 |             LongPressGesture(minimumDuration: 0.2)
 35 |                 .sequenced(before: DragGesture(minimumDistance: 0, coordinateSpace: .local))
    |                                    |- error: 'DragGesture' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 36 |                 .onChanged({ value in  // Get value of the gesture
 37 |                     switch value {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:35:36: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 33 |         .gesture(lineChartController.dragGesture ?
 34 |             LongPressGesture(minimumDuration: 0.2)
 35 |                 .sequenced(before: DragGesture(minimumDistance: 0, coordinateSpace: .local))
    |                                    |- error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 36 |                 .onChanged({ value in  // Get value of the gesture
 37 |                     switch value {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:36:18: error: 'onChanged' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 34 |             LongPressGesture(minimumDuration: 0.2)
 35 |                 .sequenced(before: DragGesture(minimumDistance: 0, coordinateSpace: .local))
 36 |                 .onChanged({ value in  // Get value of the gesture
    |                  |- error: 'onChanged' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 37 |                     switch value {
 38 |                     case .second(true, let drag):
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:47:18: error: 'onEnded' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 45 |                 })
 46 |                 // Hide indicator when finish
 47 |                 .onEnded({ value in
    |                  |- error: 'onEnded' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 48 |                     self.showingIndicators = false
 49 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:48:21: error: setter for 'showingIndicators' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 16 |     @State var pathPoints = [CGPoint]()
 17 |
 18 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 19 |         ZStack {
 20 |             GeometryReader { proxy in
    :
 46 |                 // Hide indicator when finish
 47 |                 .onEnded({ value in
 48 |                     self.showingIndicators = false
    |                     |- error: setter for 'showingIndicators' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 49 |                 })
 50 |             : nil  // On dragGesture = false
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:76:9: error: cannot pass as inout because setter for 'IndicatorPointPosition' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 72 |      When the user drag on Path -> Modifiy indicator point to move it on the path accordingly
 73 |      */
 74 |     public func dragGesture(_ longPressLocation: CGPoint) {
    |                 `- note: add @available attribute to enclosing instance method
 75 |         let (closestXPoint, closestYPoint, yPointIndex) = getClosestValueFrom(longPressLocation, inData: pathPoints)
 76 |         self.IndicatorPointPosition.x = closestXPoint
    |         |- error: cannot pass as inout because setter for 'IndicatorPointPosition' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 77 |         self.IndicatorPointPosition.y = closestYPoint
 78 |         self.showingIndicators = true
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:77:9: error: cannot pass as inout because setter for 'IndicatorPointPosition' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 72 |      When the user drag on Path -> Modifiy indicator point to move it on the path accordingly
 73 |      */
 74 |     public func dragGesture(_ longPressLocation: CGPoint) {
    |                 `- note: add @available attribute to enclosing instance method
 75 |         let (closestXPoint, closestYPoint, yPointIndex) = getClosestValueFrom(longPressLocation, inData: pathPoints)
 76 |         self.IndicatorPointPosition.x = closestXPoint
 77 |         self.IndicatorPointPosition.y = closestYPoint
    |         |- error: cannot pass as inout because setter for 'IndicatorPointPosition' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 78 |         self.showingIndicators = true
 79 |         self.indexPosition = yPointIndex
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:78:9: error: setter for 'showingIndicators' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 72 |      When the user drag on Path -> Modifiy indicator point to move it on the path accordingly
 73 |      */
 74 |     public func dragGesture(_ longPressLocation: CGPoint) {
    |                 `- note: add @available attribute to enclosing instance method
 75 |         let (closestXPoint, closestYPoint, yPointIndex) = getClosestValueFrom(longPressLocation, inData: pathPoints)
 76 |         self.IndicatorPointPosition.x = closestXPoint
 77 |         self.IndicatorPointPosition.y = closestYPoint
 78 |         self.showingIndicators = true
    |         |- error: setter for 'showingIndicators' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 79 |         self.indexPosition = yPointIndex
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LineView.swift:79:9: error: setter for 'indexPosition' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | public struct LineView: View {
    |               `- note: add @available attribute to enclosing struct
 11 |     public var lineChartController: LineChartController
 12 |
    :
 72 |      When the user drag on Path -> Modifiy indicator point to move it on the path accordingly
 73 |      */
 74 |     public func dragGesture(_ longPressLocation: CGPoint) {
    |                 `- note: add @available attribute to enclosing instance method
 75 |         let (closestXPoint, closestYPoint, yPointIndex) = getClosestValueFrom(longPressLocation, inData: pathPoints)
 76 |         self.IndicatorPointPosition.x = closestXPoint
 77 |         self.IndicatorPointPosition.y = closestYPoint
 78 |         self.showingIndicators = true
 79 |         self.indexPosition = yPointIndex
    |         |- error: setter for 'indexPosition' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 80 |     }
 81 |
[11/11] Compiling StockCharts LinePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:14:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
13 |
14 |     @Binding var pathPoints: [CGPoint]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
15 |
16 |     public func path(in rect: CGRect) -> Path {
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:16:42: error: 'Path' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
   :
14 |     @Binding var pathPoints: [CGPoint]
15 |
16 |     public func path(in rect: CGRect) -> Path {
   |                 |                        `- error: 'Path' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
17 |         var path = Path()
18 |         var pathPoints = [CGPoint]()
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:17:20: error: 'Path' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
   :
14 |     @Binding var pathPoints: [CGPoint]
15 |
16 |     public func path(in rect: CGRect) -> Path {
   |                 `- note: add @available attribute to enclosing instance method
17 |         var path = Path()
   |                    |- error: 'Path' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
18 |         var pathPoints = [CGPoint]()
19 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:25:14: error: 'move(to:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
   :
14 |     @Binding var pathPoints: [CGPoint]
15 |
16 |     public func path(in rect: CGRect) -> Path {
   |                 `- note: add @available attribute to enclosing instance method
17 |         var path = Path()
18 |         var pathPoints = [CGPoint]()
   :
23 |         var x: Double = 0
24 |
25 |         path.move(to: CGPoint(x: x, y: initialPoint))
   |              |- error: 'move(to:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
26 |         for y in normalizedData {
27 |             if normalizedData.firstIndex(of: y) != 0 {  // Skip first point
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:30:22: error: 'addLine(to:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
   :
14 |     @Binding var pathPoints: [CGPoint]
15 |
16 |     public func path(in rect: CGRect) -> Path {
   |                 `- note: add @available attribute to enclosing instance method
17 |         var path = Path()
18 |         var pathPoints = [CGPoint]()
   :
28 |                 x += widthBetweenDataPoints
29 |                 let y = y * Double(height)
30 |                 path.addLine(to: CGPoint(x: x, y: y))
   |                      |- error: 'addLine(to:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
31 |             }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:34:36: error: 'currentPoint' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
   :
14 |     @Binding var pathPoints: [CGPoint]
15 |
16 |     public func path(in rect: CGRect) -> Path {
   |                 `- note: add @available attribute to enclosing instance method
17 |         var path = Path()
18 |         var pathPoints = [CGPoint]()
   :
32 |
33 |             // Append current point to an array. Later will be used for Drag Gesture
34 |             pathPoints.append(path.currentPoint ?? CGPoint(x: 0, y: 0))
   |                                    |- error: 'currentPoint' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
35 |         }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:38:13: error: setter for 'pathPoints' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct LinePath: Shape {
   |               `- note: add @available attribute to enclosing struct
11 |     public var data: [Double]
12 |     public var (width, height): (CGFloat, CGFloat)
   :
14 |     @Binding var pathPoints: [CGPoint]
15 |
16 |     public func path(in rect: CGRect) -> Path {
   |                 `- note: add @available attribute to enclosing instance method
17 |         var path = Path()
18 |         var pathPoints = [CGPoint]()
   :
36 |
37 |         DispatchQueue.main.async {
38 |             self.pathPoints = pathPoints
   |             |- error: setter for 'pathPoints' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
39 |         }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/StockCharts/LineChart/Helpers/LinePath.swift:38:31: warning: reference to captured var 'pathPoints' in concurrently-executing code; this is an error in the Swift 6 language mode
36 |
37 |         DispatchQueue.main.async {
38 |             self.pathPoints = pathPoints
   |                               `- warning: reference to captured var 'pathPoints' in concurrently-executing code; this is an error in the Swift 6 language mode
39 |         }
40 |
BUILD FAILURE 6.0 macosSpm