Build Information
Successful build of DSFSparkline, reference 6.2.1 (5308a5
), with Swift 6.0 for macOS (SPM) on 6 Jan 2025 01:34:08 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
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:61:22: warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
61 | let base = context.coordinator.parent
| `- warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | base.overlays.forEach { view.addOverlay($0) }
63 |
SwiftUI.NSViewRepresentableContext:7:43: note: property declared here
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
| `- note: property declared here
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| `- warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | return view
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:93:14: note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
91 |
92 | /// Add a sparkline overlay to the view
93 | public func addOverlay(_ overlay: DSFSparklineOverlay) {
| `- note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
94 | self.rootLayer.addSublayer(overlay)
95 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:159:21: warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
| `- warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/Utilities.swift:75:13: note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
73 | extension DSFView {
74 | #if os(macOS)
75 | @objc func retinaScale() -> CGFloat {
| `- note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
76 | return self.window?.screen?.backingScaleFactor ?? 1.0
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:27: warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | }
108 |
109 | func edgeInsets(for rect: CGRect) -> DSFEdgeInsets {
| `- note: calls to instance method 'edgeInsets(for:)' from outside of its actor context are implicitly asynchronous
110 | /// Calculate the total inset required
111 | return self.overlays.reduce(DSFEdgeInsets.zero) { (result, overlay) in
:
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:48: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:162:43: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:108:21: warning: static property 'DefaultLight' 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
106 |
107 | /// A default palette used when no palette is specified.
108 | public static let DefaultLight = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultLight' 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 'DefaultLight' 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
109 | DSFColor(red: 0.820, green: 0.830, blue: 0.842, alpha: 1.000),
110 | DSFColor(red: 0.606, green: 0.914, blue: 0.657, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:116:21: warning: static property 'DefaultDark' 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
114 | ])
115 |
116 | public static let DefaultDark = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultDark' 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 'DefaultDark' 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
117 | DSFColor(red: 0.086, green: 0.106, blue: 0.132, alpha: 1.000),
118 | DSFColor(red: 0.055, green: 0.269, blue: 0.159, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 |
64 | return view
[65/88] Compiling DSFSparkline DSFSparklineSurface.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:58:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:55:18: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
53 | deinit {}
54 |
55 | override public init(frame: CGRect) {
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
56 | super.init(frame: frame)
57 | self.setup()
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:59:8: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:61:22: warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
61 | let base = context.coordinator.parent
| `- warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | base.overlays.forEach { view.addOverlay($0) }
63 |
SwiftUI.NSViewRepresentableContext:7:43: note: property declared here
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
| `- note: property declared here
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| `- warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | return view
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:93:14: note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
91 |
92 | /// Add a sparkline overlay to the view
93 | public func addOverlay(_ overlay: DSFSparklineOverlay) {
| `- note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
94 | self.rootLayer.addSublayer(overlay)
95 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:159:21: warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
| `- warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/Utilities.swift:75:13: note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
73 | extension DSFView {
74 | #if os(macOS)
75 | @objc func retinaScale() -> CGFloat {
| `- note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
76 | return self.window?.screen?.backingScaleFactor ?? 1.0
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:27: warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | }
108 |
109 | func edgeInsets(for rect: CGRect) -> DSFEdgeInsets {
| `- note: calls to instance method 'edgeInsets(for:)' from outside of its actor context are implicitly asynchronous
110 | /// Calculate the total inset required
111 | return self.overlays.reduce(DSFEdgeInsets.zero) { (result, overlay) in
:
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:48: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:162:43: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:108:21: warning: static property 'DefaultLight' 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
106 |
107 | /// A default palette used when no palette is specified.
108 | public static let DefaultLight = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultLight' 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 'DefaultLight' 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
109 | DSFColor(red: 0.820, green: 0.830, blue: 0.842, alpha: 1.000),
110 | DSFColor(red: 0.606, green: 0.914, blue: 0.657, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:116:21: warning: static property 'DefaultDark' 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
114 | ])
115 |
116 | public static let DefaultDark = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultDark' 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 'DefaultDark' 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
117 | DSFColor(red: 0.086, green: 0.106, blue: 0.132, alpha: 1.000),
118 | DSFColor(red: 0.055, green: 0.269, blue: 0.159, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 |
64 | return view
[66/88] Compiling DSFSparkline DSFSparkline+ActivityGridDefinition.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:58:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:55:18: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
53 | deinit {}
54 |
55 | override public init(frame: CGRect) {
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
56 | super.init(frame: frame)
57 | self.setup()
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:59:8: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:61:22: warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
61 | let base = context.coordinator.parent
| `- warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | base.overlays.forEach { view.addOverlay($0) }
63 |
SwiftUI.NSViewRepresentableContext:7:43: note: property declared here
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
| `- note: property declared here
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| `- warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | return view
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:93:14: note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
91 |
92 | /// Add a sparkline overlay to the view
93 | public func addOverlay(_ overlay: DSFSparklineOverlay) {
| `- note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
94 | self.rootLayer.addSublayer(overlay)
95 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:159:21: warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
| `- warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/Utilities.swift:75:13: note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
73 | extension DSFView {
74 | #if os(macOS)
75 | @objc func retinaScale() -> CGFloat {
| `- note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
76 | return self.window?.screen?.backingScaleFactor ?? 1.0
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:27: warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | }
108 |
109 | func edgeInsets(for rect: CGRect) -> DSFEdgeInsets {
| `- note: calls to instance method 'edgeInsets(for:)' from outside of its actor context are implicitly asynchronous
110 | /// Calculate the total inset required
111 | return self.overlays.reduce(DSFEdgeInsets.zero) { (result, overlay) in
:
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:48: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:162:43: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:108:21: warning: static property 'DefaultLight' 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
106 |
107 | /// A default palette used when no palette is specified.
108 | public static let DefaultLight = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultLight' 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 'DefaultLight' 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
109 | DSFColor(red: 0.820, green: 0.830, blue: 0.842, alpha: 1.000),
110 | DSFColor(red: 0.606, green: 0.914, blue: 0.657, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:116:21: warning: static property 'DefaultDark' 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
114 | ])
115 |
116 | public static let DefaultDark = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultDark' 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 'DefaultDark' 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
117 | DSFColor(red: 0.086, green: 0.106, blue: 0.132, alpha: 1.000),
118 | DSFColor(red: 0.055, green: 0.269, blue: 0.159, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 |
64 | return view
[67/88] Compiling DSFSparkline DSFSparkline+GradientBucket.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:58:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:55:18: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
53 | deinit {}
54 |
55 | override public init(frame: CGRect) {
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
56 | super.init(frame: frame)
57 | self.setup()
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:59:8: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:61:22: warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
61 | let base = context.coordinator.parent
| `- warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | base.overlays.forEach { view.addOverlay($0) }
63 |
SwiftUI.NSViewRepresentableContext:7:43: note: property declared here
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
| `- note: property declared here
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| `- warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | return view
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:93:14: note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
91 |
92 | /// Add a sparkline overlay to the view
93 | public func addOverlay(_ overlay: DSFSparklineOverlay) {
| `- note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
94 | self.rootLayer.addSublayer(overlay)
95 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:159:21: warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
| `- warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/Utilities.swift:75:13: note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
73 | extension DSFView {
74 | #if os(macOS)
75 | @objc func retinaScale() -> CGFloat {
| `- note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
76 | return self.window?.screen?.backingScaleFactor ?? 1.0
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:27: warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | }
108 |
109 | func edgeInsets(for rect: CGRect) -> DSFEdgeInsets {
| `- note: calls to instance method 'edgeInsets(for:)' from outside of its actor context are implicitly asynchronous
110 | /// Calculate the total inset required
111 | return self.overlays.reduce(DSFEdgeInsets.zero) { (result, overlay) in
:
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:48: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:162:43: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:108:21: warning: static property 'DefaultLight' 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
106 |
107 | /// A default palette used when no palette is specified.
108 | public static let DefaultLight = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultLight' 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 'DefaultLight' 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
109 | DSFColor(red: 0.820, green: 0.830, blue: 0.842, alpha: 1.000),
110 | DSFColor(red: 0.606, green: 0.914, blue: 0.657, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:116:21: warning: static property 'DefaultDark' 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
114 | ])
115 |
116 | public static let DefaultDark = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultDark' 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 'DefaultDark' 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
117 | DSFColor(red: 0.086, green: 0.106, blue: 0.132, alpha: 1.000),
118 | DSFColor(red: 0.055, green: 0.269, blue: 0.159, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 |
64 | return view
[68/88] Compiling DSFSparkline DSFSparkline+GridLinesDefinition.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:58:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:55:18: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
53 | deinit {}
54 |
55 | override public init(frame: CGRect) {
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
56 | super.init(frame: frame)
57 | self.setup()
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:59:8: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:61:22: warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
57 | private func makeSurface(_ context: Context) -> DSFSparklineSurfaceView {
| `- note: add '@MainActor' to make instance method 'makeSurface' part of global actor 'MainActor'
58 | let view = DSFSparklineSurfaceView(frame: .zero)
59 | view.translatesAutoresizingMaskIntoConstraints = false
60 |
61 | let base = context.coordinator.parent
| `- warning: main actor-isolated property 'coordinator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | base.overlays.forEach { view.addOverlay($0) }
63 |
SwiftUI.NSViewRepresentableContext:7:43: note: property declared here
5 | @available(visionOS, unavailable)
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
| `- note: property declared here
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| `- warning: call to main actor-isolated instance method 'addOverlay' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | return view
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:93:14: note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
91 |
92 | /// Add a sparkline overlay to the view
93 | public func addOverlay(_ overlay: DSFSparklineOverlay) {
| `- note: calls to instance method 'addOverlay' from outside of its actor context are implicitly asynchronous
94 | self.rootLayer.addSublayer(overlay)
95 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:159:21: warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
| `- warning: call to main actor-isolated instance method 'retinaScale()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/util/Utilities.swift:75:13: note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
73 | extension DSFView {
74 | #if os(macOS)
75 | @objc func retinaScale() -> CGFloat {
| `- note: calls to instance method 'retinaScale()' from outside of its actor context are implicitly asynchronous
76 | return self.window?.screen?.backingScaleFactor ?? 1.0
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:27: warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
107 | }
108 |
109 | func edgeInsets(for rect: CGRect) -> DSFEdgeInsets {
| `- note: calls to instance method 'edgeInsets(for:)' from outside of its actor context are implicitly asynchronous
110 | /// Calculate the total inset required
111 | return self.overlays.reduce(DSFEdgeInsets.zero) { (result, overlay) in
:
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: call to main actor-isolated instance method 'edgeInsets(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:161:48: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
163 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+View.swift:162:43: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func draw(_ layer: CALayer, in ctx: CGContext) {
| `- note: add '@MainActor' to make instance method 'draw(_:in:)' part of global actor 'MainActor'
158 | if let l = layer as? DSFSparklineOverlay {
159 | let scale = view.retinaScale()
160 | l.contentsScale = scale
161 | let insetBounds = view.edgeInsets(for: view.bounds)
162 | l.drawGraph(context: ctx, bounds: view.bounds.inset(by: insetBounds), scale: scale)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | @MainActor open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:108:21: warning: static property 'DefaultLight' 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
106 |
107 | /// A default palette used when no palette is specified.
108 | public static let DefaultLight = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultLight' 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 'DefaultLight' 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
109 | DSFColor(red: 0.820, green: 0.830, blue: 0.842, alpha: 1.000),
110 | DSFColor(red: 0.606, green: 0.914, blue: 0.657, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ActivityGridDefinition.swift:116:21: warning: static property 'DefaultDark' 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
114 | ])
115 |
116 | public static let DefaultDark = DSFSparkline.ValueBasedFill(colors: [
| |- warning: static property 'DefaultDark' 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 'DefaultDark' 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
117 | DSFColor(red: 0.086, green: 0.106, blue: 0.132, alpha: 1.000),
118 | DSFColor(red: 0.055, green: 0.269, blue: 0.159, alpha: 1.000),
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/types/DSFSparkline+ValueBasedFill.swift:33:42: note: class 'ValueBasedFill' does not conform to the 'Sendable' protocol
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 }
/Users/admin/builder/spi-builder-workspace/Sources/DSFSparkline/overlay/surfaces/DSFSparklineSurface+SwiftUI.swift:62:32: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
60 |
61 | let base = context.coordinator.parent
62 | base.overlays.forEach { view.addOverlay($0) }
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated '$0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 |
64 | return view
[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! (21.38s)
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.