Build Information
Successful build of SVGView, reference 1.0.6 (646596
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 14:40:45 UTC.
Swift 6 data race errors: 36
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
51 | .applyIf(isGradient) {
52 | $0.frame(width: bounds.width, height: bounds.height)
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolygon.swift:49:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | public func contentView() -> some View {
49 | SVGPolygonView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
50 | }
51 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolyline.swift:49:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | public func contentView() -> some View {
49 | SVGPolylineView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
50 | }
51 | }
[23/56] Compiling SVGView SVGPolyline.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGLine.swift:35:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
35 | SVGLineView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
38 |
39 | struct SVGLineView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
40 |
41 | @ObservedObject var model = SVGLine()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:30:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
30 | SVGPathView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 | }
33 |
34 | struct SVGPathView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ObservedObject var model = SVGPath()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:51:14: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | extension MBezierPath {
44 |
45 | func toSwiftUI(model: SVGShape, eoFill: Bool = false) -> some View {
| `- note: add '@MainActor' to make instance method 'toSwiftUI(model:eoFill:)' part of global actor 'MainActor'
46 | let isGradient = model.fill is SVGGradient
47 | let bounds = isGradient ? model.bounds() : CGRect.zero
:
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
51 | .applyIf(isGradient) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | $0.frame(width: bounds.width, height: bounds.height)
53 | .position(x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:50:14: warning: call to main actor-isolated instance method 'applyShapeAttributes(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | extension MBezierPath {
44 |
45 | func toSwiftUI(model: SVGShape, eoFill: Bool = false) -> some View {
| `- note: add '@MainActor' to make instance method 'toSwiftUI(model:eoFill:)' part of global actor 'MainActor'
46 | let isGradient = model.fill is SVGGradient
47 | let bounds = isGradient ? model.bounds() : CGRect.zero
48 | return Path(self.cgPath)
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
| `- warning: call to main actor-isolated instance method 'applyShapeAttributes(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .applyIf(isGradient) {
52 | $0.frame(width: bounds.width, height: bounds.height)
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:47:10: note: calls to instance method 'applyShapeAttributes(model:)' from outside of its actor context are implicitly asynchronous
45 | extension View {
46 |
47 | func applyShapeAttributes(model: SVGShape) -> some View {
| `- note: calls to instance method 'applyShapeAttributes(model:)' from outside of its actor context are implicitly asynchronous
48 | apply(paint: model.fill, model: model).applyNodeAttributes(model: model)
49 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolygon.swift:49:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
49 | SVGPolygonView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 | }
52 |
53 | struct SVGPolygonView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
54 |
55 | @ObservedObject var model = SVGPolygon()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolyline.swift:49:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
49 | SVGPolylineView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 | }
52 |
53 | struct SVGPolylineView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
54 |
55 | @ObservedObject var model = SVGPolyline()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGLine.swift:35:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
33 |
34 | public func contentView() -> some View {
35 | SVGLineView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:30:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
28 |
29 | public func contentView() -> some View {
30 | SVGPathView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:50:14: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
48 | return Path(self.cgPath)
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | .applyIf(isGradient) {
52 | $0.frame(width: bounds.width, height: bounds.height)
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:50:14: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
48 | return Path(self.cgPath)
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
51 | .applyIf(isGradient) {
52 | $0.frame(width: bounds.width, height: bounds.height)
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolygon.swift:49:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | public func contentView() -> some View {
49 | SVGPolygonView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
50 | }
51 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolyline.swift:49:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | public func contentView() -> some View {
49 | SVGPolylineView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
50 | }
51 | }
[24/56] Compiling SVGView SVGRect.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGLine.swift:35:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
35 | SVGLineView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 | }
37 | }
38 |
39 | struct SVGLineView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
40 |
41 | @ObservedObject var model = SVGLine()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:30:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 |
29 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
30 | SVGPathView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | }
32 | }
33 |
34 | struct SVGPathView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
35 |
36 | @ObservedObject var model = SVGPath()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:51:14: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | extension MBezierPath {
44 |
45 | func toSwiftUI(model: SVGShape, eoFill: Bool = false) -> some View {
| `- note: add '@MainActor' to make instance method 'toSwiftUI(model:eoFill:)' part of global actor 'MainActor'
46 | let isGradient = model.fill is SVGGradient
47 | let bounds = isGradient ? model.bounds() : CGRect.zero
:
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
51 | .applyIf(isGradient) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | $0.frame(width: bounds.width, height: bounds.height)
53 | .position(x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:50:14: warning: call to main actor-isolated instance method 'applyShapeAttributes(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 | extension MBezierPath {
44 |
45 | func toSwiftUI(model: SVGShape, eoFill: Bool = false) -> some View {
| `- note: add '@MainActor' to make instance method 'toSwiftUI(model:eoFill:)' part of global actor 'MainActor'
46 | let isGradient = model.fill is SVGGradient
47 | let bounds = isGradient ? model.bounds() : CGRect.zero
48 | return Path(self.cgPath)
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
| `- warning: call to main actor-isolated instance method 'applyShapeAttributes(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .applyIf(isGradient) {
52 | $0.frame(width: bounds.width, height: bounds.height)
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:47:10: note: calls to instance method 'applyShapeAttributes(model:)' from outside of its actor context are implicitly asynchronous
45 | extension View {
46 |
47 | func applyShapeAttributes(model: SVGShape) -> some View {
| `- note: calls to instance method 'applyShapeAttributes(model:)' from outside of its actor context are implicitly asynchronous
48 | apply(paint: model.fill, model: model).applyNodeAttributes(model: model)
49 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolygon.swift:49:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
49 | SVGPolygonView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 | }
52 |
53 | struct SVGPolygonView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
54 |
55 | @ObservedObject var model = SVGPolygon()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolyline.swift:49:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 | }
47 |
48 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
49 | SVGPolylineView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | }
51 | }
52 |
53 | struct SVGPolylineView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
54 |
55 | @ObservedObject var model = SVGPolyline()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGLine.swift:35:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
33 |
34 | public func contentView() -> some View {
35 | SVGLineView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
36 | }
37 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:30:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
28 |
29 | public func contentView() -> some View {
30 | SVGPathView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
31 | }
32 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:50:14: warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
48 | return Path(self.cgPath)
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
| |- warning: sending 'model' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'model' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | .applyIf(isGradient) {
52 | $0.frame(width: bounds.width, height: bounds.height)
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPath.swift:50:14: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
48 | return Path(self.cgPath)
49 | .applySVGStroke(stroke: model.stroke, eoFill: eoFill)
50 | .applyShapeAttributes(model: model)
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
51 | .applyIf(isGradient) {
52 | $0.frame(width: bounds.width, height: bounds.height)
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolygon.swift:49:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | public func contentView() -> some View {
49 | SVGPolygonView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
50 | }
51 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGPolyline.swift:49:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | public func contentView() -> some View {
49 | SVGPolylineView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
50 | }
51 | }
[25/56] Compiling SVGView SVGLength.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
26 | SVGCircleView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
29 |
30 | struct SVGCircleView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
31 |
32 | @ObservedObject var model = SVGCircle()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
28 | SVGEllipseView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 | }
31 |
32 | struct SVGEllipseView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
33 |
34 | @ObservedObject var model = SVGEllipse()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public func contentView() -> some View {
26 | SVGCircleView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | public func contentView() -> some View {
28 | SVGEllipseView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
29 | }
30 | }
[26/56] Compiling SVGView SVGPaint.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
26 | SVGCircleView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
29 |
30 | struct SVGCircleView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
31 |
32 | @ObservedObject var model = SVGCircle()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
28 | SVGEllipseView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 | }
31 |
32 | struct SVGEllipseView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
33 |
34 | @ObservedObject var model = SVGEllipse()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public func contentView() -> some View {
26 | SVGCircleView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | public func contentView() -> some View {
28 | SVGEllipseView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
29 | }
30 | }
[27/56] Compiling SVGView SVGPreserveAspectRatio.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
26 | SVGCircleView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
29 |
30 | struct SVGCircleView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
31 |
32 | @ObservedObject var model = SVGCircle()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
28 | SVGEllipseView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 | }
31 |
32 | struct SVGEllipseView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
33 |
34 | @ObservedObject var model = SVGEllipse()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public func contentView() -> some View {
26 | SVGCircleView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | public func contentView() -> some View {
28 | SVGEllipseView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
29 | }
30 | }
[28/56] Compiling SVGView SVGStroke.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
26 | SVGCircleView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
29 |
30 | struct SVGCircleView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
31 |
32 | @ObservedObject var model = SVGCircle()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
28 | SVGEllipseView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 | }
31 |
32 | struct SVGEllipseView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
33 |
34 | @ObservedObject var model = SVGEllipse()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public func contentView() -> some View {
26 | SVGCircleView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | public func contentView() -> some View {
28 | SVGEllipseView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
29 | }
30 | }
[29/56] Compiling SVGView SVGCircle.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
26 | SVGCircleView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
29 |
30 | struct SVGCircleView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
31 |
32 | @ObservedObject var model = SVGCircle()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
28 | SVGEllipseView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 | }
31 |
32 | struct SVGEllipseView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
33 |
34 | @ObservedObject var model = SVGEllipse()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public func contentView() -> some View {
26 | SVGCircleView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | public func contentView() -> some View {
28 | SVGEllipseView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
29 | }
30 | }
[30/56] Compiling SVGView SVGEllipse.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
26 | SVGCircleView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
29 |
30 | struct SVGCircleView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
31 |
32 | @ObservedObject var model = SVGCircle()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
28 | SVGEllipseView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 | }
31 |
32 | struct SVGEllipseView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
33 |
34 | @ObservedObject var model = SVGEllipse()
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGCircle.swift:26:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public func contentView() -> some View {
26 | SVGCircleView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Source/Model/Shapes/SVGEllipse.swift:28:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
26 |
27 | public func contentView() -> some View {
28 | SVGEllipseView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
29 | }
30 | }
[31/56] Compiling SVGView SVGText.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGText.swift:57:47: warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
33 | struct SVGTextView: View {
34 |
35 | @ObservedObject var model: SVGText
| `- note: property declared here
36 |
37 | public var body: some View {
:
55 | .font(model.font?.toSwiftUI())
56 | .lineLimit(1)
57 | .alignmentGuide(.leading) { d in d[model.textAnchor] }
| `- warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
58 | .alignmentGuide(VerticalAlignment.top) { d in d[VerticalAlignment.firstTextBaseline] }
59 | .position(x: 0, y: 0) // just to specify that positioning is global, actual coords are in transform
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
32 | SVGUserSpaceNodeView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
35 |
36 | struct SVGUserSpaceNodeView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
37 | let model: SVGUserSpaceNode
38 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:13:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
13 | public static let clear = SVGColor(0).opacity(0)
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'clear' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func by(name: String) -> SVGColor? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:163:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | class SVGColors {
| `- note: class 'SVGColors' does not conform to the 'Sendable' protocol
154 |
155 | static func hex(of text: String) -> Int? {
:
161 | }
162 |
163 | private static let instance = SVGColors()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private var hexByText = [String:Int]()
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGGradient.swift:79:22: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func apply<S>(view: S, model: SVGShape? = nil) -> some View where S : View {
| `- note: add '@MainActor' to make instance method 'apply(view:model:)' part of global actor 'MainActor'
69 | let frame = model?.frame() ?? CGRect()
70 | let bounds = model?.bounds() ?? CGRect()
:
77 | .overlay(
78 | toSwiftUI(rect: frame)
79 | .applyIf(!userSpace) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | $0.frame(width: maximum, height: maximum)
81 | .scaleEffect(CGSize(width: width/maximum, height: height/maximum))
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public func contentView() -> some View {
32 | SVGUserSpaceNodeView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 | }
[32/56] Compiling SVGView SVGUserSpaceNode.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGText.swift:57:47: warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
33 | struct SVGTextView: View {
34 |
35 | @ObservedObject var model: SVGText
| `- note: property declared here
36 |
37 | public var body: some View {
:
55 | .font(model.font?.toSwiftUI())
56 | .lineLimit(1)
57 | .alignmentGuide(.leading) { d in d[model.textAnchor] }
| `- warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
58 | .alignmentGuide(VerticalAlignment.top) { d in d[VerticalAlignment.firstTextBaseline] }
59 | .position(x: 0, y: 0) // just to specify that positioning is global, actual coords are in transform
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
32 | SVGUserSpaceNodeView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
35 |
36 | struct SVGUserSpaceNodeView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
37 | let model: SVGUserSpaceNode
38 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:13:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
13 | public static let clear = SVGColor(0).opacity(0)
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'clear' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func by(name: String) -> SVGColor? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:163:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | class SVGColors {
| `- note: class 'SVGColors' does not conform to the 'Sendable' protocol
154 |
155 | static func hex(of text: String) -> Int? {
:
161 | }
162 |
163 | private static let instance = SVGColors()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private var hexByText = [String:Int]()
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGGradient.swift:79:22: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func apply<S>(view: S, model: SVGShape? = nil) -> some View where S : View {
| `- note: add '@MainActor' to make instance method 'apply(view:model:)' part of global actor 'MainActor'
69 | let frame = model?.frame() ?? CGRect()
70 | let bounds = model?.bounds() ?? CGRect()
:
77 | .overlay(
78 | toSwiftUI(rect: frame)
79 | .applyIf(!userSpace) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | $0.frame(width: maximum, height: maximum)
81 | .scaleEffect(CGSize(width: width/maximum, height: height/maximum))
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public func contentView() -> some View {
32 | SVGUserSpaceNodeView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 | }
[33/56] Compiling SVGView SVGViewport.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGText.swift:57:47: warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
33 | struct SVGTextView: View {
34 |
35 | @ObservedObject var model: SVGText
| `- note: property declared here
36 |
37 | public var body: some View {
:
55 | .font(model.font?.toSwiftUI())
56 | .lineLimit(1)
57 | .alignmentGuide(.leading) { d in d[model.textAnchor] }
| `- warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
58 | .alignmentGuide(VerticalAlignment.top) { d in d[VerticalAlignment.firstTextBaseline] }
59 | .position(x: 0, y: 0) // just to specify that positioning is global, actual coords are in transform
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
32 | SVGUserSpaceNodeView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
35 |
36 | struct SVGUserSpaceNodeView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
37 | let model: SVGUserSpaceNode
38 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:13:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
13 | public static let clear = SVGColor(0).opacity(0)
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'clear' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func by(name: String) -> SVGColor? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:163:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | class SVGColors {
| `- note: class 'SVGColors' does not conform to the 'Sendable' protocol
154 |
155 | static func hex(of text: String) -> Int? {
:
161 | }
162 |
163 | private static let instance = SVGColors()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private var hexByText = [String:Int]()
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGGradient.swift:79:22: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func apply<S>(view: S, model: SVGShape? = nil) -> some View where S : View {
| `- note: add '@MainActor' to make instance method 'apply(view:model:)' part of global actor 'MainActor'
69 | let frame = model?.frame() ?? CGRect()
70 | let bounds = model?.bounds() ?? CGRect()
:
77 | .overlay(
78 | toSwiftUI(rect: frame)
79 | .applyIf(!userSpace) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | $0.frame(width: maximum, height: maximum)
81 | .scaleEffect(CGSize(width: width/maximum, height: height/maximum))
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public func contentView() -> some View {
32 | SVGUserSpaceNodeView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 | }
[34/56] Compiling SVGView SVGColor.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGText.swift:57:47: warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
33 | struct SVGTextView: View {
34 |
35 | @ObservedObject var model: SVGText
| `- note: property declared here
36 |
37 | public var body: some View {
:
55 | .font(model.font?.toSwiftUI())
56 | .lineLimit(1)
57 | .alignmentGuide(.leading) { d in d[model.textAnchor] }
| `- warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
58 | .alignmentGuide(VerticalAlignment.top) { d in d[VerticalAlignment.firstTextBaseline] }
59 | .position(x: 0, y: 0) // just to specify that positioning is global, actual coords are in transform
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
32 | SVGUserSpaceNodeView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
35 |
36 | struct SVGUserSpaceNodeView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
37 | let model: SVGUserSpaceNode
38 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:13:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
13 | public static let clear = SVGColor(0).opacity(0)
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'clear' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func by(name: String) -> SVGColor? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:163:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | class SVGColors {
| `- note: class 'SVGColors' does not conform to the 'Sendable' protocol
154 |
155 | static func hex(of text: String) -> Int? {
:
161 | }
162 |
163 | private static let instance = SVGColors()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private var hexByText = [String:Int]()
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGGradient.swift:79:22: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func apply<S>(view: S, model: SVGShape? = nil) -> some View where S : View {
| `- note: add '@MainActor' to make instance method 'apply(view:model:)' part of global actor 'MainActor'
69 | let frame = model?.frame() ?? CGRect()
70 | let bounds = model?.bounds() ?? CGRect()
:
77 | .overlay(
78 | toSwiftUI(rect: frame)
79 | .applyIf(!userSpace) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | $0.frame(width: maximum, height: maximum)
81 | .scaleEffect(CGSize(width: width/maximum, height: height/maximum))
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public func contentView() -> some View {
32 | SVGUserSpaceNodeView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 | }
[35/56] Compiling SVGView SVGFont.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGText.swift:57:47: warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
33 | struct SVGTextView: View {
34 |
35 | @ObservedObject var model: SVGText
| `- note: property declared here
36 |
37 | public var body: some View {
:
55 | .font(model.font?.toSwiftUI())
56 | .lineLimit(1)
57 | .alignmentGuide(.leading) { d in d[model.textAnchor] }
| `- warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
58 | .alignmentGuide(VerticalAlignment.top) { d in d[VerticalAlignment.firstTextBaseline] }
59 | .position(x: 0, y: 0) // just to specify that positioning is global, actual coords are in transform
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
32 | SVGUserSpaceNodeView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
35 |
36 | struct SVGUserSpaceNodeView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
37 | let model: SVGUserSpaceNode
38 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:13:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
13 | public static let clear = SVGColor(0).opacity(0)
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'clear' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func by(name: String) -> SVGColor? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:163:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | class SVGColors {
| `- note: class 'SVGColors' does not conform to the 'Sendable' protocol
154 |
155 | static func hex(of text: String) -> Int? {
:
161 | }
162 |
163 | private static let instance = SVGColors()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private var hexByText = [String:Int]()
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGGradient.swift:79:22: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func apply<S>(view: S, model: SVGShape? = nil) -> some View where S : View {
| `- note: add '@MainActor' to make instance method 'apply(view:model:)' part of global actor 'MainActor'
69 | let frame = model?.frame() ?? CGRect()
70 | let bounds = model?.bounds() ?? CGRect()
:
77 | .overlay(
78 | toSwiftUI(rect: frame)
79 | .applyIf(!userSpace) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | $0.frame(width: maximum, height: maximum)
81 | .scaleEffect(CGSize(width: width/maximum, height: height/maximum))
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public func contentView() -> some View {
32 | SVGUserSpaceNodeView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 | }
[36/56] Compiling SVGView SVGGradient.swift
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGText.swift:57:47: warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
33 | struct SVGTextView: View {
34 |
35 | @ObservedObject var model: SVGText
| `- note: property declared here
36 |
37 | public var body: some View {
:
55 | .font(model.font?.toSwiftUI())
56 | .lineLimit(1)
57 | .alignmentGuide(.leading) { d in d[model.textAnchor] }
| `- warning: main actor-isolated property 'model' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
58 | .alignmentGuide(VerticalAlignment.top) { d in d[VerticalAlignment.firstTextBaseline] }
59 | .position(x: 0, y: 0) // just to specify that positioning is global, actual coords are in transform
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func contentView() -> some View {
| `- note: add '@MainActor' to make instance method 'contentView()' part of global actor 'MainActor'
32 | SVGUserSpaceNodeView(model: self)
| `- warning: call to main actor-isolated initializer 'init(model:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 | }
35 |
36 | struct SVGUserSpaceNodeView: View {
| `- note: calls to initializer 'init(model:)' from outside of its actor context are implicitly asynchronous
37 | let model: SVGUserSpaceNode
38 |
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:13:23: warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
13 | public static let clear = SVGColor(0).opacity(0)
| |- warning: static property 'clear' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'clear' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func by(name: String) -> SVGColor? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:163:24: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
151 | }
152 |
153 | class SVGColors {
| `- note: class 'SVGColors' does not conform to the 'Sendable' protocol
154 |
155 | static func hex(of text: String) -> Int? {
:
161 | }
162 |
163 | private static let instance = SVGColors()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'SVGColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 |
165 | private var hexByText = [String:Int]()
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGGradient.swift:79:22: warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func apply<S>(view: S, model: SVGShape? = nil) -> some View where S : View {
| `- note: add '@MainActor' to make instance method 'apply(view:model:)' part of global actor 'MainActor'
69 | let frame = model?.frame() ?? CGRect()
70 | let bounds = model?.bounds() ?? CGRect()
:
77 | .overlay(
78 | toSwiftUI(rect: frame)
79 | .applyIf(!userSpace) {
| `- warning: call to main actor-isolated instance method 'applyIf(_:apply:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
80 | $0.frame(width: maximum, height: maximum)
81 | .scaleEffect(CGSize(width: width/maximum, height: height/maximum))
/Users/admin/builder/spi-builder-workspace/Source/UI/UIExtensions.swift:93:10: note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
91 |
92 | @ViewBuilder
93 | func applyIf<T: View>(_ condition: Bool, apply: (Self) -> T) -> some View {
| `- note: calls to instance method 'applyIf(_:apply:)' from outside of its actor context are implicitly asynchronous
94 | if condition {
95 | apply(self)
/Users/admin/builder/spi-builder-workspace/Source/Model/Nodes/SVGUserSpaceNode.swift:32:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public func contentView() -> some View {
32 | SVGUserSpaceNodeView(model: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(model:)' risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 | }
[37/56] Compiling SVGView SVGLogger.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[38/56] Compiling SVGView SVGScreen.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[39/56] Compiling SVGView SVGSettings.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[40/56] Compiling SVGView DOMParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[41/56] Compiling SVGView XMLNode.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLogger.swift:12:23: warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLogger {
| `- note: class 'SVGLogger' does not conform to the 'Sendable' protocol
11 |
12 | public static let console = SVGLogger()
| |- warning: static property 'console' is not concurrency-safe because non-'Sendable' type 'SVGLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'console' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public func log(message: String) {
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[42/56] Compiling SVGView SVGParserExtensions.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[43/56] Compiling SVGView SVGParserPrimitives.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[44/56] Compiling SVGView SVGPathReader.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[45/56] Compiling SVGView SVGView.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[46/56] Compiling SVGView SVGLinker.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGLinker.swift:12:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public class SVGLinker {
| `- note: class 'SVGLinker' does not conform to the 'Sendable' protocol
11 |
12 | public static let none = SVGLinker()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'SVGLinker' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public static func base(url: URL) -> SVGLinker {
[47/56] Compiling SVGView SVGConstants.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[48/56] Compiling SVGView SVGContext.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[49/56] Compiling SVGView SVGIndex.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[50/56] Compiling SVGView SVGParser.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[51/56] Compiling SVGView SVGParserBasics.swift
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:48:28: warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | fileprivate static let unitsIdenitifierPattern = "([a-zA-Z]+)$"
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
| |- warning: static property 'transformMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:49:28: warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
| |- warning: static property 'transformAttributeMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'transformAttributeMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'transformAttributeMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:50:28: warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | fileprivate static var transformMatcher: NSRegularExpression?
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
| |- warning: static property 'textElementMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'textElementMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'textElementMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:51:28: warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | fileprivate static var transformAttributeMatcher: NSRegularExpression?
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
| |- warning: static property 'maskIdenitifierMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'maskIdenitifierMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'maskIdenitifierMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | fileprivate static var unitsMatcher: NSRegularExpression?
53 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGConstants.swift:52:28: warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | fileprivate static var textElementMatcher: NSRegularExpression?
51 | fileprivate static var maskIdenitifierMatcher: NSRegularExpression?
52 | fileprivate static var unitsMatcher: NSRegularExpression?
| |- warning: static property 'unitsMatcher' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unitsMatcher' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unitsMatcher' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | class func getTransformAttributeMatcher() -> NSRegularExpression? {
/Users/admin/builder/spi-builder-workspace/Source/Model/Primitives/SVGColor.swift:12:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | public class SVGColor: SVGPaint {
| `- note: class 'SVGColor' does not conform to the 'Sendable' protocol
11 |
12 | public static let black = SVGColor(0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'SVGColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let clear = SVGColor(0).opacity(0)
14 |
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Settings/SVGSettings.swift:13:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct SVGSettings {
| `- note: consider making struct 'SVGSettings' conform to the 'Sendable' protocol
12 |
13 | public static let `default` = SVGSettings()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SVGSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public let linker: SVGLinker
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/SVGParser.swift:53:24: warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 |
53 | private static let parsers: [String:SVGElementParser] = [
| |- warning: static property 'parsers' is not concurrency-safe because non-'Sendable' type '[String : any SVGElementParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | "svg": SVGViewportParser(),
55 | "g": SVGGroupParser(),
/Users/admin/builder/spi-builder-workspace/Source/Parser/SVG/Elements/SVGElementParser.swift:10:10: note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | protocol SVGElementParser {
| `- note: protocol 'SVGElementParser' does not conform to the 'Sendable' protocol
11 |
12 | func parse(context: SVGNodeContext, delegate: @escaping (XMLElement) -> SVGNode?) -> SVGNode?
[52/56] Compiling SVGView Serializable.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[53/56] Compiling SVGView Serializations.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[54/56] Compiling SVGView Serializer.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[55/56] Compiling SVGView MBezierPath+Extension_macOS.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[56/56] Compiling SVGView UIExtensions.swift
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:18:23: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:19:23: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
17 | public static let none = MRectCorner([])
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:20:23: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
18 | public static let topLeft = MRectCorner(rawValue: 1 << 0)
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
22 | public static var allCorners: MRectCorner {
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:21:23: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
12 | import AppKit
13 |
14 | public struct MRectCorner: OptionSet {
| `- note: consider making struct 'MRectCorner' conform to the 'Sendable' protocol
15 | public let rawValue: UInt
16 |
:
19 | public static let topRight = MRectCorner(rawValue: 1 << 1)
20 | public static let bottomLeft = MRectCorner(rawValue: 1 << 2)
21 | public static let bottomRight = MRectCorner(rawValue: 1 << 3)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'MRectCorner' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var allCorners: MRectCorner {
23 | return [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Source/UI/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
Build complete! (23.14s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SVGView",
"name" : "SVGView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SVGView",
"targets" : [
"SVGView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SVGView",
"module_type" : "SwiftTarget",
"name" : "SVGView",
"path" : "Source",
"product_memberships" : [
"SVGView"
],
"sources" : [
"Model/Images/SVGDataImage.swift",
"Model/Images/SVGURLImage.swift",
"Model/Nodes/SVGGroup.swift",
"Model/Nodes/SVGImage.swift",
"Model/Nodes/SVGNode.swift",
"Model/Nodes/SVGShape.swift",
"Model/Nodes/SVGText.swift",
"Model/Nodes/SVGUserSpaceNode.swift",
"Model/Nodes/SVGViewport.swift",
"Model/Primitives/SVGColor.swift",
"Model/Primitives/SVGFont.swift",
"Model/Primitives/SVGGradient.swift",
"Model/Primitives/SVGLength.swift",
"Model/Primitives/SVGPaint.swift",
"Model/Primitives/SVGPreserveAspectRatio.swift",
"Model/Primitives/SVGStroke.swift",
"Model/Shapes/SVGCircle.swift",
"Model/Shapes/SVGEllipse.swift",
"Model/Shapes/SVGLine.swift",
"Model/Shapes/SVGPath.swift",
"Model/Shapes/SVGPolygon.swift",
"Model/Shapes/SVGPolyline.swift",
"Model/Shapes/SVGRect.swift",
"Parser/CSS/CSSParser.swift",
"Parser/SVG/Attributes/SVGAttribute.swift",
"Parser/SVG/Attributes/SVGFontSizeAttribute.swift",
"Parser/SVG/Attributes/SVGLengthAttribute.swift",
"Parser/SVG/Elements/SVGElementParser.swift",
"Parser/SVG/Elements/SVGImageParser.swift",
"Parser/SVG/Elements/SVGShapeParser.swift",
"Parser/SVG/Elements/SVGStructureParsers.swift",
"Parser/SVG/Elements/SVGTextParser.swift",
"Parser/SVG/Primitives/SVGLengthParser.swift",
"Parser/SVG/SVGConstants.swift",
"Parser/SVG/SVGContext.swift",
"Parser/SVG/SVGIndex.swift",
"Parser/SVG/SVGParser.swift",
"Parser/SVG/SVGParserBasics.swift",
"Parser/SVG/SVGParserExtensions.swift",
"Parser/SVG/SVGParserPrimitives.swift",
"Parser/SVG/SVGPathReader.swift",
"Parser/SVG/SVGView.swift",
"Parser/SVG/Settings/SVGLinker.swift",
"Parser/SVG/Settings/SVGLogger.swift",
"Parser/SVG/Settings/SVGScreen.swift",
"Parser/SVG/Settings/SVGSettings.swift",
"Parser/XML/DOMParser.swift",
"Parser/XML/XMLNode.swift",
"Serialization/Serializable.swift",
"Serialization/Serializations.swift",
"Serialization/Serializer.swift",
"UI/MBezierPath+Extension_macOS.swift",
"UI/UIExtensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.