Build Information
Successful build of SwiftUICharts, reference 2.0.0 (2a1572), with Swift 6.1 for macOS (SPM) on 2 Mar 2026 16:46:52 UTC.
Swift 6 data race errors: 18
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apppear/chartview.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apppear/chartview
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 2a15724 Add Apple privacy manifest for SwiftUICharts SDK
Cloned https://github.com/apppear/chartview.git
Revision (git rev-parse @):
2a1572430eacc31311a9b23d7dfa1e9cf9e49234
SUCCESS checkout https://github.com/apppear/chartview.git at 2.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apppear/chartview.git
https://github.com/apppear/chartview.git
{
"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",
"ChartSelectionDispatcherTests.swift",
"ChartXAlignmentTests.swift",
"ColorExtensionTests.swift",
"ComposableUsageSmokeTests.swift",
"DocumentationIntegrityTests.swift",
"MigrationGuideTests.swift",
"SwiftUIChartsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftUICharts"
],
"type" : "test"
},
{
"c99name" : "SwiftUICharts",
"module_type" : "SwiftTarget",
"name" : "SwiftUICharts",
"path" : "Sources/SwiftUICharts",
"product_memberships" : [
"SwiftUICharts"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Base/Axis/AxisLabels.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/ChartDownsampler.swift",
"Base/Chart/ChartSelectionDispatcher.swift",
"Base/Chart/ChartSelectionEvent.swift",
"Base/Chart/ChartStreamingDataSource.swift",
"Base/Chart/ChartValue.swift",
"Base/Chart/ChartXScale.swift",
"Base/Common/ViewGeometry.swift",
"Base/Common/ViewPreferenceKey.swift",
"Base/Common/ViewSizeData.swift",
"Base/Config/ChartAxisConfig.swift",
"Base/Config/ChartGridConfig.swift",
"Base/Config/ChartLineConfig.swift",
"Base/Config/ChartPerformanceConfig.swift",
"Base/Config/ChartSeriesConfig.swift",
"Base/Environment/ChartEnvironmentKeys.swift",
"Base/Environment/ChartPreferenceKeys.swift",
"Base/Extensions/Array+Extension.swift",
"Base/Extensions/CGPoint+Extension.swift",
"Base/Extensions/CGRect+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/Model/GridOptions.swift",
"Base/Label/ChartLabel.swift",
"Base/Label/ChartLegend.swift",
"Base/Modifiers/ChartAxisModifiers.swift",
"Base/Modifiers/ChartDataModifiers.swift",
"Base/Modifiers/ChartGridModifiers.swift",
"Base/Modifiers/ChartInteractionModifier.swift",
"Base/Modifiers/ChartLineModifiers.swift",
"Base/Modifiers/ChartPerformanceModifier.swift",
"Base/Modifiers/ChartSeriesModifiers.swift",
"Base/Modifiers/ChartStyleModifier.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/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.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/67] Compiling SwiftUICharts ChartDownsampler.swift
[5/67] Compiling SwiftUICharts ChartSelectionDispatcher.swift
[6/67] Compiling SwiftUICharts ChartSelectionEvent.swift
[7/67] Compiling SwiftUICharts ChartStreamingDataSource.swift
[8/67] Compiling SwiftUICharts ChartValue.swift
[9/67] Compiling SwiftUICharts ChartXScale.swift
[10/67] Compiling SwiftUICharts ViewGeometry.swift
[11/74] Compiling SwiftUICharts BarChartCell.swift
[12/74] Compiling SwiftUICharts BarChartCellShape.swift
[13/74] Compiling SwiftUICharts BarChartRow.swift
[14/74] Compiling SwiftUICharts IndicatorPoint.swift
[15/74] Compiling SwiftUICharts Line.swift
[16/74] Compiling SwiftUICharts LineBackgroundShape.swift
[17/74] Compiling SwiftUICharts LineBackgroundShapeView.swift
[18/74] Compiling SwiftUICharts ChartPerformanceModifier.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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[19/74] Compiling SwiftUICharts ChartSeriesModifiers.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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[20/74] Compiling SwiftUICharts ChartStyleModifier.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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[21/74] 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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[22/74] 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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[23/74] 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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[24/74] 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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
[25/74] Emitting module SwiftUICharts
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
/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: add '@MainActor' to make static property 'orangeBright' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'redBlack' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'greenRed' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'whiteBlack' part of global actor 'MainActor'
| `- 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/LineChart/LineShapeView.swift:11:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[26/74] Compiling SwiftUICharts Range+Extension.swift
[27/74] Compiling SwiftUICharts Shape+Extension.swift
[28/74] Compiling SwiftUICharts View+Extension.swift
[29/74] Compiling SwiftUICharts ChartGrid.swift
[30/74] Compiling SwiftUICharts ChartGridBaseShape.swift
[31/74] Compiling SwiftUICharts ChartGridShape.swift
[32/74] Compiling SwiftUICharts GridOptions.swift
[33/74] Compiling SwiftUICharts ChartLabel.swift
[34/74] Compiling SwiftUICharts ChartLegend.swift
[35/74] Compiling SwiftUICharts ChartAxisModifiers.swift
[36/74] Compiling SwiftUICharts ChartDataModifiers.swift
[37/74] Compiling SwiftUICharts ChartGridModifiers.swift
[38/74] Compiling SwiftUICharts ChartInteractionModifier.swift
[39/74] Compiling SwiftUICharts ChartLineModifiers.swift
[40/74] Compiling SwiftUICharts LineChart.swift
/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 requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[41/74] Compiling SwiftUICharts LineShape.swift
/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 requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[42/74] Compiling SwiftUICharts LineShapeView.swift
/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 requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[43/74] Compiling SwiftUICharts MarkerShape.swift
/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 requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[44/74] Compiling SwiftUICharts LineChartProperties.swift
/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 requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[45/74] Compiling SwiftUICharts LineStyle.swift
/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 requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[46/74] Compiling SwiftUICharts PieChart.swift
/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 requirement from protocol 'Animatable'; 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: ChartLineConfig
:
9 | var trimTo: Double = 0
10 |
11 | var animatableData: CGFloat {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated requirement from protocol 'Animatable'; this is an error in the Swift 6 language mode
12 | get { CGFloat(trimTo) }
13 | set { trimTo = Double(newValue) }
[47/74] Compiling SwiftUICharts ChartEnvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
[48/74] Compiling SwiftUICharts ChartPreferenceKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
[49/74] Compiling SwiftUICharts Array+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
[50/74] Compiling SwiftUICharts CGPoint+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
[51/74] Compiling SwiftUICharts CGRect+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
[52/74] Compiling SwiftUICharts Color+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
[53/74] Compiling SwiftUICharts Path+QuadCurve.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ChartXDomainMode {
| `- note: consider making enum 'ChartXDomainMode' conform to the 'Sendable' protocol
4 | case categorical
5 | case numeric
:
11 |
12 | private struct ChartXDomainModeKey: EnvironmentKey {
13 | static let defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartXDomainMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | private struct ChartStyleKey: EnvironmentKey {
25 | static let defaultValue = ChartStyle(backgroundColor: Color.primary.opacity(0.04), foregroundColor: .orangeBright)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Style/ChartStyle.swift:3:15: note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartStyle {
| `- note: consider making struct 'ChartStyle' conform to the 'Sendable' protocol
4 | public let backgroundColor: ColorGradient
5 | public let foregroundColor: [ColorGradient]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:29:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private struct ChartInteractionValueKey: EnvironmentKey {
29 | static let defaultValue: ChartValue? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartValue?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Chart/ChartValue.swift:4:20: note: class 'ChartValue' does not conform to the 'Sendable' protocol
2 |
3 | /// Representation of a single data point in a chart that is being observed.
4 | public final class ChartValue: ObservableObject {
| `- note: class 'ChartValue' does not conform to the 'Sendable' protocol
5 | @Published public var currentValue: Double = 0
6 | @Published public var interactionInProgress: Bool = false
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private struct ChartSelectionHandlerKey: EnvironmentKey {
33 | static let defaultValue: ChartSelectionHandler? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSelectionHandler?' (aka 'Optional<(ChartSelectionEvent) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | private struct ChartGridConfigKey: EnvironmentKey {
37 | static let defaultValue = ChartGridConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartGridConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartGridConfig.swift:3:15: note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartGridConfig {
| `- note: consider making struct 'ChartGridConfig' conform to the 'Sendable' protocol
4 | public var numberOfHorizontalLines: Int
5 | public var numberOfVerticalLines: Int
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:41:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | private struct ChartAxisConfigKey: EnvironmentKey {
41 | static let defaultValue = ChartAxisConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartAxisConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartAxisConfig.swift:18:15: note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
16 | }
17 |
18 | public struct ChartAxisConfig {
| `- note: consider making struct 'ChartAxisConfig' conform to the 'Sendable' protocol
19 | public var axisYLabels: [String]
20 | public var axisXLabels: [ChartXAxisLabel]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:45:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private struct ChartLineConfigKey: EnvironmentKey {
45 | static let defaultValue = ChartLineConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartLineConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartLineConfig.swift:3:15: note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartLineConfig {
| `- note: consider making struct 'ChartLineConfig' conform to the 'Sendable' protocol
4 | public var lineWidth: CGFloat
5 | public var backgroundGradient: ColorGradient?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:49:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | private struct ChartSeriesConfigKey: EnvironmentKey {
49 | static let defaultValue = ChartSeriesConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartSeriesConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartSeriesConfig.swift:3:15: note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ChartSeriesConfig {
| `- note: consider making struct 'ChartSeriesConfig' conform to the 'Sendable' protocol
4 | public var seriesID: String?
5 | public var hiddenSeriesIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartEnvironmentKeys.swift:53:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private struct ChartPerformanceConfigKey: EnvironmentKey {
53 | static let defaultValue = ChartPerformanceConfig()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ChartPerformanceConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Config/ChartPerformanceConfig.swift:9:15: note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
7 | }
8 |
9 | public struct ChartPerformanceConfig {
| `- note: consider making struct 'ChartPerformanceConfig' conform to the 'Sendable' protocol
10 | public var mode: ChartPerformanceMode
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:15:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct ChartDataPointsPreferenceKey: PreferenceKey {
15 | static var defaultValue: ChartDataPointsSnapshot = ChartDataPointsSnapshot(points: [])
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | static func reduce(value: inout ChartDataPointsSnapshot, nextValue: () -> ChartDataPointsSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct ChartXRangePreferenceKey: PreferenceKey {
26 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | struct ChartYRangePreferenceKey: PreferenceKey {
36 | static var defaultValue: ClosedRange<Double>? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static func reduce(value: inout ClosedRange<Double>?, nextValue: () -> ClosedRange<Double>?) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/Base/Environment/ChartPreferenceKeys.swift:46:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct ChartXDomainModePreferenceKey: PreferenceKey {
46 | static var defaultValue: ChartXDomainMode = .numeric
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static func reduce(value: inout ChartXDomainMode, nextValue: () -> ChartXDomainMode) {
[54/74] Compiling SwiftUICharts AxisLabels.swift
[55/74] Compiling SwiftUICharts AxisLabelsPosition.swift
[56/74] Compiling SwiftUICharts AxisLabelsStyle.swift
[57/74] Compiling SwiftUICharts AxisLablesData.swift
[58/74] Compiling SwiftUICharts CardView.swift
[59/74] Compiling SwiftUICharts ChartBase.swift
[60/74] Compiling SwiftUICharts ChartData.swift
[61/74] Compiling SwiftUICharts ViewPreferenceKey.swift
[62/74] Compiling SwiftUICharts ViewSizeData.swift
[63/74] Compiling SwiftUICharts ChartAxisConfig.swift
[64/74] Compiling SwiftUICharts ChartGridConfig.swift
[65/74] Compiling SwiftUICharts ChartLineConfig.swift
[66/74] Compiling SwiftUICharts ChartPerformanceConfig.swift
[67/74] Compiling SwiftUICharts ChartSeriesConfig.swift
[68/74] Compiling SwiftUICharts PieChartCell.swift
[69/74] Compiling SwiftUICharts PieChartHelpers.swift
[70/74] Compiling SwiftUICharts PieChartRow.swift
[71/74] Compiling SwiftUICharts Ring.swift
[72/74] Compiling SwiftUICharts RingsChart.swift
[73/74] Compiling SwiftUICharts RingsChartRow.swift
[74/74] Compiling SwiftUICharts resource_bundle_accessor.swift
Build complete! (10.73s)
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",
"ChartSelectionDispatcherTests.swift",
"ChartXAlignmentTests.swift",
"ColorExtensionTests.swift",
"ComposableUsageSmokeTests.swift",
"DocumentationIntegrityTests.swift",
"MigrationGuideTests.swift",
"SwiftUIChartsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftUICharts"
],
"type" : "test"
},
{
"c99name" : "SwiftUICharts",
"module_type" : "SwiftTarget",
"name" : "SwiftUICharts",
"path" : "Sources/SwiftUICharts",
"product_memberships" : [
"SwiftUICharts"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftUICharts/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Base/Axis/AxisLabels.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/ChartDownsampler.swift",
"Base/Chart/ChartSelectionDispatcher.swift",
"Base/Chart/ChartSelectionEvent.swift",
"Base/Chart/ChartStreamingDataSource.swift",
"Base/Chart/ChartValue.swift",
"Base/Chart/ChartXScale.swift",
"Base/Common/ViewGeometry.swift",
"Base/Common/ViewPreferenceKey.swift",
"Base/Common/ViewSizeData.swift",
"Base/Config/ChartAxisConfig.swift",
"Base/Config/ChartGridConfig.swift",
"Base/Config/ChartLineConfig.swift",
"Base/Config/ChartPerformanceConfig.swift",
"Base/Config/ChartSeriesConfig.swift",
"Base/Environment/ChartEnvironmentKeys.swift",
"Base/Environment/ChartPreferenceKeys.swift",
"Base/Extensions/Array+Extension.swift",
"Base/Extensions/CGPoint+Extension.swift",
"Base/Extensions/CGRect+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/Model/GridOptions.swift",
"Base/Label/ChartLabel.swift",
"Base/Label/ChartLegend.swift",
"Base/Modifiers/ChartAxisModifiers.swift",
"Base/Modifiers/ChartDataModifiers.swift",
"Base/Modifiers/ChartGridModifiers.swift",
"Base/Modifiers/ChartInteractionModifier.swift",
"Base/Modifiers/ChartLineModifiers.swift",
"Base/Modifiers/ChartPerformanceModifier.swift",
"Base/Modifiers/ChartSeriesModifiers.swift",
"Base/Modifiers/ChartStyleModifier.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/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.3"
}
Done.