Build Information
Failed to build SwiftGraphics, reference main (32d235
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 13:30:20 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
88 | ray.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[9/44] Compiling SwiftGraphics Emitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Ray Tracing/DirectionalEmitter.swift:86:39: error: cannot find type 'CGContext' in scope
84 | /// Draws a representation of the emitter suitable for debugging.
85 | /// - Parameter context: Context in which to draw
86 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
87 | let ray = Ray(origin: origin.copy(), direction: direction.copy())
88 | ray.debugDraw(in: context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Ray Tracing/DirectionalEmitter.swift:88:27: error: argument passed to call that takes no arguments
86 | public func debugDraw(in context: CGContext) {
87 | let ray = Ray(origin: origin.copy(), direction: direction.copy())
88 | ray.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[10/44] Compiling SwiftGraphics Fresnel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Ray Tracing/DirectionalEmitter.swift:86:39: error: cannot find type 'CGContext' in scope
84 | /// Draws a representation of the emitter suitable for debugging.
85 | /// - Parameter context: Context in which to draw
86 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
87 | let ray = Ray(origin: origin.copy(), direction: direction.copy())
88 | ray.debugDraw(in: context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Ray Tracing/DirectionalEmitter.swift:88:27: error: argument passed to call that takes no arguments
86 | public func debugDraw(in context: CGContext) {
87 | let ray = Ray(origin: origin.copy(), direction: direction.copy())
88 | ray.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[11/44] Compiling SwiftGraphics LinearEmitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Ray Tracing/DirectionalEmitter.swift:86:39: error: cannot find type 'CGContext' in scope
84 | /// Draws a representation of the emitter suitable for debugging.
85 | /// - Parameter context: Context in which to draw
86 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
87 | let ray = Ray(origin: origin.copy(), direction: direction.copy())
88 | ray.debugDraw(in: context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Ray Tracing/DirectionalEmitter.swift:88:27: error: argument passed to call that takes no arguments
86 | public func debugDraw(in context: CGContext) {
87 | let ray = Ray(origin: origin.copy(), direction: direction.copy())
88 | ray.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[12/44] Compiling SwiftGraphics Array.swift
[13/44] Compiling SwiftGraphics Clamped.swift
[14/44] Compiling SwiftGraphics Double.swift
[15/44] Compiling SwiftGraphics String.swift
[16/44] Compiling SwiftGraphics DefaultIntersections.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:134:32: error: argument passed to call that takes no arguments
132 | dirPoint += origin
133 |
134 | dirPoint.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:148:29: error: cannot find type 'CGContext' in scope
146 | case is SVGContext:
147 | break
148 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
149 | debugDraw(in: context)
150 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:149:27: error: argument passed to call that takes no arguments
147 | break
148 | case let context as CGContext:
149 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
150 | default:
151 | break
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Shape.swift:34:45: error: argument passed to call that takes no arguments
32 | (self as? SVGDrawable)?.draw(in: context)
33 | case let context as CGContext:
34 | (self as? CGDrawable)?.draw(in: context)
| `- error: argument passed to call that takes no arguments
35 | default:
36 | break
[17/44] Compiling SwiftGraphics Intersectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:134:32: error: argument passed to call that takes no arguments
132 | dirPoint += origin
133 |
134 | dirPoint.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:148:29: error: cannot find type 'CGContext' in scope
146 | case is SVGContext:
147 | break
148 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
149 | debugDraw(in: context)
150 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:149:27: error: argument passed to call that takes no arguments
147 | break
148 | case let context as CGContext:
149 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
150 | default:
151 | break
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Shape.swift:34:45: error: argument passed to call that takes no arguments
32 | (self as? SVGDrawable)?.draw(in: context)
33 | case let context as CGContext:
34 | (self as? CGDrawable)?.draw(in: context)
| `- error: argument passed to call that takes no arguments
35 | default:
36 | break
[18/44] Compiling SwiftGraphics RayTracable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:134:32: error: argument passed to call that takes no arguments
132 | dirPoint += origin
133 |
134 | dirPoint.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:148:29: error: cannot find type 'CGContext' in scope
146 | case is SVGContext:
147 | break
148 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
149 | debugDraw(in: context)
150 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:149:27: error: argument passed to call that takes no arguments
147 | break
148 | case let context as CGContext:
149 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
150 | default:
151 | break
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Shape.swift:34:45: error: argument passed to call that takes no arguments
32 | (self as? SVGDrawable)?.draw(in: context)
33 | case let context as CGContext:
34 | (self as? CGDrawable)?.draw(in: context)
| `- error: argument passed to call that takes no arguments
35 | default:
36 | break
[19/44] Compiling SwiftGraphics Polygon.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:134:32: error: argument passed to call that takes no arguments
132 | dirPoint += origin
133 |
134 | dirPoint.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:148:29: error: cannot find type 'CGContext' in scope
146 | case is SVGContext:
147 | break
148 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
149 | debugDraw(in: context)
150 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:149:27: error: argument passed to call that takes no arguments
147 | break
148 | case let context as CGContext:
149 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
150 | default:
151 | break
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Shape.swift:34:45: error: argument passed to call that takes no arguments
32 | (self as? SVGDrawable)?.draw(in: context)
33 | case let context as CGContext:
34 | (self as? CGDrawable)?.draw(in: context)
| `- error: argument passed to call that takes no arguments
35 | default:
36 | break
[20/44] Compiling SwiftGraphics Shape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:126:39: error: cannot find type 'CGContext' in scope
124 | /// Draws a representation of the emitter suitable for debugging.
125 | /// - Parameter context: Context in which to draw
126 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
127 | // super.debugDraw(in: context)
128 | Circle(center: origin, radius: 20).draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:134:32: error: argument passed to call that takes no arguments
132 | dirPoint += origin
133 |
134 | dirPoint.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
135 | }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:148:29: error: cannot find type 'CGContext' in scope
146 | case is SVGContext:
147 | break
148 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
149 | debugDraw(in: context)
150 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Intersectable/RayTracable.swift:149:27: error: argument passed to call that takes no arguments
147 | break
148 | case let context as CGContext:
149 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
150 | default:
151 | break
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/Shape.swift:34:45: error: argument passed to call that takes no arguments
32 | (self as? SVGDrawable)?.draw(in: context)
33 | case let context as CGContext:
34 | (self as? CGDrawable)?.draw(in: context)
| `- error: argument passed to call that takes no arguments
35 | default:
36 | break
[21/44] Compiling SwiftGraphics Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Path.swift:121:30: error: argument passed to call that takes no arguments
119 | public func debugDraw(in context: CGContext) {
120 | points.forEach {
121 | $0.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
122 | }
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:173:37: error: cannot find type 'CGContext' in scope
171 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
172 | /// - Parameter context: Context in which to draw
173 | open func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:175:23: error: cannot find 'CGColor' in scope
173 | open func debugDraw(in context: CGContext) {
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:176:23: error: cannot find 'CGColor' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:177:23: error: cannot find 'CGColor' in scope
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
179 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:178:23: error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
179 |
180 | context.setFillColor(tlColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[22/44] Compiling SwiftGraphics Rectangle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Path.swift:121:30: error: argument passed to call that takes no arguments
119 | public func debugDraw(in context: CGContext) {
120 | points.forEach {
121 | $0.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
122 | }
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:173:37: error: cannot find type 'CGContext' in scope
171 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
172 | /// - Parameter context: Context in which to draw
173 | open func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:175:23: error: cannot find 'CGColor' in scope
173 | open func debugDraw(in context: CGContext) {
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:176:23: error: cannot find 'CGColor' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:177:23: error: cannot find 'CGColor' in scope
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
179 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:178:23: error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
179 |
180 | context.setFillColor(tlColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[23/44] Compiling SwiftGraphics Size.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Path.swift:121:30: error: argument passed to call that takes no arguments
119 | public func debugDraw(in context: CGContext) {
120 | points.forEach {
121 | $0.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
122 | }
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:173:37: error: cannot find type 'CGContext' in scope
171 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
172 | /// - Parameter context: Context in which to draw
173 | open func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:175:23: error: cannot find 'CGColor' in scope
173 | open func debugDraw(in context: CGContext) {
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:176:23: error: cannot find 'CGColor' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:177:23: error: cannot find 'CGColor' in scope
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
179 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:178:23: error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
179 |
180 | context.setFillColor(tlColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[24/44] Compiling SwiftGraphics Vector.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Path.swift:121:30: error: argument passed to call that takes no arguments
119 | public func debugDraw(in context: CGContext) {
120 | points.forEach {
121 | $0.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
122 | }
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:173:37: error: cannot find type 'CGContext' in scope
171 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
172 | /// - Parameter context: Context in which to draw
173 | open func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:175:23: error: cannot find 'CGColor' in scope
173 | open func debugDraw(in context: CGContext) {
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:176:23: error: cannot find 'CGColor' in scope
174 |
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:177:23: error: cannot find 'CGColor' in scope
175 | let tlColor = CGColor(red: 255 / 255, green: 159 / 255, blue: 82 / 255, alpha: 1)
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
179 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:178:23: error: cannot find 'CGColor' in scope
176 | let trColor = CGColor(red: 82 / 255, green: 243 / 255, blue: 255 / 255, alpha: 1)
177 | let brColor = CGColor(red: 163 / 255, green: 82 / 255, blue: 255 / 255, alpha: 1)
178 | let blColor = CGColor(red: 255 / 255, green: 82 / 255, blue: 82 / 255, alpha: 1)
| `- error: cannot find 'CGColor' in scope
179 |
180 | context.setFillColor(tlColor)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:397:34: error: cannot find type 'CGContext' in scope
395 | /// Draw the receiver in the specified context
396 | /// - Parameter context: Context in which to draw
397 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
398 | Rectangle(x: x, y: y, width: 1, height: 1).draw(in: context)
399 | }
[25/44] Compiling SwiftGraphics SVGContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
[26/44] Compiling SwiftGraphics SVGDrawable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
[27/44] Compiling SwiftGraphics SketchSVGDrawing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
[28/44] Compiling SwiftGraphics Angles.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:48:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 | public convenience init(sketch: SketchView) {
47 | self.init(
48 | width: Int(sketch.bounds.width),
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
49 | height: Int(sketch.bounds.height)
50 | )
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/SVG Drawing/SVGContext.swift:49:32: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | self.init(
48 | width: Int(sketch.bounds.width),
49 | height: Int(sketch.bounds.height)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
50 | )
51 | }
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
[29/44] Compiling SwiftGraphics BezierPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:143:29: error: argument passed to call that takes no arguments
141 | /// - Parameter context: Context in which to draw
142 | public func debugDraw(in context: CGContext) {
143 | start.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:145:36: error: argument passed to call that takes no arguments
143 | start.debugDraw(in: context)
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BoundingBox.swift:45:29: error: cannot find type 'CGContext' in scope
43 | contextWidth = Double(context.width)
44 | contextHeight = Double(context.height)
45 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
46 | contextWidth = Double(context.width) / 2
47 | contextHeight = Double(context.height) / 2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:50:39: error: cannot find type 'CGContext' in scope
48 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
49 | /// - Parameter context: Context in which to draw
50 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
51 | draw(in: context)
52 | }
[30/44] Compiling SwiftGraphics BoundingBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:143:29: error: argument passed to call that takes no arguments
141 | /// - Parameter context: Context in which to draw
142 | public func debugDraw(in context: CGContext) {
143 | start.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:145:36: error: argument passed to call that takes no arguments
143 | start.debugDraw(in: context)
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BoundingBox.swift:45:29: error: cannot find type 'CGContext' in scope
43 | contextWidth = Double(context.width)
44 | contextHeight = Double(context.height)
45 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
46 | contextWidth = Double(context.width) / 2
47 | contextHeight = Double(context.height) / 2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:50:39: error: cannot find type 'CGContext' in scope
48 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
49 | /// - Parameter context: Context in which to draw
50 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
51 | draw(in: context)
52 | }
[31/44] Compiling SwiftGraphics Circle+Drawable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:143:29: error: argument passed to call that takes no arguments
141 | /// - Parameter context: Context in which to draw
142 | public func debugDraw(in context: CGContext) {
143 | start.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:145:36: error: argument passed to call that takes no arguments
143 | start.debugDraw(in: context)
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BoundingBox.swift:45:29: error: cannot find type 'CGContext' in scope
43 | contextWidth = Double(context.width)
44 | contextHeight = Double(context.height)
45 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
46 | contextWidth = Double(context.width) / 2
47 | contextHeight = Double(context.height) / 2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:50:39: error: cannot find type 'CGContext' in scope
48 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
49 | /// - Parameter context: Context in which to draw
50 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
51 | draw(in: context)
52 | }
[32/44] Compiling SwiftGraphics Circle+RayTracable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Vector.swift:403:39: error: cannot find type 'CGContext' in scope
401 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
402 | /// - Parameter context: Context in which to draw
403 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
404 | Circle(center: self, radius: 5).draw(in: context)
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:143:29: error: argument passed to call that takes no arguments
141 | /// - Parameter context: Context in which to draw
142 | public func debugDraw(in context: CGContext) {
143 | start.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BezierPath.swift:145:36: error: argument passed to call that takes no arguments
143 | start.debugDraw(in: context)
144 | points.forEach {
145 | $0.point.debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
146 | }
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/BoundingBox.swift:45:29: error: cannot find type 'CGContext' in scope
43 | contextWidth = Double(context.width)
44 | contextHeight = Double(context.height)
45 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
46 | contextWidth = Double(context.width) / 2
47 | contextHeight = Double(context.height) / 2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:33:34: error: cannot find type 'CGContext' in scope
31 | /// Draw the receiver in the specified context
32 | /// - Parameter context: Context in which to draw
33 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
34 |
35 | context.saveGState()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Circle/Circle+Drawable.swift:50:39: error: cannot find type 'CGContext' in scope
48 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
49 | /// - Parameter context: Context in which to draw
50 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
51 | draw(in: context)
52 | }
[33/44] Compiling SwiftGraphics SketchBitmapDrawing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/SketchBitmapDrawing.swift:19:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
17 |
18 | // Set the context to CoreGraphics
19 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
20 |
21 | draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[34/44] Compiling SwiftGraphics BlendMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/SketchBitmapDrawing.swift:19:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
17 |
18 | // Set the context to CoreGraphics
19 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
20 |
21 | draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[35/44] Compiling SwiftGraphics Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/SketchBitmapDrawing.swift:19:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
17 |
18 | // Set the context to CoreGraphics
19 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
20 |
21 | draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[36/44] Compiling SwiftGraphics DrawingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/SketchBitmapDrawing.swift:19:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
17 |
18 | // Set the context to CoreGraphics
19 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
20 |
21 | draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:26:23: warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Color blending mode
26 | public static var blendMode: BlendMode = .normal
| |- warning: static property 'blendMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'blendMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'blendMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[37/44] Compiling SwiftGraphics Sketch Protcols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:39:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
37 |
38 | // Set the context to CoreGraphics
39 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
40 |
41 | let startTime = Date()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:63:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
61 |
62 | // Set the context to CoreGraphics
63 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
64 |
65 | sketch.draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:35:29: error: cannot find type 'CGContext' in scope
33 | case is SVGContext:
34 | break
35 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
36 | debugDraw(in: context)
37 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:36:27: error: argument passed to call that takes no arguments
34 | break
35 | case let context as CGContext:
36 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
37 | default:
38 | break
[38/44] Compiling SwiftGraphics Sketch.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:39:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
37 |
38 | // Set the context to CoreGraphics
39 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
40 |
41 | let startTime = Date()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:63:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
61 |
62 | // Set the context to CoreGraphics
63 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
64 |
65 | sketch.draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:35:29: error: cannot find type 'CGContext' in scope
33 | case is SVGContext:
34 | break
35 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
36 | debugDraw(in: context)
37 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:36:27: error: argument passed to call that takes no arguments
34 | break
35 | case let context as CGContext:
36 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
37 | default:
38 | break
[39/44] Compiling SwiftGraphics SketchView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:39:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
37 |
38 | // Set the context to CoreGraphics
39 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
40 |
41 | let startTime = Date()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:63:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
61 |
62 | // Set the context to CoreGraphics
63 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
64 |
65 | sketch.draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:35:29: error: cannot find type 'CGContext' in scope
33 | case is SVGContext:
34 | break
35 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
36 | debugDraw(in: context)
37 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:36:27: error: argument passed to call that takes no arguments
34 | break
35 | case let context as CGContext:
36 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
37 | default:
38 | break
[40/44] Compiling SwiftGraphics CGDrawable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:14:23: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Returns the current `DrawingContext`, if any
14 | public static var current: DrawingContext?
| |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Color of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Rectangle.swift:161:32: error: cannot find type 'CGContext' in scope
159 | /// Draw the receiver in the specified context
160 | /// - Parameter context: Context in which to draw
161 | open func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
162 | let rect = CGRect(x: x, y: y, width: width, height: height)
163 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:20:23: warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// Color of the fill of the shape
20 | public static var fillColor: Color = .clear
| |- warning: static property 'fillColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fillColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fillColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Weight of the outline of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:39:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
37 |
38 | // Set the context to CoreGraphics
39 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
40 |
41 | let startTime = Date()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Base Protocols/SketchView.swift:63:67: error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
61 |
62 | // Set the context to CoreGraphics
63 | SwiftGraphicsContext.current = NSGraphicsContext.current?.cgContext
| `- error: cannot assign value of type 'CGContext?' to type '(any DrawingContext)?'
64 |
65 | sketch.draw()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:35:29: error: cannot find type 'CGContext' in scope
33 | case is SVGContext:
34 | break
35 | case let context as CGContext:
| `- error: cannot find type 'CGContext' in scope
36 | debugDraw(in: context)
37 | default:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:36:27: error: argument passed to call that takes no arguments
34 | break
35 | case let context as CGContext:
36 | debugDraw(in: context)
| `- error: argument passed to call that takes no arguments
37 | default:
38 | break
[41/44] Compiling SwiftGraphics Circle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:212:39: error: cannot find type 'CGContext' in scope
210 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
211 | /// - Parameter context: Context in which to draw
212 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
213 | let normal = self.normal()
214 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:215:33: error: cannot infer contextual base in reference to member 'init'
213 | let normal = self.normal()
214 |
215 | context.setStrokeColor(.init(red: 255, green: 0, blue: 128, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
216 | Line(
217 | center.x,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:223:33: error: cannot infer contextual base in reference to member 'init'
221 | ).draw()
222 |
223 | context.setStrokeColor(.init(gray: 0.5, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
224 | self.draw(in: context)
225 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
[42/44] Compiling SwiftGraphics HatchFill.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:212:39: error: cannot find type 'CGContext' in scope
210 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
211 | /// - Parameter context: Context in which to draw
212 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
213 | let normal = self.normal()
214 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:215:33: error: cannot infer contextual base in reference to member 'init'
213 | let normal = self.normal()
214 |
215 | context.setStrokeColor(.init(red: 255, green: 0, blue: 128, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
216 | Line(
217 | center.x,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:223:33: error: cannot infer contextual base in reference to member 'init'
221 | ).draw()
222 |
223 | context.setStrokeColor(.init(gray: 0.5, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
224 | self.draw(in: context)
225 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
[43/44] Compiling SwiftGraphics OverflowHatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:212:39: error: cannot find type 'CGContext' in scope
210 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
211 | /// - Parameter context: Context in which to draw
212 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
213 | let normal = self.normal()
214 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:215:33: error: cannot infer contextual base in reference to member 'init'
213 | let normal = self.normal()
214 |
215 | context.setStrokeColor(.init(red: 255, green: 0, blue: 128, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
216 | Line(
217 | center.x,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:223:33: error: cannot infer contextual base in reference to member 'init'
221 | ).draw()
222 |
223 | context.setStrokeColor(.init(gray: 0.5, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
224 | self.draw(in: context)
225 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
[44/44] Compiling SwiftGraphics Line.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:15:27: error: cannot find type 'CGContext' in scope
13 | /// Draw the receiver in the specified context
14 | /// - Parameter context: Context in which to draw
15 | func draw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
16 |
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:203:34: error: cannot find type 'CGContext' in scope
201 | /// Draw the receiver in the specified context
202 | /// - Parameter context: Context in which to draw
203 | public func draw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
204 | context.setStrokeColor(SwiftGraphicsContext.strokeColor.toCGColor())
205 | context.setFillColor(SwiftGraphicsContext.fillColor.toCGColor())
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:212:39: error: cannot find type 'CGContext' in scope
210 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
211 | /// - Parameter context: Context in which to draw
212 | public func debugDraw(in context: CGContext) {
| `- error: cannot find type 'CGContext' in scope
213 | let normal = self.normal()
214 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Bitmap Drawing/CGDrawable.swift:19:32: error: cannot find type 'CGContext' in scope
17 | /// Draw a representation of the receiver meant for debugging the shape in the specified context
18 | /// - Parameter context: Context in which to draw
19 | func debugDraw(in context: CGContext)
| `- error: cannot find type 'CGContext' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/Color.swift:136:32: error: cannot find type 'CGColor' in scope
134 |
135 | /// Create a CGColor
136 | public func toCGColor() -> CGColor {
| `- error: cannot find type 'CGColor' in scope
137 | return CGColor(
138 | red: CGFloat(red),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:215:33: error: cannot infer contextual base in reference to member 'init'
213 | let normal = self.normal()
214 |
215 | context.setStrokeColor(.init(red: 255, green: 0, blue: 128, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
216 | Line(
217 | center.x,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Shapes/Line.swift:223:33: error: cannot infer contextual base in reference to member 'init'
221 | ).draw()
222 |
223 | context.setStrokeColor(.init(gray: 0.5, alpha: 1))
| `- error: cannot infer contextual base in reference to member 'init'
224 | self.draw(in: context)
225 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:17:23: warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// Color of the outline of the shape
17 | public static var strokeColor: Color = .black
| |- warning: static property 'strokeColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Color of the fill of the shape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGraphics/Drawing/DrawingContext.swift:23:23: warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Weight of the outline of the shape
23 | public static var strokeWeight: Double = 1
| |- warning: static property 'strokeWeight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'strokeWeight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'strokeWeight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Color blending mode
BUILD FAILURE 6.0 macosSpm