Build Information
Successful build of SwiftUICharts, reference 2.0.0-beta.8 (7140b8
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 14:31:11 UTC.
Swift 6 data race errors: 11
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/apppear/chartview.git
Reference: 2.0.0-beta.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apppear/chartview
* tag 2.0.0-beta.8 -> FETCH_HEAD
HEAD is now at 7140b8b feat: add animation toggle interface (#256)
Cloned https://github.com/apppear/chartview.git
Revision (git rev-parse @):
7140b8b6fd7413ccbcf31b748b32233f08314dab
SUCCESS checkout https://github.com/apppear/chartview.git at 2.0.0-beta.8
========================================
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": "chartview",
"name": "SwiftUICharts",
"url": "https://github.com/apppear/chartview.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/chartview",
"dependencies": [
]
}
]
}
Fetching https://github.com/apppear/chartview.git
[1/3027] Fetching chartview
Fetched https://github.com/apppear/chartview.git from cache (1.28s)
Creating working copy for https://github.com/apppear/chartview.git
Working copy of https://github.com/apppear/chartview.git resolved at 2.0.0-beta.8 (7140b8b)
warning: '.resolve-product-dependencies': dependency 'chartview' 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/apppear/chartview.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/50] Compiling SwiftUICharts MarkerShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChart.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// A type of chart that displays a slice of "pie" for each data point
4 | public struct PieChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 |
7 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[4/50] Compiling SwiftUICharts LineChartProperties.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChart.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// A type of chart that displays a slice of "pie" for each data point
4 | public struct PieChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 |
7 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[5/50] Compiling SwiftUICharts LineStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChart.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// A type of chart that displays a slice of "pie" for each data point
4 | public struct PieChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 |
7 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[6/50] Compiling SwiftUICharts PieChart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChart.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// A type of chart that displays a slice of "pie" for each data point
4 | public struct PieChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 |
7 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[7/50] Compiling SwiftUICharts PieChartCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChart.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// A type of chart that displays a slice of "pie" for each data point
4 | public struct PieChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 |
7 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[8/55] Compiling SwiftUICharts Path+QuadCurve.swift
[9/55] Compiling SwiftUICharts Range+Extension.swift
[10/55] Compiling SwiftUICharts Shape+Extension.swift
[11/55] Compiling SwiftUICharts View+Extension.swift
[12/55] Compiling SwiftUICharts ChartGrid.swift
[13/55] Compiling SwiftUICharts AxisLabels.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/CardView/CardView.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// View containing data and some kind of chart content
4 | public struct CardView<Content: View>: View, ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | let content: () -> Content
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[14/55] Compiling SwiftUICharts AxisLabels+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/CardView/CardView.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// View containing data and some kind of chart content
4 | public struct CardView<Content: View>: View, ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | let content: () -> Content
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[15/55] Compiling SwiftUICharts AxisLabelsPosition.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/CardView/CardView.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// View containing data and some kind of chart content
4 | public struct CardView<Content: View>: View, ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | let content: () -> Content
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[16/55] Compiling SwiftUICharts AxisLabelsStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/CardView/CardView.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// View containing data and some kind of chart content
4 | public struct CardView<Content: View>: View, ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | let content: () -> Content
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[17/55] Compiling SwiftUICharts AxisLablesData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/CardView/CardView.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// View containing data and some kind of chart content
4 | public struct CardView<Content: View>: View, ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | let content: () -> Content
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[18/55] Compiling SwiftUICharts CardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/CardView/CardView.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// View containing data and some kind of chart content
4 | public struct CardView<Content: View>: View, ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | let content: () -> Content
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[19/55] Compiling SwiftUICharts ChartGridBaseShape.swift
[20/55] Compiling SwiftUICharts ChartGridShape.swift
[21/55] Compiling SwiftUICharts Grid+Extension.swift
[22/55] Compiling SwiftUICharts GridOptions.swift
[23/55] Compiling SwiftUICharts ChartLabel.swift
[24/55] Compiling SwiftUICharts ChartStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/BarChart/BarChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct BarChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[25/55] Compiling SwiftUICharts ColorGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/BarChart/BarChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct BarChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[26/55] Compiling SwiftUICharts Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/BarChart/BarChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct BarChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[27/55] Compiling SwiftUICharts BarChart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/BarChart/BarChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct BarChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[28/55] Compiling SwiftUICharts BarChartCell.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/BarChart/BarChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct BarChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[29/55] Compiling SwiftUICharts BarChartCellShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[30/55] Compiling SwiftUICharts BarChartRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[31/55] Compiling SwiftUICharts LineChart+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[32/55] Compiling SwiftUICharts IndicatorPoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[33/55] Compiling SwiftUICharts Line.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[34/55] Compiling SwiftUICharts ChartBase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
[35/55] Compiling SwiftUICharts ChartData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
[36/55] Compiling SwiftUICharts ChartValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
[37/55] Compiling SwiftUICharts ViewGeometry.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
[38/55] Compiling SwiftUICharts ViewPreferenceKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
[39/55] Compiling SwiftUICharts ViewSizeData.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
[40/55] Compiling SwiftUICharts LineBackgroundShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct LineChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @EnvironmentObject var style: ChartStyle
6 | public var chartProperties = LineChartProperties()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShape.swift:5:9: warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
3 | struct LineShape: Shape {
4 | var data: [(Double, Double)]
5 | var lineStyle: LineStyle = .curved
| `- warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
6 | func path(in rect: CGRect) -> Path {
7 | var path = Path()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/Model/LineStyle.swift:3:13: note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LineStyle {
| `- note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
4 | case curved
5 | case straight
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShapeView.swift:11:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct LineShapeView: View, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
4 | var chartData: ChartData
5 | var chartProperties: LineChartProperties
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[41/55] Compiling SwiftUICharts LineBackgroundShapeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct LineChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @EnvironmentObject var style: ChartStyle
6 | public var chartProperties = LineChartProperties()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShape.swift:5:9: warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
3 | struct LineShape: Shape {
4 | var data: [(Double, Double)]
5 | var lineStyle: LineStyle = .curved
| `- warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
6 | func path(in rect: CGRect) -> Path {
7 | var path = Path()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/Model/LineStyle.swift:3:13: note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LineStyle {
| `- note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
4 | case curved
5 | case straight
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShapeView.swift:11:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct LineShapeView: View, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
4 | var chartData: ChartData
5 | var chartProperties: LineChartProperties
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[42/55] Compiling SwiftUICharts LineChart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct LineChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @EnvironmentObject var style: ChartStyle
6 | public var chartProperties = LineChartProperties()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShape.swift:5:9: warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
3 | struct LineShape: Shape {
4 | var data: [(Double, Double)]
5 | var lineStyle: LineStyle = .curved
| `- warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
6 | func path(in rect: CGRect) -> Path {
7 | var path = Path()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/Model/LineStyle.swift:3:13: note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LineStyle {
| `- note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
4 | case curved
5 | case straight
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShapeView.swift:11:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct LineShapeView: View, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
4 | var chartData: ChartData
5 | var chartProperties: LineChartProperties
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[43/55] Compiling SwiftUICharts LineShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct LineChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @EnvironmentObject var style: ChartStyle
6 | public var chartProperties = LineChartProperties()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShape.swift:5:9: warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
3 | struct LineShape: Shape {
4 | var data: [(Double, Double)]
5 | var lineStyle: LineStyle = .curved
| `- warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
6 | func path(in rect: CGRect) -> Path {
7 | var path = Path()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/Model/LineStyle.swift:3:13: note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LineStyle {
| `- note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
4 | case curved
5 | case straight
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShapeView.swift:11:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct LineShapeView: View, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
4 | var chartData: ChartData
5 | var chartProperties: LineChartProperties
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[44/55] Compiling SwiftUICharts LineShapeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct LineChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @EnvironmentObject var style: ChartStyle
6 | public var chartProperties = LineChartProperties()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShape.swift:5:9: warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
3 | struct LineShape: Shape {
4 | var data: [(Double, Double)]
5 | var lineStyle: LineStyle = .curved
| `- warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
6 | func path(in rect: CGRect) -> Path {
7 | var path = Path()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/Model/LineStyle.swift:3:13: note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LineStyle {
| `- note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
4 | case curved
5 | case straight
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShapeView.swift:11:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct LineShapeView: View, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
4 | var chartData: ChartData
5 | var chartProperties: LineChartProperties
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[45/55] Emitting module SwiftUICharts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Common/ViewPreferenceKey.swift:4:15: warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
2 |
3 | public protocol ViewPreferenceKey: PreferenceKey {
4 | typealias Value = [ViewSizeData]
| `- warning: typealias overriding associated type 'Value' from protocol 'PreferenceKey' is better expressed as same-type constraint on the protocol
5 | }
6 |
SwiftUICore.PreferenceKey:3:20: note: 'Value' declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public protocol PreferenceKey {
3 | associatedtype Value
| `- note: 'Value' declared here
4 | static var defaultValue: Self.Value { get }
5 | static func reduce(value: inout Self.Value, nextValue: () -> Self.Value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/CardView/CardView.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// View containing data and some kind of chart content
4 | public struct CardView<Content: View>: View, ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | let content: () -> Content
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:30:23: warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
| |- warning: static property 'redBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:31:23: warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
| |- warning: static property 'greenRed' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenRed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let whiteBlack = ColorGradient(.white, .black)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:32:23: warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
32 | public static let whiteBlack = ColorGradient(.white, .black)
| |- warning: static property 'whiteBlack' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whiteBlack' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/BarChart/BarChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct BarChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineChart.swift:4:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct LineChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @EnvironmentObject var style: ChartStyle
6 | public var chartProperties = LineChartProperties()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShape.swift:5:9: warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
3 | struct LineShape: Shape {
4 | var data: [(Double, Double)]
5 | var lineStyle: LineStyle = .curved
| `- warning: stored property 'lineStyle' of 'Sendable'-conforming struct 'LineShape' has non-sendable type 'LineStyle'; this is an error in the Swift 6 language mode
6 | func path(in rect: CGRect) -> Path {
7 | var path = Path()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/Model/LineStyle.swift:3:13: note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum LineStyle {
| `- note: consider making enum 'LineStyle' conform to the 'Sendable' protocol
4 | case curved
5 | case straight
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/LineChart/LineShapeView.swift:11:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | struct LineShapeView: View, Animatable {
| `- note: add '@preconcurrency' to the 'Animatable' conformance to defer isolation checking to run time
4 | var chartData: ChartData
5 | var chartProperties: LineChartProperties
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChart.swift:5:16: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 |
3 | /// A type of chart that displays a slice of "pie" for each data point
4 | public struct PieChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
5 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 |
7 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/RingsChart/RingsChart.swift:4:13: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct RingsChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[46/55] Compiling SwiftUICharts Array+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[47/55] Compiling SwiftUICharts CGPoint+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[48/55] Compiling SwiftUICharts CGRect+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[49/55] Compiling SwiftUICharts ChartBase+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[50/55] Compiling SwiftUICharts Color+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ColorGradient.swift:29:23: warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ColorGradient: Equatable {
| `- note: consider making struct 'ColorGradient' conform to the 'Sendable' protocol
4 | public let startColor: Color
5 | public let endColor: Color
:
27 |
28 | extension ColorGradient {
29 | public static let orangeBright = ColorGradient(ChartColors.orangeBright)
| |- warning: static property 'orangeBright' is not concurrency-safe because non-'Sendable' type 'ColorGradient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orangeBright' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let redBlack = ColorGradient(.red, .black)
31 | public static let greenRed = ColorGradient(.green, .red)
[51/55] Compiling SwiftUICharts PieChartHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChartRow.swift:39:41: warning: non-constant range: argument must be an integer literal
37 | GeometryReader { geometry in
38 | ZStack {
39 | ForEach(0..<self.slices.count) { index in
| `- warning: non-constant range: argument must be an integer literal
40 | PieChartCell(
41 | rect: geometry.frame(in: .local),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/RingsChart/RingsChart.swift:4:13: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct RingsChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[52/55] Compiling SwiftUICharts PieChartRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChartRow.swift:39:41: warning: non-constant range: argument must be an integer literal
37 | GeometryReader { geometry in
38 | ZStack {
39 | ForEach(0..<self.slices.count) { index in
| `- warning: non-constant range: argument must be an integer literal
40 | PieChartCell(
41 | rect: geometry.frame(in: .local),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/RingsChart/RingsChart.swift:4:13: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct RingsChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[53/55] Compiling SwiftUICharts Ring.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChartRow.swift:39:41: warning: non-constant range: argument must be an integer literal
37 | GeometryReader { geometry in
38 | ZStack {
39 | ForEach(0..<self.slices.count) { index in
| `- warning: non-constant range: argument must be an integer literal
40 | PieChartCell(
41 | rect: geometry.frame(in: .local),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/RingsChart/RingsChart.swift:4:13: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct RingsChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[54/55] Compiling SwiftUICharts RingsChart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChartRow.swift:39:41: warning: non-constant range: argument must be an integer literal
37 | GeometryReader { geometry in
38 | ZStack {
39 | ForEach(0..<self.slices.count) { index in
| `- warning: non-constant range: argument must be an integer literal
40 | PieChartCell(
41 | rect: geometry.frame(in: .local),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/RingsChart/RingsChart.swift:4:13: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct RingsChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
[55/55] Compiling SwiftUICharts RingsChartRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/PieChart/PieChartRow.swift:39:41: warning: non-constant range: argument must be an integer literal
37 | GeometryReader { geometry in
38 | ZStack {
39 | ForEach(0..<self.slices.count) { index in
| `- warning: non-constant range: argument must be an integer literal
40 | PieChartCell(
41 | rect: geometry.frame(in: .local),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Charts/RingsChart/RingsChart.swift:4:13: warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct RingsChart: ChartBase {
| `- note: add '@preconcurrency' to the 'ChartBase' conformance to defer isolation checking to run time
4 | public var chartData = ChartData()
| `- warning: main actor-isolated property 'chartData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 |
6 | @EnvironmentObject var style: ChartStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartBase.swift:5:9: note: 'chartData' declared here
3 | /// Protocol for any type of chart, to get access to underlying data
4 | public protocol ChartBase: View {
5 | var chartData: ChartData { get }
| `- note: 'chartData' declared here
6 | }
7 |
Build complete! (27.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUICharts",
"name" : "SwiftUICharts",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftUICharts",
"targets" : [
"SwiftUICharts"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIChartsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIChartsTests",
"path" : "Tests/SwiftUIChartsTests",
"sources" : [
"ArrayExtensionTests.swift",
"CGPointExtensionTests.swift",
"ColorExtensionTests.swift",
"SwiftUIChartsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftUICharts"
],
"type" : "test"
},
{
"c99name" : "SwiftUICharts",
"module_type" : "SwiftTarget",
"name" : "SwiftUICharts",
"path" : "Sources/SwiftUICharts",
"product_memberships" : [
"SwiftUICharts"
],
"sources" : [
"Base/Axis/AxisLabels.swift",
"Base/Axis/Extension/AxisLabels+Extension.swift",
"Base/Axis/Model/AxisLabelsPosition.swift",
"Base/Axis/Model/AxisLabelsStyle.swift",
"Base/Axis/Model/AxisLablesData.swift",
"Base/CardView/CardView.swift",
"Base/Chart/ChartBase.swift",
"Base/Chart/ChartData.swift",
"Base/Chart/ChartValue.swift",
"Base/Common/ViewGeometry.swift",
"Base/Common/ViewPreferenceKey.swift",
"Base/Common/ViewSizeData.swift",
"Base/Extensions/Array+Extension.swift",
"Base/Extensions/CGPoint+Extension.swift",
"Base/Extensions/CGRect+Extension.swift",
"Base/Extensions/ChartBase+Extension.swift",
"Base/Extensions/Color+Extension.swift",
"Base/Extensions/Path+QuadCurve.swift",
"Base/Extensions/Range+Extension.swift",
"Base/Extensions/Shape+Extension.swift",
"Base/Extensions/View+Extension.swift",
"Base/Grid/ChartGrid.swift",
"Base/Grid/ChartGridBaseShape.swift",
"Base/Grid/ChartGridShape.swift",
"Base/Grid/Extension/Grid+Extension.swift",
"Base/Grid/Model/GridOptions.swift",
"Base/Label/ChartLabel.swift",
"Base/Style/ChartStyle.swift",
"Base/Style/ColorGradient.swift",
"Base/Style/Colors.swift",
"Charts/BarChart/BarChart.swift",
"Charts/BarChart/BarChartCell.swift",
"Charts/BarChart/BarChartCellShape.swift",
"Charts/BarChart/BarChartRow.swift",
"Charts/LineChart/Extension/LineChart+Extension.swift",
"Charts/LineChart/IndicatorPoint.swift",
"Charts/LineChart/Line.swift",
"Charts/LineChart/LineBackgroundShape.swift",
"Charts/LineChart/LineBackgroundShapeView.swift",
"Charts/LineChart/LineChart.swift",
"Charts/LineChart/LineShape.swift",
"Charts/LineChart/LineShapeView.swift",
"Charts/LineChart/MarkerShape.swift",
"Charts/LineChart/Model/LineChartProperties.swift",
"Charts/LineChart/Model/LineStyle.swift",
"Charts/PieChart/PieChart.swift",
"Charts/PieChart/PieChartCell.swift",
"Charts/PieChart/PieChartHelpers.swift",
"Charts/PieChart/PieChartRow.swift",
"Charts/RingsChart/Ring.swift",
"Charts/RingsChart/RingsChart.swift",
"Charts/RingsChart/RingsChartRow.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.