Build Information
Failed to build Macaw, reference master (273964
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 22:39:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[137/148] Compiling Macaw ImageRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[138/148] Compiling Macaw NodeRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[139/148] Compiling Macaw RenderContext.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[140/148] Compiling Macaw RenderUtils.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[141/148] Compiling Macaw ShapeRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[142/148] Compiling Macaw TextRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[143/148] Compiling Macaw CSSParser.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[144/148] Compiling Macaw SVGCanvas.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[145/148] Compiling Macaw SVGConstants.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[146/148] Compiling Macaw SVGNodeLayout.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[147/148] Compiling Macaw SVGParser.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
[148/148] Compiling Macaw SVGParserError.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:105:10: warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open class MView: NSView, Touchable {
| `- note: add '@preconcurrency' to the 'Touchable' conformance to defer isolation checking to run time
31 | public override init(frame frameRect: NSRect) {
32 | super.init(frame: frameRect)
:
103 |
104 | // MARK: - Touchable
105 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesBegan(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesBegan(_:with:)' to make this instance method not isolated to the actor
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:22:10: note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
20 |
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesBegan(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:108:10: warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
106 | }
107 |
108 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesMoved(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesMoved(_:with:)' to make this instance method not isolated to the actor
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:23:10: note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
21 | protocol Touchable {
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesMoved(_:with:)' 'async' to allow actor-isolated conformances
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:111:10: warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
109 | }
110 |
111 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesEnded(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesEnded(_:with:)' to make this instance method not isolated to the actor
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:24:10: note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
22 | func mTouchesBegan(_ touches: Set<MTouch>, with event: MEvent?)
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesEnded(_:with:)' 'async' to allow actor-isolated conformances
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
26 | }
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:114:10: warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?) {
| |- warning: main actor-isolated instance method 'mTouchesCancelled(_:with:)' cannot be used to satisfy nonisolated requirement from protocol 'Touchable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'mTouchesCancelled(_:with:)' to make this instance method not isolated to the actor
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Source/views/Touchable.swift:25:10: note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
23 | func mTouchesMoved(_ touches: Set<MTouch>, with event: MEvent?)
24 | func mTouchesEnded(_ touches: Set<MTouch>, with event: MEvent?)
25 | func mTouchesCancelled(_ touches: Set<MTouch>, with event: MEvent?)
| `- note: mark the protocol requirement 'mTouchesCancelled(_:with:)' 'async' to allow actor-isolated conformances
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:27:22: warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | weak var view: DrawingView?
26 | var sceneLayer: CALayer? {
27 | return view?.mLayer
| `- warning: main actor-isolated property 'mLayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | var layer: CachedLayer?
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:61:9: note: property declared here
59 | }
60 |
61 | var mLayer: CALayer? {
| `- note: property declared here
62 | return self.layer
63 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:63:38: warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | public func place(in relativity: Relativity = .parent) -> Transform {
| `- note: add '@MainActor' to make instance method 'place(in:)' part of global actor 'MainActor'
57 | switch relativity {
58 | case .parent:
:
61 | return absPlace
62 | case .view:
63 | if let viewPlace = view?.place {
| `- warning: main actor-isolated property 'place' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | return viewPlace.concat(with: absPlace)
65 | }
/Users/admin/builder/spi-builder-workspace/Source/views/MacawView.swift:239:9: note: property declared here
237 | }
238 |
239 | var place: Transform {
| `- note: property declared here
240 | return placeManager.placeVar.value
241 | }
/Users/admin/builder/spi-builder-workspace/Source/render/NodeRenderer.swift:83:19: warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | view?.setNeedsDisplay()
| `- warning: call to main actor-isolated instance method 'setNeedsDisplay()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MView_macOS.swift:75:10: note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
73 | }
74 |
75 | func setNeedsDisplay() {
| |- note: calls to instance method 'setNeedsDisplay()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSView'
76 | self.setNeedsDisplay(self.bounds)
77 | }
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:342:23: warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
340 | }
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
| |- warning: static property 'defaultStrokeLineCap' is not concurrency-safe because non-'Sendable' type 'LineCap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineCap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 | public static let defaultStrokeLineJoin = LineJoin.miter
344 |
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineCap.swift:1:13: note: consider making enum 'LineCap' conform to the 'Sendable' protocol
1 | public enum LineCap {
| `- note: consider making enum 'LineCap' conform to the 'Sendable' protocol
2 | case butt
3 | case round
/Users/admin/builder/spi-builder-workspace/Source/svg/SVGConstants.swift:343:23: warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
341 |
342 | public static let defaultStrokeLineCap = LineCap.butt
343 | public static let defaultStrokeLineJoin = LineJoin.miter
| |- warning: static property 'defaultStrokeLineJoin' is not concurrency-safe because non-'Sendable' type 'LineJoin' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultStrokeLineJoin' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 | }
/Users/admin/builder/spi-builder-workspace/Source/model/draw/LineJoin.swift:1:13: note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
1 | public enum LineJoin {
| `- note: consider making enum 'LineJoin' conform to the 'Sendable' protocol
2 | case miter
3 | case round
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/5] Compiling SWXMLHash shim.swift
[3/5] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[4/5] Emitting module SWXMLHash
[5/5] Compiling SWXMLHash XMLHash.swift
[6/132] Compiling Macaw LineJoin.swift
[7/132] Compiling Macaw LinearGradient.swift
[8/132] Compiling Macaw OffsetEffect.swift
[9/132] Compiling Macaw Pattern.swift
[10/132] Compiling Macaw RadialGradient.swift
[11/132] Compiling Macaw Stop.swift
[12/132] Compiling Macaw Stroke.swift
[13/132] Compiling Macaw Arc.swift
[14/132] Compiling Macaw Circle.swift
[15/132] Compiling Macaw Ellipse.swift
[16/132] Compiling Macaw GeomUtils.swift
[17/132] Compiling Macaw Insets.swift
[18/132] Compiling Macaw Line.swift
[19/132] Compiling Macaw Locus.swift
[20/146] Compiling Macaw AnimOperators.swift
[21/146] Compiling Macaw ContentsInterpolation.swift
[22/146] Compiling Macaw DoubleInterpolation.swift
[23/146] Compiling Macaw FillInterpolation.swift
[24/146] Compiling Macaw Interpolable.swift
[25/146] Compiling Macaw LocusInterpolation.swift
[26/146] Compiling Macaw ShapeInterpolation.swift
[27/146] Compiling Macaw StrokeInterpolation.swift
[28/146] Compiling Macaw TransformInterpolation.swift
[29/146] Compiling Macaw FuncBounds.swift
[30/146] Compiling Macaw PathBounds.swift
[31/146] Compiling Macaw PathFunctions.swift
[32/146] Compiling Macaw AnimationSequence.swift
[33/146] Compiling Macaw CombineAnimation.swift
[34/146] Compiling Macaw Image.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[35/146] Compiling Macaw Node.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[36/146] Compiling Macaw SceneUtils.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[37/146] Compiling Macaw Shape.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[38/146] Compiling Macaw Text.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[39/146] Compiling Macaw MDisplayLink.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[40/146] Compiling Macaw Common_iOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[41/146] Compiling Macaw Graphics_iOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[42/146] Compiling Macaw MDisplayLink_iOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[43/146] Compiling Macaw MView_iOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[44/146] Compiling Macaw Common_macOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[45/146] Compiling Macaw Graphics_macOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[46/146] Compiling Macaw MBezierPath+Extension_macOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[47/146] Compiling Macaw MDisplayLink_macOS.swift
/Users/admin/builder/spi-builder-workspace/Source/platform/macOS/MBezierPath+Extension_macOS.swift:40:13: warning: switch must be exhaustive
38 | let type = self.element(at: i, associatedPoints: &points)
39 |
40 | switch type {
| |- warning: switch must be exhaustive
| |- note: add missing case: '.cubicCurveTo'
| |- note: add missing case: '.quadraticCurveTo'
| `- note: add missing cases
41 | case .moveTo:
42 | path.move(to: CGPoint(x: points[0].x, y: points[0].y))
[48/146] Compiling Macaw MCAMediaTimingFillMode_iOS.swift
[49/146] Compiling Macaw MCAMediaTimingFillMode_macOS.swift
[50/146] Compiling Macaw MCAMediaTimingFunctionName_iOS.swift
[51/146] Compiling Macaw MCAMediaTimingFunctionName_macOS.swift
[52/146] Compiling Macaw MCAShapeLayerLineCap_iOS.swift
[53/146] Compiling Macaw MCAShapeLayerLineCap_macOS.swift
[54/146] Compiling Macaw MCAShapeLayerLineJoin_iOS.swift
[55/146] Compiling Macaw MCAShapeLayerLineJoin_macOS.swift
[56/146] Compiling Macaw AnimatableVariable.swift
[57/146] Compiling Macaw Animation.swift
[58/146] Compiling Macaw AnimationImpl.swift
[59/146] Compiling Macaw AnimationProducer.swift
[60/146] Compiling Macaw AnimationUtils.swift
[61/146] Compiling Macaw Easing.swift
[62/146] Compiling Macaw TimingFunction.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[63/146] Compiling Macaw TransformGenerator.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[64/146] Compiling Macaw Disposable.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[65/146] Compiling Macaw GroupDisposable.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[66/146] Compiling Macaw Variable.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[67/146] Compiling Macaw Event.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[68/146] Compiling Macaw PanEvent.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[69/146] Compiling Macaw PinchEvent.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[70/146] Compiling Macaw RotateEvent.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[71/146] Compiling Macaw TapEvent.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[72/146] Compiling Macaw TouchEvent.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[73/146] Compiling Macaw MacawView+PDF.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[74/146] Compiling Macaw ContentLayout.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[75/146] Compiling Macaw Align.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/146] Compiling Macaw ContentsAnimation.swift
[77/146] Compiling Macaw MorphingAnimation.swift
[78/146] Compiling Macaw OpacityAnimation.swift
[79/146] Compiling Macaw PathAnimation.swift
[80/146] Compiling Macaw ShapeAnimation.swift
[81/146] Compiling Macaw TransformAnimation.swift
[82/146] Compiling Macaw AnimationCache.swift
[83/146] Compiling Macaw NodeHashable.swift
[84/146] Compiling Macaw TransformHashable.swift
[85/146] Compiling Macaw CombinationAnimationGenerator.swift
[86/146] Compiling Macaw MorphingGenerator.swift
[87/146] Compiling Macaw OpacityGenerator.swift
[88/146] Compiling Macaw PathAnimationGenerator.swift
[89/146] Compiling Macaw ShapeAnimationGenerator.swift
[90/146] Compiling Macaw MoveTo.swift
[91/146] Compiling Macaw Path.swift
[92/146] Compiling Macaw PathBuilder.swift
[93/146] Compiling Macaw PathSegment.swift
[94/146] Compiling Macaw PathSegmentType.swift
[95/146] Compiling Macaw Point.swift
[96/146] Compiling Macaw Polygon.swift
[97/146] Compiling Macaw Polyline.swift
[98/146] Compiling Macaw Rect.swift
[99/146] Compiling Macaw RoundRect.swift
[100/146] Compiling Macaw Size.swift
[101/146] Compiling Macaw Transform.swift
[102/146] Compiling Macaw TransformedLocus.swift
[103/146] Compiling Macaw Group.swift
[104/146] Emitting module Macaw
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[105/146] Compiling Macaw AlphaEffect.swift
[106/146] Compiling Macaw AspectRatio.swift
[107/146] Compiling Macaw Baseline.swift
[108/146] Compiling Macaw BlendEffect.swift
[109/146] Compiling Macaw Color.swift
[110/146] Compiling Macaw ColorMatrix.swift
[111/146] Compiling Macaw ColorMatrixEffect.swift
[112/146] Compiling Macaw Drawable.swift
[113/146] Compiling Macaw Effect.swift
[114/146] Compiling Macaw Fill.swift
[115/146] Compiling Macaw Font.swift
[116/146] Compiling Macaw GaussianBlur.swift
[117/146] Compiling Macaw Gradient.swift
[118/146] Compiling Macaw LineCap.swift
[119/146] Compiling Macaw MView_macOS.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[120/146] Compiling Macaw GroupRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[121/146] Compiling Macaw ImageRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[122/146] Compiling Macaw NodeRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[123/146] Compiling Macaw RenderContext.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[124/146] Compiling Macaw RenderUtils.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[125/146] Compiling Macaw ShapeRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[126/146] Compiling Macaw TextRenderer.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[127/146] Compiling Macaw CSSParser.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[128/146] Compiling Macaw SVGCanvas.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[129/146] Compiling Macaw SVGConstants.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[130/146] Compiling Macaw SVGNodeLayout.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[131/146] Compiling Macaw SVGParser.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[132/146] Compiling Macaw SVGParserError.swift
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:41:40: error: cannot find type 'CGContext' in scope
39 | }
40 |
41 | override func doRender(in context: CGContext, force: Bool, opacity: Double, coloringMode: ColoringMode = .rgb) {
| `- error: cannot find type 'CGContext' in scope
42 | renderers.forEach { renderer in
43 | if !renderer.isAnimating() {
/Users/admin/builder/spi-builder-workspace/Source/render/GroupRenderer.swift:49:53: error: cannot find type 'CGContext' in scope
47 | }
48 |
49 | override func doFindNodeAt(path: NodePath, ctx: CGContext) -> NodePath? {
| `- error: cannot find type 'CGContext' in scope
50 | for renderer in renderers.reversed() {
51 | if let result = renderer.findNodeAt(parentNodePath: path, ctx: ctx) {
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[133/146] Compiling Macaw SVGSerializer.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[134/146] Compiling Macaw SVGView.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[135/146] Compiling Macaw CAAnimationClosure.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[136/146] Compiling Macaw CGFloat+Double.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[137/146] Compiling Macaw NSTimer+Closure.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[138/146] Compiling Macaw BoundsUtils.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[139/146] Compiling Macaw CGMappings.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[140/146] Compiling Macaw CommonError.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[141/146] Compiling Macaw DescriptionExtensions.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[142/146] Compiling Macaw UIImage2Image.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[143/146] Compiling Macaw MacawView.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[144/146] Compiling Macaw MacawZoom.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[145/146] Compiling Macaw ShapeLayer.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
[146/146] Compiling Macaw Touchable.swift
/Users/admin/builder/spi-builder-workspace/Source/render/RenderContext.swift:9:20: error: cannot find type 'CGContext' in scope
7 | class RenderContext {
8 | weak var view: DrawingView?
9 | var cgContext: CGContext?
| `- error: cannot find type 'CGContext' in scope
10 |
11 | init(view: DrawingView?) {
BUILD FAILURE 6.1 macosSpm