Build Information
Successful build of DSFSparkline, reference master (5308a5
), with Swift 6.0 for macOS (SPM) on 6 Jan 2025 08:07:49 UTC.
Swift 6 data race errors: 20
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: annotate 'DefaultTrackStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | width: 10,
37 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 0.2)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:41:27: warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The default value style
41 | @objc public static let DefaultLineStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultLineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | width: 7,
43 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 1)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift:61:27: warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// Default fill style
61 | @objc public static let DefaultFillStyle = DSFSparkline.Fill.Color(srgbRed: 0, green: 0, blue: 1)
| |- warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultFillStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
[63/88] Compiling DSFSparkline DSFSparklineOverlay+ActivityGrid.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-components/DSFSparklineOverlay+RangeHighlight.swift:31:21: warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
29 | @objc(DSFSparklineOverlayRangeHighlight) class RangeHighlight: DSFSparklineOverlay.DataSource {
30 |
31 | static public let defaultFill =
| |- warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(),
33 | components: [0.5, 0.5, 0.5, 0.5])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:158:19: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 | @objc public var intrinsicHeight: CGFloat {
157 | if verticalCellCount <= 0 {
158 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 | }
160 | return (CGFloat(self.verticalCellCount) * (self.cellStyle.cellDimension + self.cellStyle.cellSpacing)) + self.cellStyle.cellSpacing
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:167:20: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
165 | if horizontalCellCount <= 0 {
166 | if verticalCellCount <= 0 {
167 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 | }
169 | var columnCount = self.dataSource.values.count / self.verticalCellCount
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:35:27: warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
33 | @objc(DSFSparklineOverlayCircularGauge) class CircularGauge: DSFSparklineOverlay {
34 | /// The default track style
35 | @objc public static let DefaultTrackStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultTrackStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | width: 10,
37 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 0.2)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:41:27: warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The default value style
41 | @objc public static let DefaultLineStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultLineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | width: 7,
43 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 1)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift:61:27: warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// Default fill style
61 | @objc public static let DefaultFillStyle = DSFSparkline.Fill.Color(srgbRed: 0, green: 0, blue: 1)
| |- warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultFillStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
[64/88] Compiling DSFSparkline DSFSparklineOverlay+Bar.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-components/DSFSparklineOverlay+RangeHighlight.swift:31:21: warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
29 | @objc(DSFSparklineOverlayRangeHighlight) class RangeHighlight: DSFSparklineOverlay.DataSource {
30 |
31 | static public let defaultFill =
| |- warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(),
33 | components: [0.5, 0.5, 0.5, 0.5])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:158:19: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 | @objc public var intrinsicHeight: CGFloat {
157 | if verticalCellCount <= 0 {
158 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 | }
160 | return (CGFloat(self.verticalCellCount) * (self.cellStyle.cellDimension + self.cellStyle.cellSpacing)) + self.cellStyle.cellSpacing
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:167:20: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
165 | if horizontalCellCount <= 0 {
166 | if verticalCellCount <= 0 {
167 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 | }
169 | var columnCount = self.dataSource.values.count / self.verticalCellCount
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:35:27: warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
33 | @objc(DSFSparklineOverlayCircularGauge) class CircularGauge: DSFSparklineOverlay {
34 | /// The default track style
35 | @objc public static let DefaultTrackStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultTrackStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | width: 10,
37 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 0.2)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:41:27: warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The default value style
41 | @objc public static let DefaultLineStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultLineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | width: 7,
43 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 1)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift:61:27: warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// Default fill style
61 | @objc public static let DefaultFillStyle = DSFSparkline.Fill.Color(srgbRed: 0, green: 0, blue: 1)
| |- warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultFillStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
[65/88] Compiling DSFSparkline DSFSparklineOverlay+CircularGauge.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-components/DSFSparklineOverlay+RangeHighlight.swift:31:21: warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
29 | @objc(DSFSparklineOverlayRangeHighlight) class RangeHighlight: DSFSparklineOverlay.DataSource {
30 |
31 | static public let defaultFill =
| |- warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(),
33 | components: [0.5, 0.5, 0.5, 0.5])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:158:19: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 | @objc public var intrinsicHeight: CGFloat {
157 | if verticalCellCount <= 0 {
158 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 | }
160 | return (CGFloat(self.verticalCellCount) * (self.cellStyle.cellDimension + self.cellStyle.cellSpacing)) + self.cellStyle.cellSpacing
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:167:20: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
165 | if horizontalCellCount <= 0 {
166 | if verticalCellCount <= 0 {
167 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 | }
169 | var columnCount = self.dataSource.values.count / self.verticalCellCount
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:35:27: warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
33 | @objc(DSFSparklineOverlayCircularGauge) class CircularGauge: DSFSparklineOverlay {
34 | /// The default track style
35 | @objc public static let DefaultTrackStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultTrackStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | width: 10,
37 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 0.2)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:41:27: warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The default value style
41 | @objc public static let DefaultLineStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultLineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | width: 7,
43 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 1)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift:61:27: warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// Default fill style
61 | @objc public static let DefaultFillStyle = DSFSparkline.Fill.Color(srgbRed: 0, green: 0, blue: 1)
| |- warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultFillStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
[66/88] Compiling DSFSparkline DSFSparklineOverlay+CircularProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-components/DSFSparklineOverlay+RangeHighlight.swift:31:21: warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
29 | @objc(DSFSparklineOverlayRangeHighlight) class RangeHighlight: DSFSparklineOverlay.DataSource {
30 |
31 | static public let defaultFill =
| |- warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(),
33 | components: [0.5, 0.5, 0.5, 0.5])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:158:19: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 | @objc public var intrinsicHeight: CGFloat {
157 | if verticalCellCount <= 0 {
158 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 | }
160 | return (CGFloat(self.verticalCellCount) * (self.cellStyle.cellDimension + self.cellStyle.cellSpacing)) + self.cellStyle.cellSpacing
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:167:20: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
165 | if horizontalCellCount <= 0 {
166 | if verticalCellCount <= 0 {
167 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 | }
169 | var columnCount = self.dataSource.values.count / self.verticalCellCount
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:35:27: warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
33 | @objc(DSFSparklineOverlayCircularGauge) class CircularGauge: DSFSparklineOverlay {
34 | /// The default track style
35 | @objc public static let DefaultTrackStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultTrackStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | width: 10,
37 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 0.2)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:41:27: warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The default value style
41 | @objc public static let DefaultLineStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultLineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | width: 7,
43 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 1)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift:61:27: warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// Default fill style
61 | @objc public static let DefaultFillStyle = DSFSparkline.Fill.Color(srgbRed: 0, green: 0, blue: 1)
| |- warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultFillStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
[67/88] Compiling DSFSparkline DSFSparklineOverlay+DataBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-components/DSFSparklineOverlay+RangeHighlight.swift:31:21: warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
29 | @objc(DSFSparklineOverlayRangeHighlight) class RangeHighlight: DSFSparklineOverlay.DataSource {
30 |
31 | static public let defaultFill =
| |- warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(),
33 | components: [0.5, 0.5, 0.5, 0.5])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:158:19: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 | @objc public var intrinsicHeight: CGFloat {
157 | if verticalCellCount <= 0 {
158 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 | }
160 | return (CGFloat(self.verticalCellCount) * (self.cellStyle.cellDimension + self.cellStyle.cellSpacing)) + self.cellStyle.cellSpacing
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:167:20: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
165 | if horizontalCellCount <= 0 {
166 | if verticalCellCount <= 0 {
167 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 | }
169 | var columnCount = self.dataSource.values.count / self.verticalCellCount
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:35:27: warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
33 | @objc(DSFSparklineOverlayCircularGauge) class CircularGauge: DSFSparklineOverlay {
34 | /// The default track style
35 | @objc public static let DefaultTrackStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultTrackStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | width: 10,
37 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 0.2)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:41:27: warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The default value style
41 | @objc public static let DefaultLineStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultLineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | width: 7,
43 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 1)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift:61:27: warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// Default fill style
61 | @objc public static let DefaultFillStyle = DSFSparkline.Fill.Color(srgbRed: 0, green: 0, blue: 1)
| |- warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultFillStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
[68/88] Compiling DSFSparkline DSFSparklineOverlay+Dot.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-components/DSFSparklineOverlay+RangeHighlight.swift:31:21: warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
29 | @objc(DSFSparklineOverlayRangeHighlight) class RangeHighlight: DSFSparklineOverlay.DataSource {
30 |
31 | static public let defaultFill =
| |- warning: static property 'defaultFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(),
33 | components: [0.5, 0.5, 0.5, 0.5])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:158:19: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 | @objc public var intrinsicHeight: CGFloat {
157 | if verticalCellCount <= 0 {
158 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
159 | }
160 | return (CGFloat(self.verticalCellCount) * (self.cellStyle.cellDimension + self.cellStyle.cellSpacing)) + self.cellStyle.cellSpacing
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift:167:20: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
165 | if horizontalCellCount <= 0 {
166 | if verticalCellCount <= 0 {
167 | return DSFView.noIntrinsicMetric
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 | }
169 | var columnCount = self.dataSource.values.count / self.verticalCellCount
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:35:27: warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
33 | @objc(DSFSparklineOverlayCircularGauge) class CircularGauge: DSFSparklineOverlay {
34 | /// The default track style
35 | @objc public static let DefaultTrackStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultTrackStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultTrackStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | width: 10,
37 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 0.2)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift:41:27: warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | /// The default value style
41 | @objc public static let DefaultLineStyle = DSFSparklineOverlay.CircularGauge.TrackStyle(
| |- warning: static property 'DefaultLineStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparklineOverlay.CircularGauge.TrackStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultLineStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | width: 7,
43 | fillColor: DSFSparkline.Fill.Color(red: 0, green: 0, blue: 0, alpha: 1)
:
111 | public extension DSFSparklineOverlay.CircularGauge {
112 | /// A circular gauge track style
113 | @objc(DSFSparklineOverlayCircularGaugeTrackStyle) class TrackStyle: NSObject {
| `- note: class 'TrackStyle' does not conform to the 'Sendable' protocol
114 | /// The width of the track
115 | @objc public var width: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift:61:27: warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | /// Default fill style
61 | @objc public static let DefaultFillStyle = DSFSparkline.Fill.Color(srgbRed: 0, green: 0, blue: 1)
| |- warning: static property 'DefaultFillStyle' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultFillStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
[69/88] Compiling DSFSparkline DSFSparklineOverlay+Line.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[70/88] Compiling DSFSparkline DSFSparklineOverlay+PercentBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[71/88] Compiling DSFSparkline DSFSparklineOverlay+Pie.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[72/88] Compiling DSFSparkline DSFSparklineOverlay+Stackline.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[73/88] Compiling DSFSparkline DSFSparklineOverlay+Stripes.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[74/88] Compiling DSFSparkline DSFSparklineOverlay+Tablet.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[75/88] Compiling DSFSparkline DSFSparklineOverlay+WinLossTie.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[76/88] Compiling DSFSparkline DSFSparklineOverlay+WiperGauge.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+Palette.swift:46:27: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// These palettes can be safely shared between multiple pie views
40 | @objc(DSFSparklinePalette) class Palette: NSObject {
| `- note: class 'Palette' does not conform to the 'Sendable' protocol
41 | /// The colors to be used when drawing segments
42 | @objc public let colors: [DSFColor]
:
44 |
45 | /// A default palette used when no palette is specified.
46 | @objc public static let shared = DSFSparkline.Palette([
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Palette' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | DSFColor.systemRed,
48 | DSFColor.systemOrange,
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift:30:14: warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | // A default gradient pattern
30 | static let defaultGradient = DSFSparkline.GradientBucket(posts: [
| |- warning: static property 'defaultGradient' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.GradientBucket' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultGradient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemRed.cgColor, location: 0),
32 | DSFSparkline.GradientBucket.Post(color: DSFColor.systemOrange.cgColor, location: 1 / 5),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+GradientBucket.swift:36:33: note: class 'GradientBucket' does not conform to the 'Sendable' protocol
34 | /// broken up into equal buckets containing a color
35 |
36 | @objc(DSFGradientBucket) class GradientBucket: NSObject {
| `- note: class 'GradientBucket' does not conform to the 'Sendable' protocol
37 | static let rgbSpace = CGColorSpaceCreateDeviceRGB()
38 | static let EmptyColor = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 0, 0, 0])!
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:33:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift:34:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
34 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:30:14: warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | static let greenStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 1])!
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
| |- warning: static property 'greenFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greenFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift:32:14: warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
30 | static let greenFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [0, 1, 0, 0.3])!)
31 | static let redStroke = CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 1])!
32 | static let redFill = DSFSparkline.Fill.Color(CGColor(colorSpace: CGColorSpaceCreateDeviceRGB(), components: [1, 0, 0, 0.3])!)
| |- warning: static property 'redFill' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.Fill.Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'redFill' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// The width of the stroke for the tablet
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/fill/DSFSparkline+FillColor.swift:31:37: note: class 'Color' does not conform to the 'Sendable' protocol
29 |
30 | /// The solid color fill
31 | @objc(DSFSparklineFillColor) class `Color`: NSObject, DSFSparklineFillable {
| `- note: class 'Color' does not conform to the 'Sendable' protocol
32 |
33 | /// Black color
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:41:27: warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
31 | public extension DSFSparkline {
32 | /// A fill color that can change depending on a value
33 | @objc(DSFSparklineValueBasedFill) class ValueBasedFill: NSObject {
| `- note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
34 | /// Is this a simple flat color?
35 | @objc public var isFlatColor: Bool { self.flatColor != nil }
:
39 | @objc public var isGradient: Bool { self.gradient != nil }
40 |
41 | @objc public static let sharedPalette = ValueBasedFill(palette: DSFSparkline.Palette.shared)
| |- warning: static property 'sharedPalette' is not concurrency-safe because non-'Sendable' type 'DSFSparkline.ValueBasedFill' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sharedPalette' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | private var flatColor: CGColor? = nil
[77/88] Compiling DSFSparkline CGColor+BackwardsCompatibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[78/88] Compiling DSFSparkline CGContext+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[79/88] Compiling DSFSparkline CGPath+Hermite.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[80/88] Compiling DSFSparkline CGPath+innerShadow.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[81/88] Compiling DSFSparkline DSFSparkline+Shadow.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[82/88] Compiling DSFSparkline LayerInvalidating.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[83/88] Compiling DSFSparkline NSShadow+extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[84/88] Compiling DSFSparkline Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:33:20: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:35:20: warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
33 | public static let display = LayerInvalidatingType(rawValue: 1 << 0)
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
| |- warning: static property 'layout' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'layout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let all: LayerInvalidatingType = [.display, .layout]
37 | public init(rawValue: UInt) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/LayerInvalidating.swift:36:20: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
28 | #endif
29 |
30 | public struct LayerInvalidatingType: OptionSet {
| `- note: consider making struct 'LayerInvalidatingType' conform to the 'Sendable' protocol
31 | public let rawValue: UInt
32 | /// Call 'setNeedsDisplay()' on the layer whenever the property value changes
:
34 | /// Call 'setNeedsLayout()' on the layer whenever the property value changes
35 | public static let layout = LayerInvalidatingType(rawValue: 1 << 1)
36 | public static let all: LayerInvalidatingType = [.display, .layout]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'LayerInvalidatingType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public init(rawValue: UInt) {
38 | self.rawValue = rawValue
[84/88] Write Objects.LinkFileList
[86/88] Archiving libDSFSparkline-static.a
[87/88] Linking libDSFSparkline-shared.dylib
Build complete! (22.44s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/Info.plist
Build complete.
{
"dependencies" : [
{
"identity" : "swiftimagereadwrite",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "1.7.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/SwiftImageReadWrite"
}
],
"manifest_display_name" : "DSFSparkline",
"name" : "DSFSparkline",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DSFSparkline",
"targets" : [
"DSFSparkline"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DSFSparkline-static",
"targets" : [
"DSFSparkline"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DSFSparkline-shared",
"targets" : [
"DSFSparkline"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DSFSparklineTests",
"module_type" : "SwiftTarget",
"name" : "DSFSparklineTests",
"path" : "Tests/DSFSparklineTests",
"product_dependencies" : [
"SwiftImageReadWrite"
],
"sources" : [
"CircularGaugeTests.swift",
"CircularProgressTests.swift",
"DSFSparklineTests.swift",
"LineGraphTests.swift",
"PresentationTests.swift",
"XCTestManifests.swift",
"utils/TestFilesContainer.swift"
],
"target_dependencies" : [
"DSFSparkline"
],
"type" : "test"
},
{
"c99name" : "DSFSparkline",
"module_type" : "SwiftTarget",
"name" : "DSFSparkline",
"path" : "Sources/DSFSparkline",
"product_memberships" : [
"DSFSparkline",
"DSFSparkline-static",
"DSFSparkline-shared"
],
"sources" : [
"datasource/DSFSparkline+DataSource.swift",
"datasource/DSFSparkline+StaticDataSource.swift",
"datasource/data-core/SparklineData.swift",
"datasource/data-core/SparklineWindow.swift",
"overlay/renderers/core/DSFSparklineOverlay+Centerable.swift",
"overlay/renderers/core/DSFSparklineOverlay+DataSource.swift",
"overlay/renderers/core/DSFSparklineOverlay+StaticDataSource.swift",
"overlay/renderers/core/DSFSparklineOverlay.swift",
"overlay/renderers/overlays-components/DSFSparklineOverlay+GridLines.swift",
"overlay/renderers/overlays-components/DSFSparklineOverlay+RangeHighlight.swift",
"overlay/renderers/overlays-components/DSFSparklineOverlay+ZeroLine.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+ActivityGrid.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+Bar.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularGauge.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+CircularProgress.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+DataBar.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+Dot.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+Line.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+PercentBar.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+Pie.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+Stackline.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+Stripes.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+Tablet.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+WinLossTie.swift",
"overlay/renderers/overlays-graph/DSFSparklineOverlay+WiperGauge.swift",
"overlay/surfaces/DSFSparklineSurface+AttributedString.swift",
"overlay/surfaces/DSFSparklineSurface+Bitmap.swift",
"overlay/surfaces/DSFSparklineSurface+SwiftUI.swift",
"overlay/surfaces/DSFSparklineSurface+View.swift",
"overlay/surfaces/DSFSparklineSurface.swift",
"overlay/types/DSFSparkline+ActivityGridDefinition.swift",
"overlay/types/DSFSparkline+GradientBucket.swift",
"overlay/types/DSFSparkline+GridLinesDefinition.swift",
"overlay/types/DSFSparkline+HighlightRangeDefinition.swift",
"overlay/types/DSFSparkline+Palette.swift",
"overlay/types/DSFSparkline+ValueBasedFill.swift",
"overlay/types/DSFSparkline+ZeroLineDefinition.swift",
"overlay/types/DSFSparkline.swift",
"overlay/types/fill/DSFSparkline+FillColor.swift",
"overlay/types/fill/DSFSparkline+FillGradient.swift",
"overlay/types/fill/DSFSparkline+Fillable.swift",
"prebuilt/DSFSparklineActivityGridView+SwiftUI.swift",
"prebuilt/DSFSparklineActivityGridView.swift",
"prebuilt/DSFSparklineBarGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineBarGraphView.swift",
"prebuilt/DSFSparklineCircularGaugeView+SwiftUI.swift",
"prebuilt/DSFSparklineCircularGaugeView.swift",
"prebuilt/DSFSparklineCircularProgressView+SwiftUI.swift",
"prebuilt/DSFSparklineCircularProgressView.swift",
"prebuilt/DSFSparklineDataBarGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineDataBarGraphView.swift",
"prebuilt/DSFSparklineDotGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineDotGraphView.swift",
"prebuilt/DSFSparklineLineGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineLineGraphView.swift",
"prebuilt/DSFSparklinePercentBarGraphView+SwiftUI.swift",
"prebuilt/DSFSparklinePercentBarGraphView.swift",
"prebuilt/DSFSparklinePieGraphView+SwiftUI.swift",
"prebuilt/DSFSparklinePieGraphView.swift",
"prebuilt/DSFSparklineStackLineGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineStackLineGraphView.swift",
"prebuilt/DSFSparklineStripesGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineStripesGraphView.swift",
"prebuilt/DSFSparklineTabletGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineTabletGraphView.swift",
"prebuilt/DSFSparklineWinLossGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineWinLossGraphView.swift",
"prebuilt/DSFSparklineWiperGaugeGraphView+SwiftUI.swift",
"prebuilt/DSFSparklineWiperGaugeGraphView.swift",
"prebuilt/ui/DSFSparklineDataSourceView.swift",
"prebuilt/ui/DSFSparklineZeroLinedGraphView.swift",
"util/Angle.swift",
"util/ArbitraryAnimator.swift",
"util/CGColor+BackwardsCompatibility.swift",
"util/CGContext+extensions.swift",
"util/CGPath+Hermite.swift",
"util/CGPath+innerShadow.swift",
"util/DSFSparkline+Shadow.swift",
"util/LayerInvalidating.swift",
"util/NSShadow+extensions.swift",
"util/Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.