Build Information
Failed to build SwiftGraphics, reference main (32d235
), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 21:42:22 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/emorydunn/SwiftGraphics.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/emorydunn/SwiftGraphics
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 32d2350 Add additional logging
Cloned https://github.com/emorydunn/SwiftGraphics.git
Revision (git rev-parse @):
32d2350da9e0591f0b23f662dd3e51293a1cfa12
SUCCESS checkout https://github.com/emorydunn/SwiftGraphics.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/emorydunn/SwiftGraphics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/40] Emitting module SwiftGraphics
/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/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:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
/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/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 | }
/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/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/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 | }
/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 | }
[4/44] Compiling SwiftGraphics Array.swift
[5/44] Compiling SwiftGraphics Clamped.swift
[6/44] Compiling SwiftGraphics Double.swift
[7/44] Compiling SwiftGraphics String.swift
[8/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/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/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 | }
[9/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/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/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 | }
[10/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/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/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 | }
[11/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/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/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 | }
[12/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/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
[13/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/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
[14/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/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
[15/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/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
[16/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/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 SVGContext.swift
[18/44] Compiling SwiftGraphics SVGDrawable.swift
[19/44] Compiling SwiftGraphics SketchSVGDrawing.swift
[20/44] Compiling SwiftGraphics Angles.swift
[21/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 |
[22/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 |
[23/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 |
[24/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 |
[25/44] Compiling SwiftGraphics XMLElement.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/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()
[26/44] Compiling SwiftGraphics Perlin.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/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()
[27/44] Compiling SwiftGraphics PointInPolygon.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/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()
[28/44] Compiling SwiftGraphics CircleEmitter.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/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()
[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/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/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/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/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/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/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/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/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/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/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/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/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 DirectionalEmitter.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 | }
[34/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 | }
[35/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 | }
[36/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 | }
[37/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:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[38/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:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[39/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:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[40/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:35:11: error: cannot find type 'CGContext' in scope
33 | }
34 |
35 | extension CGContext: DrawingContext {
| `- error: cannot find type 'CGContext' in scope
36 |
37 | }
[41/44] Compiling SwiftGraphics Sketch Protcols.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/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/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
[42/44] Compiling SwiftGraphics Sketch.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/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/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
[43/44] Compiling SwiftGraphics SketchView.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/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/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
[44/44] Compiling SwiftGraphics CGDrawable.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/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/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
BUILD FAILURE 6.2 macosSpm