The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenCoreAnimation, reference main (54df4b), with Swift 6.2 for Android on 28 Apr 2026 06:22:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 49 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(transform)
 50 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:62:56: error: cannot find type 'CGAffineTransform' in scope
 60 |
 61 |     /// Adds a set of rectangular subpaths to the path.
 62 |     public func addRects(_ rects: [CGRect], transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 63 |         for rect in rects {
 64 |             addRect(rect, transform: transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:69:56: error: cannot find type 'CGAffineTransform' in scope
 67 |
 68 |     /// Adds an ellipse that fits inside the specified rectangle.
 69 |     public func addEllipse(in rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 70 |         // Approximate ellipse with 4 bezier curves
 71 |         let cx = rect.midX
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:154:52: error: cannot find type 'CGAffineTransform' in scope
152 |     /// Adds an arc of a circle to the path, specified with a radius and angles.
153 |     public func addArc(center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat,
154 |                        clockwise: Bool, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
155 |         // Calculate start and end points
156 |         let startPoint = CGPoint(
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:235:35: error: cannot find type 'CGAffineTransform' in scope
233 |     /// Adds an arc of a circle to the path, specified with a radius and two tangent lines.
234 |     public func addArc(tangent1End: CGPoint, tangent2End: CGPoint, radius: CGFloat,
235 |                        transform: CGAffineTransform = .identity) {
    |                                   `- error: cannot find type 'CGAffineTransform' in scope
236 |         guard !commands.isEmpty else { return }
237 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:307:37: error: cannot find type 'CGAffineTransform' in scope
305 |     /// Adds a cubic Bézier curve to the path, with the specified end point and control points.
306 |     public func addCurve(to end: CGPoint, control1: CGPoint, control2: CGPoint,
307 |                          transform: CGAffineTransform = .identity) {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
308 |         commands.append(.curveTo(
309 |             control1: control1.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:317:41: error: cannot find type 'CGAffineTransform' in scope
315 |     /// Adds a quadratic Bézier curve to the path, with the specified end point and control point.
316 |     public func addQuadCurve(to end: CGPoint, control: CGPoint,
317 |                              transform: CGAffineTransform = .identity) {
    |                                         `- error: cannot find type 'CGAffineTransform' in scope
318 |         commands.append(.quadCurveTo(
319 |             control: control.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:325:52: error: cannot find type 'CGAffineTransform' in scope
323 |
324 |     /// Appends another path object to the path.
325 |     public func addPath(_ path: CGPath, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
326 |         for command in path.commands {
327 |             commands.append(command.applying(transform))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:414:56: error: cannot infer contextual base in reference to member 'winding'
 412 |         switch mode {
 413 |         case .fill, .fillStroke:
 414 |             return currentPath.contains(point, using: .winding)
     |                                                        `- error: cannot infer contextual base in reference to member 'winding'
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:416:56: error: cannot infer contextual base in reference to member 'evenOdd'
 414 |             return currentPath.contains(point, using: .winding)
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
     |                                                        `- error: cannot infer contextual base in reference to member 'evenOdd'
 417 |         case .stroke:
 418 |             // For stroke mode, we'd need to check if point is within stroke width of path
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:433:43: error: argument passed to call that takes no arguments
 431 |         guard !currentPath.isEmpty else { return }
 432 |
 433 |         let strokedPath = currentPath.copy(
     |                                           `- error: argument passed to call that takes no arguments
 434 |             strokingWithWidth: currentState.lineWidth,
 435 |             lineCap: currentState.lineCap,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:438:25: error: cannot infer contextual base in reference to member 'identity'
 436 |             lineJoin: currentState.lineJoin,
 437 |             miterLimit: currentState.miterLimit,
 438 |             transform: .identity
     |                         `- error: cannot infer contextual base in reference to member 'identity'
 439 |         )
 440 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:460:38: error: argument passed to call that takes no arguments
 458 |             var ctm = currentState.ctm
 459 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 460 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 461 |             }
 462 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:528:38: error: argument passed to call that takes no arguments
 526 |             var ctm = currentState.ctm
 527 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 528 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 529 |             }
 530 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:717:38: error: argument passed to call that takes no arguments
 715 |             var ctm = currentState.ctm
 716 |             transformedClipPath = withUnsafePointer(to: &ctm) { ptr in
 717 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 718 |             }
 719 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1254:40: error: cannot convert value of type 'Duration' to expected argument type 'Double'
1252 |         let scaleX = sqrt(ctm.a * ctm.a + ctm.b * ctm.b)
1253 |         let scaleY = sqrt(ctm.c * ctm.c + ctm.d * ctm.d)
1254 |         let averageScale = sqrt(scaleX * scaleY)
     |                                        `- error: cannot convert value of type 'Duration' to expected argument type 'Double'
1255 |
1256 |         let transformedStartRadius = startRadius * averageScale
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:29:31: error: cannot find type 'CGAffineTransform' in scope
27 |     /// Returns the size resulting from an affine transformation of an existing size.
28 |     @inlinable
29 |     public func applying(_ t: CGAffineTransform) -> CGSize {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
30 |         return CGSize(
31 |             width: t.a * width + t.c * height,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:104:44: error: cannot find type 'CGAffineTransform' in scope
102 |     /// Adds a subpath to the path, in the shape of a rectangle with rounded corners.
103 |     public func addRoundedRect(in rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
104 |                                 transform: CGAffineTransform = .identity) {
    |                                            `- error: cannot find type 'CGAffineTransform' in scope
105 |         let cw = min(cornerWidth, rect.width / 2)
106 |         let ch = min(cornerHeight, rect.height / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:44:14: error: cannot find type 'CGAffineTransform' in scope
 42 |     /// This is provided for operations that need to apply CTM to coordinates.
 43 |     /// Note: For path-based operations, the path is already transformed.
 44 |     var ctm: CGAffineTransform
    |              `- error: cannot find type 'CGAffineTransform' in scope
 45 |
 46 |     /// The shadow offset in user space.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:61:21: error: cannot infer contextual base in reference to member 'identity'
 59 |     init() {
 60 |         self.clipPaths = []
 61 |         self.ctm = .identity
    |                     `- error: cannot infer contextual base in reference to member 'identity'
 62 |         self.shadowOffset = .zero
 63 |         self.shadowBlur = 0
[371/381] Compiling OpenCoreGraphics CGDataConsumer.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:67:30: error: cannot find type 'CGAffineTransform' in scope
  65 |
  66 |     /// The current text matrix (not part of graphics state per CoreGraphics spec).
  67 |     private var _textMatrix: CGAffineTransform = .identity
     |                              `- error: cannot find type 'CGAffineTransform' in scope
  68 |
  69 |     // MARK: - Renderer Delegate
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:84:18: error: cannot find type 'CGAffineTransform' in scope
  82 |
  83 |     private struct GraphicsState {
  84 |         var ctm: CGAffineTransform = .identity
     |                  `- error: cannot find type 'CGAffineTransform' in scope
  85 |         var clipPaths: [CGPath] = []
  86 |         var fillColor: CGColor = .black
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:287:21: error: cannot find type 'CGAffineTransform' in scope
 285 |
 286 |     /// The current transformation matrix.
 287 |     public var ctm: CGAffineTransform {
     |                     `- error: cannot find type 'CGAffineTransform' in scope
 288 |         return currentState.ctm
 289 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1338:44: error: cannot find type 'CGAffineTransform' in scope
1336 |
1337 |     /// Sets the text matrix.
1338 |     public func setTextMatrix(_ transform: CGAffineTransform) {
     |                                            `- error: cannot find type 'CGAffineTransform' in scope
1339 |         _textMatrix = transform
1340 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1343:28: error: cannot find type 'CGAffineTransform' in scope
1341 |
1342 |     /// The current text matrix.
1343 |     public var textMatrix: CGAffineTransform {
     |                            `- error: cannot find type 'CGAffineTransform' in scope
1344 |         return _textMatrix
1345 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1360:49: error: cannot find type 'CGAffineTransform' in scope
1358 |
1359 |     /// Returns the affine transform that maps user space to device space.
1360 |     public var userSpaceToDeviceSpaceTransform: CGAffineTransform {
     |                                                 `- error: cannot find type 'CGAffineTransform' in scope
1361 |         return currentState.ctm
1362 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:71:14: error: cannot find type 'CGAffineTransform' in scope
 69 |     init(
 70 |         clipPaths: [CGPath],
 71 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 72 |         shadowOffset: CGSize,
 73 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:88:14: error: cannot find type 'CGAffineTransform' in scope
 86 |     init(
 87 |         clipPath: CGPath?,
 88 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 89 |         shadowOffset: CGSize,
 90 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:122:30: error: argument passed to call that takes no arguments
 120 |     /// Returns the current drawing state for delegate calls.
 121 |     private var currentDrawingState: CGDrawingState {
 122 |         return CGDrawingState(
     |                              `- error: argument passed to call that takes no arguments
 123 |             clipPaths: currentState.clipPaths,
 124 |             ctm: currentState.ctm,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:39:64: error: cannot find type 'CGAffineTransform' in scope
 37 |
 38 |     /// Adds a sequence of connected straight-line segments to the path.
 39 |     public func addLines(between points: [CGPoint], transform: CGAffineTransform = .identity) {
    |                                                                `- error: cannot find type 'CGAffineTransform' in scope
 40 |         guard !points.isEmpty else { return }
 41 |         commands.append(.moveTo(points[0].applying(transform)))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:48:52: error: cannot find type 'CGAffineTransform' in scope
 46 |
 47 |     /// Adds a rectangular subpath to the path.
 48 |     public func addRect(_ rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 49 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(transform)
 50 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:62:56: error: cannot find type 'CGAffineTransform' in scope
 60 |
 61 |     /// Adds a set of rectangular subpaths to the path.
 62 |     public func addRects(_ rects: [CGRect], transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 63 |         for rect in rects {
 64 |             addRect(rect, transform: transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:69:56: error: cannot find type 'CGAffineTransform' in scope
 67 |
 68 |     /// Adds an ellipse that fits inside the specified rectangle.
 69 |     public func addEllipse(in rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 70 |         // Approximate ellipse with 4 bezier curves
 71 |         let cx = rect.midX
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:154:52: error: cannot find type 'CGAffineTransform' in scope
152 |     /// Adds an arc of a circle to the path, specified with a radius and angles.
153 |     public func addArc(center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat,
154 |                        clockwise: Bool, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
155 |         // Calculate start and end points
156 |         let startPoint = CGPoint(
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:235:35: error: cannot find type 'CGAffineTransform' in scope
233 |     /// Adds an arc of a circle to the path, specified with a radius and two tangent lines.
234 |     public func addArc(tangent1End: CGPoint, tangent2End: CGPoint, radius: CGFloat,
235 |                        transform: CGAffineTransform = .identity) {
    |                                   `- error: cannot find type 'CGAffineTransform' in scope
236 |         guard !commands.isEmpty else { return }
237 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:307:37: error: cannot find type 'CGAffineTransform' in scope
305 |     /// Adds a cubic Bézier curve to the path, with the specified end point and control points.
306 |     public func addCurve(to end: CGPoint, control1: CGPoint, control2: CGPoint,
307 |                          transform: CGAffineTransform = .identity) {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
308 |         commands.append(.curveTo(
309 |             control1: control1.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:317:41: error: cannot find type 'CGAffineTransform' in scope
315 |     /// Adds a quadratic Bézier curve to the path, with the specified end point and control point.
316 |     public func addQuadCurve(to end: CGPoint, control: CGPoint,
317 |                              transform: CGAffineTransform = .identity) {
    |                                         `- error: cannot find type 'CGAffineTransform' in scope
318 |         commands.append(.quadCurveTo(
319 |             control: control.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:325:52: error: cannot find type 'CGAffineTransform' in scope
323 |
324 |     /// Appends another path object to the path.
325 |     public func addPath(_ path: CGPath, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
326 |         for command in path.commands {
327 |             commands.append(command.applying(transform))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:414:56: error: cannot infer contextual base in reference to member 'winding'
 412 |         switch mode {
 413 |         case .fill, .fillStroke:
 414 |             return currentPath.contains(point, using: .winding)
     |                                                        `- error: cannot infer contextual base in reference to member 'winding'
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:416:56: error: cannot infer contextual base in reference to member 'evenOdd'
 414 |             return currentPath.contains(point, using: .winding)
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
     |                                                        `- error: cannot infer contextual base in reference to member 'evenOdd'
 417 |         case .stroke:
 418 |             // For stroke mode, we'd need to check if point is within stroke width of path
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:433:43: error: argument passed to call that takes no arguments
 431 |         guard !currentPath.isEmpty else { return }
 432 |
 433 |         let strokedPath = currentPath.copy(
     |                                           `- error: argument passed to call that takes no arguments
 434 |             strokingWithWidth: currentState.lineWidth,
 435 |             lineCap: currentState.lineCap,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:438:25: error: cannot infer contextual base in reference to member 'identity'
 436 |             lineJoin: currentState.lineJoin,
 437 |             miterLimit: currentState.miterLimit,
 438 |             transform: .identity
     |                         `- error: cannot infer contextual base in reference to member 'identity'
 439 |         )
 440 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:460:38: error: argument passed to call that takes no arguments
 458 |             var ctm = currentState.ctm
 459 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 460 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 461 |             }
 462 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:528:38: error: argument passed to call that takes no arguments
 526 |             var ctm = currentState.ctm
 527 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 528 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 529 |             }
 530 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:717:38: error: argument passed to call that takes no arguments
 715 |             var ctm = currentState.ctm
 716 |             transformedClipPath = withUnsafePointer(to: &ctm) { ptr in
 717 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 718 |             }
 719 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1254:40: error: cannot convert value of type 'Duration' to expected argument type 'Double'
1252 |         let scaleX = sqrt(ctm.a * ctm.a + ctm.b * ctm.b)
1253 |         let scaleY = sqrt(ctm.c * ctm.c + ctm.d * ctm.d)
1254 |         let averageScale = sqrt(scaleX * scaleY)
     |                                        `- error: cannot convert value of type 'Duration' to expected argument type 'Double'
1255 |
1256 |         let transformedStartRadius = startRadius * averageScale
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:29:31: error: cannot find type 'CGAffineTransform' in scope
27 |     /// Returns the size resulting from an affine transformation of an existing size.
28 |     @inlinable
29 |     public func applying(_ t: CGAffineTransform) -> CGSize {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
30 |         return CGSize(
31 |             width: t.a * width + t.c * height,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:104:44: error: cannot find type 'CGAffineTransform' in scope
102 |     /// Adds a subpath to the path, in the shape of a rectangle with rounded corners.
103 |     public func addRoundedRect(in rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
104 |                                 transform: CGAffineTransform = .identity) {
    |                                            `- error: cannot find type 'CGAffineTransform' in scope
105 |         let cw = min(cornerWidth, rect.width / 2)
106 |         let ch = min(cornerHeight, rect.height / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:44:14: error: cannot find type 'CGAffineTransform' in scope
 42 |     /// This is provided for operations that need to apply CTM to coordinates.
 43 |     /// Note: For path-based operations, the path is already transformed.
 44 |     var ctm: CGAffineTransform
    |              `- error: cannot find type 'CGAffineTransform' in scope
 45 |
 46 |     /// The shadow offset in user space.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:61:21: error: cannot infer contextual base in reference to member 'identity'
 59 |     init() {
 60 |         self.clipPaths = []
 61 |         self.ctm = .identity
    |                     `- error: cannot infer contextual base in reference to member 'identity'
 62 |         self.shadowOffset = .zero
 63 |         self.shadowBlur = 0
[372/381] Compiling OpenCoreGraphics CGDataProvider.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:67:30: error: cannot find type 'CGAffineTransform' in scope
  65 |
  66 |     /// The current text matrix (not part of graphics state per CoreGraphics spec).
  67 |     private var _textMatrix: CGAffineTransform = .identity
     |                              `- error: cannot find type 'CGAffineTransform' in scope
  68 |
  69 |     // MARK: - Renderer Delegate
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:84:18: error: cannot find type 'CGAffineTransform' in scope
  82 |
  83 |     private struct GraphicsState {
  84 |         var ctm: CGAffineTransform = .identity
     |                  `- error: cannot find type 'CGAffineTransform' in scope
  85 |         var clipPaths: [CGPath] = []
  86 |         var fillColor: CGColor = .black
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:287:21: error: cannot find type 'CGAffineTransform' in scope
 285 |
 286 |     /// The current transformation matrix.
 287 |     public var ctm: CGAffineTransform {
     |                     `- error: cannot find type 'CGAffineTransform' in scope
 288 |         return currentState.ctm
 289 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1338:44: error: cannot find type 'CGAffineTransform' in scope
1336 |
1337 |     /// Sets the text matrix.
1338 |     public func setTextMatrix(_ transform: CGAffineTransform) {
     |                                            `- error: cannot find type 'CGAffineTransform' in scope
1339 |         _textMatrix = transform
1340 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1343:28: error: cannot find type 'CGAffineTransform' in scope
1341 |
1342 |     /// The current text matrix.
1343 |     public var textMatrix: CGAffineTransform {
     |                            `- error: cannot find type 'CGAffineTransform' in scope
1344 |         return _textMatrix
1345 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1360:49: error: cannot find type 'CGAffineTransform' in scope
1358 |
1359 |     /// Returns the affine transform that maps user space to device space.
1360 |     public var userSpaceToDeviceSpaceTransform: CGAffineTransform {
     |                                                 `- error: cannot find type 'CGAffineTransform' in scope
1361 |         return currentState.ctm
1362 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:71:14: error: cannot find type 'CGAffineTransform' in scope
 69 |     init(
 70 |         clipPaths: [CGPath],
 71 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 72 |         shadowOffset: CGSize,
 73 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:88:14: error: cannot find type 'CGAffineTransform' in scope
 86 |     init(
 87 |         clipPath: CGPath?,
 88 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 89 |         shadowOffset: CGSize,
 90 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:122:30: error: argument passed to call that takes no arguments
 120 |     /// Returns the current drawing state for delegate calls.
 121 |     private var currentDrawingState: CGDrawingState {
 122 |         return CGDrawingState(
     |                              `- error: argument passed to call that takes no arguments
 123 |             clipPaths: currentState.clipPaths,
 124 |             ctm: currentState.ctm,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:39:64: error: cannot find type 'CGAffineTransform' in scope
 37 |
 38 |     /// Adds a sequence of connected straight-line segments to the path.
 39 |     public func addLines(between points: [CGPoint], transform: CGAffineTransform = .identity) {
    |                                                                `- error: cannot find type 'CGAffineTransform' in scope
 40 |         guard !points.isEmpty else { return }
 41 |         commands.append(.moveTo(points[0].applying(transform)))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:48:52: error: cannot find type 'CGAffineTransform' in scope
 46 |
 47 |     /// Adds a rectangular subpath to the path.
 48 |     public func addRect(_ rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 49 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(transform)
 50 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:62:56: error: cannot find type 'CGAffineTransform' in scope
 60 |
 61 |     /// Adds a set of rectangular subpaths to the path.
 62 |     public func addRects(_ rects: [CGRect], transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 63 |         for rect in rects {
 64 |             addRect(rect, transform: transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:69:56: error: cannot find type 'CGAffineTransform' in scope
 67 |
 68 |     /// Adds an ellipse that fits inside the specified rectangle.
 69 |     public func addEllipse(in rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 70 |         // Approximate ellipse with 4 bezier curves
 71 |         let cx = rect.midX
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:154:52: error: cannot find type 'CGAffineTransform' in scope
152 |     /// Adds an arc of a circle to the path, specified with a radius and angles.
153 |     public func addArc(center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat,
154 |                        clockwise: Bool, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
155 |         // Calculate start and end points
156 |         let startPoint = CGPoint(
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:235:35: error: cannot find type 'CGAffineTransform' in scope
233 |     /// Adds an arc of a circle to the path, specified with a radius and two tangent lines.
234 |     public func addArc(tangent1End: CGPoint, tangent2End: CGPoint, radius: CGFloat,
235 |                        transform: CGAffineTransform = .identity) {
    |                                   `- error: cannot find type 'CGAffineTransform' in scope
236 |         guard !commands.isEmpty else { return }
237 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:307:37: error: cannot find type 'CGAffineTransform' in scope
305 |     /// Adds a cubic Bézier curve to the path, with the specified end point and control points.
306 |     public func addCurve(to end: CGPoint, control1: CGPoint, control2: CGPoint,
307 |                          transform: CGAffineTransform = .identity) {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
308 |         commands.append(.curveTo(
309 |             control1: control1.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:317:41: error: cannot find type 'CGAffineTransform' in scope
315 |     /// Adds a quadratic Bézier curve to the path, with the specified end point and control point.
316 |     public func addQuadCurve(to end: CGPoint, control: CGPoint,
317 |                              transform: CGAffineTransform = .identity) {
    |                                         `- error: cannot find type 'CGAffineTransform' in scope
318 |         commands.append(.quadCurveTo(
319 |             control: control.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:325:52: error: cannot find type 'CGAffineTransform' in scope
323 |
324 |     /// Appends another path object to the path.
325 |     public func addPath(_ path: CGPath, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
326 |         for command in path.commands {
327 |             commands.append(command.applying(transform))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:414:56: error: cannot infer contextual base in reference to member 'winding'
 412 |         switch mode {
 413 |         case .fill, .fillStroke:
 414 |             return currentPath.contains(point, using: .winding)
     |                                                        `- error: cannot infer contextual base in reference to member 'winding'
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:416:56: error: cannot infer contextual base in reference to member 'evenOdd'
 414 |             return currentPath.contains(point, using: .winding)
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
     |                                                        `- error: cannot infer contextual base in reference to member 'evenOdd'
 417 |         case .stroke:
 418 |             // For stroke mode, we'd need to check if point is within stroke width of path
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:433:43: error: argument passed to call that takes no arguments
 431 |         guard !currentPath.isEmpty else { return }
 432 |
 433 |         let strokedPath = currentPath.copy(
     |                                           `- error: argument passed to call that takes no arguments
 434 |             strokingWithWidth: currentState.lineWidth,
 435 |             lineCap: currentState.lineCap,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:438:25: error: cannot infer contextual base in reference to member 'identity'
 436 |             lineJoin: currentState.lineJoin,
 437 |             miterLimit: currentState.miterLimit,
 438 |             transform: .identity
     |                         `- error: cannot infer contextual base in reference to member 'identity'
 439 |         )
 440 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:460:38: error: argument passed to call that takes no arguments
 458 |             var ctm = currentState.ctm
 459 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 460 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 461 |             }
 462 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:528:38: error: argument passed to call that takes no arguments
 526 |             var ctm = currentState.ctm
 527 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 528 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 529 |             }
 530 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:717:38: error: argument passed to call that takes no arguments
 715 |             var ctm = currentState.ctm
 716 |             transformedClipPath = withUnsafePointer(to: &ctm) { ptr in
 717 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 718 |             }
 719 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1254:40: error: cannot convert value of type 'Duration' to expected argument type 'Double'
1252 |         let scaleX = sqrt(ctm.a * ctm.a + ctm.b * ctm.b)
1253 |         let scaleY = sqrt(ctm.c * ctm.c + ctm.d * ctm.d)
1254 |         let averageScale = sqrt(scaleX * scaleY)
     |                                        `- error: cannot convert value of type 'Duration' to expected argument type 'Double'
1255 |
1256 |         let transformedStartRadius = startRadius * averageScale
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:29:31: error: cannot find type 'CGAffineTransform' in scope
27 |     /// Returns the size resulting from an affine transformation of an existing size.
28 |     @inlinable
29 |     public func applying(_ t: CGAffineTransform) -> CGSize {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
30 |         return CGSize(
31 |             width: t.a * width + t.c * height,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:104:44: error: cannot find type 'CGAffineTransform' in scope
102 |     /// Adds a subpath to the path, in the shape of a rectangle with rounded corners.
103 |     public func addRoundedRect(in rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
104 |                                 transform: CGAffineTransform = .identity) {
    |                                            `- error: cannot find type 'CGAffineTransform' in scope
105 |         let cw = min(cornerWidth, rect.width / 2)
106 |         let ch = min(cornerHeight, rect.height / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:44:14: error: cannot find type 'CGAffineTransform' in scope
 42 |     /// This is provided for operations that need to apply CTM to coordinates.
 43 |     /// Note: For path-based operations, the path is already transformed.
 44 |     var ctm: CGAffineTransform
    |              `- error: cannot find type 'CGAffineTransform' in scope
 45 |
 46 |     /// The shadow offset in user space.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:61:21: error: cannot infer contextual base in reference to member 'identity'
 59 |     init() {
 60 |         self.clipPaths = []
 61 |         self.ctm = .identity
    |                     `- error: cannot infer contextual base in reference to member 'identity'
 62 |         self.shadowOffset = .zero
 63 |         self.shadowBlur = 0
[373/381] Compiling OpenCoreGraphics CGError.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:67:30: error: cannot find type 'CGAffineTransform' in scope
  65 |
  66 |     /// The current text matrix (not part of graphics state per CoreGraphics spec).
  67 |     private var _textMatrix: CGAffineTransform = .identity
     |                              `- error: cannot find type 'CGAffineTransform' in scope
  68 |
  69 |     // MARK: - Renderer Delegate
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:84:18: error: cannot find type 'CGAffineTransform' in scope
  82 |
  83 |     private struct GraphicsState {
  84 |         var ctm: CGAffineTransform = .identity
     |                  `- error: cannot find type 'CGAffineTransform' in scope
  85 |         var clipPaths: [CGPath] = []
  86 |         var fillColor: CGColor = .black
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:287:21: error: cannot find type 'CGAffineTransform' in scope
 285 |
 286 |     /// The current transformation matrix.
 287 |     public var ctm: CGAffineTransform {
     |                     `- error: cannot find type 'CGAffineTransform' in scope
 288 |         return currentState.ctm
 289 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1338:44: error: cannot find type 'CGAffineTransform' in scope
1336 |
1337 |     /// Sets the text matrix.
1338 |     public func setTextMatrix(_ transform: CGAffineTransform) {
     |                                            `- error: cannot find type 'CGAffineTransform' in scope
1339 |         _textMatrix = transform
1340 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1343:28: error: cannot find type 'CGAffineTransform' in scope
1341 |
1342 |     /// The current text matrix.
1343 |     public var textMatrix: CGAffineTransform {
     |                            `- error: cannot find type 'CGAffineTransform' in scope
1344 |         return _textMatrix
1345 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1360:49: error: cannot find type 'CGAffineTransform' in scope
1358 |
1359 |     /// Returns the affine transform that maps user space to device space.
1360 |     public var userSpaceToDeviceSpaceTransform: CGAffineTransform {
     |                                                 `- error: cannot find type 'CGAffineTransform' in scope
1361 |         return currentState.ctm
1362 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:71:14: error: cannot find type 'CGAffineTransform' in scope
 69 |     init(
 70 |         clipPaths: [CGPath],
 71 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 72 |         shadowOffset: CGSize,
 73 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:88:14: error: cannot find type 'CGAffineTransform' in scope
 86 |     init(
 87 |         clipPath: CGPath?,
 88 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 89 |         shadowOffset: CGSize,
 90 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:122:30: error: argument passed to call that takes no arguments
 120 |     /// Returns the current drawing state for delegate calls.
 121 |     private var currentDrawingState: CGDrawingState {
 122 |         return CGDrawingState(
     |                              `- error: argument passed to call that takes no arguments
 123 |             clipPaths: currentState.clipPaths,
 124 |             ctm: currentState.ctm,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:39:64: error: cannot find type 'CGAffineTransform' in scope
 37 |
 38 |     /// Adds a sequence of connected straight-line segments to the path.
 39 |     public func addLines(between points: [CGPoint], transform: CGAffineTransform = .identity) {
    |                                                                `- error: cannot find type 'CGAffineTransform' in scope
 40 |         guard !points.isEmpty else { return }
 41 |         commands.append(.moveTo(points[0].applying(transform)))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:48:52: error: cannot find type 'CGAffineTransform' in scope
 46 |
 47 |     /// Adds a rectangular subpath to the path.
 48 |     public func addRect(_ rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 49 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(transform)
 50 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:62:56: error: cannot find type 'CGAffineTransform' in scope
 60 |
 61 |     /// Adds a set of rectangular subpaths to the path.
 62 |     public func addRects(_ rects: [CGRect], transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 63 |         for rect in rects {
 64 |             addRect(rect, transform: transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:69:56: error: cannot find type 'CGAffineTransform' in scope
 67 |
 68 |     /// Adds an ellipse that fits inside the specified rectangle.
 69 |     public func addEllipse(in rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 70 |         // Approximate ellipse with 4 bezier curves
 71 |         let cx = rect.midX
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:154:52: error: cannot find type 'CGAffineTransform' in scope
152 |     /// Adds an arc of a circle to the path, specified with a radius and angles.
153 |     public func addArc(center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat,
154 |                        clockwise: Bool, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
155 |         // Calculate start and end points
156 |         let startPoint = CGPoint(
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:235:35: error: cannot find type 'CGAffineTransform' in scope
233 |     /// Adds an arc of a circle to the path, specified with a radius and two tangent lines.
234 |     public func addArc(tangent1End: CGPoint, tangent2End: CGPoint, radius: CGFloat,
235 |                        transform: CGAffineTransform = .identity) {
    |                                   `- error: cannot find type 'CGAffineTransform' in scope
236 |         guard !commands.isEmpty else { return }
237 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:307:37: error: cannot find type 'CGAffineTransform' in scope
305 |     /// Adds a cubic Bézier curve to the path, with the specified end point and control points.
306 |     public func addCurve(to end: CGPoint, control1: CGPoint, control2: CGPoint,
307 |                          transform: CGAffineTransform = .identity) {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
308 |         commands.append(.curveTo(
309 |             control1: control1.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:317:41: error: cannot find type 'CGAffineTransform' in scope
315 |     /// Adds a quadratic Bézier curve to the path, with the specified end point and control point.
316 |     public func addQuadCurve(to end: CGPoint, control: CGPoint,
317 |                              transform: CGAffineTransform = .identity) {
    |                                         `- error: cannot find type 'CGAffineTransform' in scope
318 |         commands.append(.quadCurveTo(
319 |             control: control.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:325:52: error: cannot find type 'CGAffineTransform' in scope
323 |
324 |     /// Appends another path object to the path.
325 |     public func addPath(_ path: CGPath, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
326 |         for command in path.commands {
327 |             commands.append(command.applying(transform))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:414:56: error: cannot infer contextual base in reference to member 'winding'
 412 |         switch mode {
 413 |         case .fill, .fillStroke:
 414 |             return currentPath.contains(point, using: .winding)
     |                                                        `- error: cannot infer contextual base in reference to member 'winding'
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:416:56: error: cannot infer contextual base in reference to member 'evenOdd'
 414 |             return currentPath.contains(point, using: .winding)
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
     |                                                        `- error: cannot infer contextual base in reference to member 'evenOdd'
 417 |         case .stroke:
 418 |             // For stroke mode, we'd need to check if point is within stroke width of path
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:433:43: error: argument passed to call that takes no arguments
 431 |         guard !currentPath.isEmpty else { return }
 432 |
 433 |         let strokedPath = currentPath.copy(
     |                                           `- error: argument passed to call that takes no arguments
 434 |             strokingWithWidth: currentState.lineWidth,
 435 |             lineCap: currentState.lineCap,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:438:25: error: cannot infer contextual base in reference to member 'identity'
 436 |             lineJoin: currentState.lineJoin,
 437 |             miterLimit: currentState.miterLimit,
 438 |             transform: .identity
     |                         `- error: cannot infer contextual base in reference to member 'identity'
 439 |         )
 440 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:460:38: error: argument passed to call that takes no arguments
 458 |             var ctm = currentState.ctm
 459 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 460 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 461 |             }
 462 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:528:38: error: argument passed to call that takes no arguments
 526 |             var ctm = currentState.ctm
 527 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 528 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 529 |             }
 530 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:717:38: error: argument passed to call that takes no arguments
 715 |             var ctm = currentState.ctm
 716 |             transformedClipPath = withUnsafePointer(to: &ctm) { ptr in
 717 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 718 |             }
 719 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1254:40: error: cannot convert value of type 'Duration' to expected argument type 'Double'
1252 |         let scaleX = sqrt(ctm.a * ctm.a + ctm.b * ctm.b)
1253 |         let scaleY = sqrt(ctm.c * ctm.c + ctm.d * ctm.d)
1254 |         let averageScale = sqrt(scaleX * scaleY)
     |                                        `- error: cannot convert value of type 'Duration' to expected argument type 'Double'
1255 |
1256 |         let transformedStartRadius = startRadius * averageScale
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:29:31: error: cannot find type 'CGAffineTransform' in scope
27 |     /// Returns the size resulting from an affine transformation of an existing size.
28 |     @inlinable
29 |     public func applying(_ t: CGAffineTransform) -> CGSize {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
30 |         return CGSize(
31 |             width: t.a * width + t.c * height,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:104:44: error: cannot find type 'CGAffineTransform' in scope
102 |     /// Adds a subpath to the path, in the shape of a rectangle with rounded corners.
103 |     public func addRoundedRect(in rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
104 |                                 transform: CGAffineTransform = .identity) {
    |                                            `- error: cannot find type 'CGAffineTransform' in scope
105 |         let cw = min(cornerWidth, rect.width / 2)
106 |         let ch = min(cornerHeight, rect.height / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:44:14: error: cannot find type 'CGAffineTransform' in scope
 42 |     /// This is provided for operations that need to apply CTM to coordinates.
 43 |     /// Note: For path-based operations, the path is already transformed.
 44 |     var ctm: CGAffineTransform
    |              `- error: cannot find type 'CGAffineTransform' in scope
 45 |
 46 |     /// The shadow offset in user space.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:61:21: error: cannot infer contextual base in reference to member 'identity'
 59 |     init() {
 60 |         self.clipPaths = []
 61 |         self.ctm = .identity
    |                     `- error: cannot infer contextual base in reference to member 'identity'
 62 |         self.shadowOffset = .zero
 63 |         self.shadowBlur = 0
[374/381] Compiling OpenCoreGraphics CGFont.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:67:30: error: cannot find type 'CGAffineTransform' in scope
  65 |
  66 |     /// The current text matrix (not part of graphics state per CoreGraphics spec).
  67 |     private var _textMatrix: CGAffineTransform = .identity
     |                              `- error: cannot find type 'CGAffineTransform' in scope
  68 |
  69 |     // MARK: - Renderer Delegate
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:84:18: error: cannot find type 'CGAffineTransform' in scope
  82 |
  83 |     private struct GraphicsState {
  84 |         var ctm: CGAffineTransform = .identity
     |                  `- error: cannot find type 'CGAffineTransform' in scope
  85 |         var clipPaths: [CGPath] = []
  86 |         var fillColor: CGColor = .black
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:287:21: error: cannot find type 'CGAffineTransform' in scope
 285 |
 286 |     /// The current transformation matrix.
 287 |     public var ctm: CGAffineTransform {
     |                     `- error: cannot find type 'CGAffineTransform' in scope
 288 |         return currentState.ctm
 289 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1338:44: error: cannot find type 'CGAffineTransform' in scope
1336 |
1337 |     /// Sets the text matrix.
1338 |     public func setTextMatrix(_ transform: CGAffineTransform) {
     |                                            `- error: cannot find type 'CGAffineTransform' in scope
1339 |         _textMatrix = transform
1340 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1343:28: error: cannot find type 'CGAffineTransform' in scope
1341 |
1342 |     /// The current text matrix.
1343 |     public var textMatrix: CGAffineTransform {
     |                            `- error: cannot find type 'CGAffineTransform' in scope
1344 |         return _textMatrix
1345 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1360:49: error: cannot find type 'CGAffineTransform' in scope
1358 |
1359 |     /// Returns the affine transform that maps user space to device space.
1360 |     public var userSpaceToDeviceSpaceTransform: CGAffineTransform {
     |                                                 `- error: cannot find type 'CGAffineTransform' in scope
1361 |         return currentState.ctm
1362 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:71:14: error: cannot find type 'CGAffineTransform' in scope
 69 |     init(
 70 |         clipPaths: [CGPath],
 71 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 72 |         shadowOffset: CGSize,
 73 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:88:14: error: cannot find type 'CGAffineTransform' in scope
 86 |     init(
 87 |         clipPath: CGPath?,
 88 |         ctm: CGAffineTransform,
    |              `- error: cannot find type 'CGAffineTransform' in scope
 89 |         shadowOffset: CGSize,
 90 |         shadowBlur: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:122:30: error: argument passed to call that takes no arguments
 120 |     /// Returns the current drawing state for delegate calls.
 121 |     private var currentDrawingState: CGDrawingState {
 122 |         return CGDrawingState(
     |                              `- error: argument passed to call that takes no arguments
 123 |             clipPaths: currentState.clipPaths,
 124 |             ctm: currentState.ctm,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:39:64: error: cannot find type 'CGAffineTransform' in scope
 37 |
 38 |     /// Adds a sequence of connected straight-line segments to the path.
 39 |     public func addLines(between points: [CGPoint], transform: CGAffineTransform = .identity) {
    |                                                                `- error: cannot find type 'CGAffineTransform' in scope
 40 |         guard !points.isEmpty else { return }
 41 |         commands.append(.moveTo(points[0].applying(transform)))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:48:52: error: cannot find type 'CGAffineTransform' in scope
 46 |
 47 |     /// Adds a rectangular subpath to the path.
 48 |     public func addRect(_ rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 49 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(transform)
 50 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:62:56: error: cannot find type 'CGAffineTransform' in scope
 60 |
 61 |     /// Adds a set of rectangular subpaths to the path.
 62 |     public func addRects(_ rects: [CGRect], transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 63 |         for rect in rects {
 64 |             addRect(rect, transform: transform)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:69:56: error: cannot find type 'CGAffineTransform' in scope
 67 |
 68 |     /// Adds an ellipse that fits inside the specified rectangle.
 69 |     public func addEllipse(in rect: CGRect, transform: CGAffineTransform = .identity) {
    |                                                        `- error: cannot find type 'CGAffineTransform' in scope
 70 |         // Approximate ellipse with 4 bezier curves
 71 |         let cx = rect.midX
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:154:52: error: cannot find type 'CGAffineTransform' in scope
152 |     /// Adds an arc of a circle to the path, specified with a radius and angles.
153 |     public func addArc(center: CGPoint, radius: CGFloat, startAngle: CGFloat, endAngle: CGFloat,
154 |                        clockwise: Bool, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
155 |         // Calculate start and end points
156 |         let startPoint = CGPoint(
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:235:35: error: cannot find type 'CGAffineTransform' in scope
233 |     /// Adds an arc of a circle to the path, specified with a radius and two tangent lines.
234 |     public func addArc(tangent1End: CGPoint, tangent2End: CGPoint, radius: CGFloat,
235 |                        transform: CGAffineTransform = .identity) {
    |                                   `- error: cannot find type 'CGAffineTransform' in scope
236 |         guard !commands.isEmpty else { return }
237 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:307:37: error: cannot find type 'CGAffineTransform' in scope
305 |     /// Adds a cubic Bézier curve to the path, with the specified end point and control points.
306 |     public func addCurve(to end: CGPoint, control1: CGPoint, control2: CGPoint,
307 |                          transform: CGAffineTransform = .identity) {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
308 |         commands.append(.curveTo(
309 |             control1: control1.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:317:41: error: cannot find type 'CGAffineTransform' in scope
315 |     /// Adds a quadratic Bézier curve to the path, with the specified end point and control point.
316 |     public func addQuadCurve(to end: CGPoint, control: CGPoint,
317 |                              transform: CGAffineTransform = .identity) {
    |                                         `- error: cannot find type 'CGAffineTransform' in scope
318 |         commands.append(.quadCurveTo(
319 |             control: control.applying(transform),
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:325:52: error: cannot find type 'CGAffineTransform' in scope
323 |
324 |     /// Appends another path object to the path.
325 |     public func addPath(_ path: CGPath, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
326 |         for command in path.commands {
327 |             commands.append(command.applying(transform))
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:414:56: error: cannot infer contextual base in reference to member 'winding'
 412 |         switch mode {
 413 |         case .fill, .fillStroke:
 414 |             return currentPath.contains(point, using: .winding)
     |                                                        `- error: cannot infer contextual base in reference to member 'winding'
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:416:56: error: cannot infer contextual base in reference to member 'evenOdd'
 414 |             return currentPath.contains(point, using: .winding)
 415 |         case .eoFill, .eoFillStroke:
 416 |             return currentPath.contains(point, using: .evenOdd)
     |                                                        `- error: cannot infer contextual base in reference to member 'evenOdd'
 417 |         case .stroke:
 418 |             // For stroke mode, we'd need to check if point is within stroke width of path
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:433:43: error: argument passed to call that takes no arguments
 431 |         guard !currentPath.isEmpty else { return }
 432 |
 433 |         let strokedPath = currentPath.copy(
     |                                           `- error: argument passed to call that takes no arguments
 434 |             strokingWithWidth: currentState.lineWidth,
 435 |             lineCap: currentState.lineCap,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:438:25: error: cannot infer contextual base in reference to member 'identity'
 436 |             lineJoin: currentState.lineJoin,
 437 |             miterLimit: currentState.miterLimit,
 438 |             transform: .identity
     |                         `- error: cannot infer contextual base in reference to member 'identity'
 439 |         )
 440 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:460:38: error: argument passed to call that takes no arguments
 458 |             var ctm = currentState.ctm
 459 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 460 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 461 |             }
 462 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:528:38: error: argument passed to call that takes no arguments
 526 |             var ctm = currentState.ctm
 527 |             transformedPath = withUnsafePointer(to: &ctm) { ptr in
 528 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 529 |             }
 530 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:717:38: error: argument passed to call that takes no arguments
 715 |             var ctm = currentState.ctm
 716 |             transformedClipPath = withUnsafePointer(to: &ctm) { ptr in
 717 |                 pathCopy.copy(using: ptr) ?? pathCopy
     |                                      `- error: argument passed to call that takes no arguments
 718 |             }
 719 |         }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:1254:40: error: cannot convert value of type 'Duration' to expected argument type 'Double'
1252 |         let scaleX = sqrt(ctm.a * ctm.a + ctm.b * ctm.b)
1253 |         let scaleY = sqrt(ctm.c * ctm.c + ctm.d * ctm.d)
1254 |         let averageScale = sqrt(scaleX * scaleY)
     |                                        `- error: cannot convert value of type 'Duration' to expected argument type 'Double'
1255 |
1256 |         let transformedStartRadius = startRadius * averageScale
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:29:31: error: cannot find type 'CGAffineTransform' in scope
27 |     /// Returns the size resulting from an affine transformation of an existing size.
28 |     @inlinable
29 |     public func applying(_ t: CGAffineTransform) -> CGSize {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
30 |         return CGSize(
31 |             width: t.a * width + t.c * height,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:104:44: error: cannot find type 'CGAffineTransform' in scope
102 |     /// Adds a subpath to the path, in the shape of a rectangle with rounded corners.
103 |     public func addRoundedRect(in rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
104 |                                 transform: CGAffineTransform = .identity) {
    |                                            `- error: cannot find type 'CGAffineTransform' in scope
105 |         let cw = min(cornerWidth, rect.width / 2)
106 |         let ch = min(cornerHeight, rect.height / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:44:14: error: cannot find type 'CGAffineTransform' in scope
 42 |     /// This is provided for operations that need to apply CTM to coordinates.
 43 |     /// Note: For path-based operations, the path is already transformed.
 44 |     var ctm: CGAffineTransform
    |              `- error: cannot find type 'CGAffineTransform' in scope
 45 |
 46 |     /// The shadow offset in user space.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContextRendererDelegate.swift:61:21: error: cannot infer contextual base in reference to member 'identity'
 59 |     init() {
 60 |         self.clipPaths = []
 61 |         self.ctm = .identity
    |                     `- error: cannot infer contextual base in reference to member 'identity'
 62 |         self.shadowOffset = .zero
 63 |         self.shadowBlur = 0
[375/381] Compiling OpenCoreGraphics CGPath.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:880:32: error: cannot find type 'CGAffineTransform' in scope
878 |
879 | extension PathCommand {
880 |     func applying(_ transform: CGAffineTransform) -> PathCommand {
    |                                `- error: cannot find type 'CGAffineTransform' in scope
881 |         switch self {
882 |         case .moveTo(let point):
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:40:39: error: cannot find 'CGAffineTransform' in scope
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 41 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(t)
 42 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(t)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:56:39: error: cannot find 'CGAffineTransform' in scope
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 57 |
 58 |         // Approximate ellipse with 4 bezier curves
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:94:39: error: cannot find 'CGAffineTransform' in scope
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 95 |
 96 |         let cw = min(cornerWidth, rect.width / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:491:44: error: ambiguous use of 'cos'
489 |                 let t = CGFloat(i) / CGFloat(steps)
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
    |                                            `- error: ambiguous use of 'cos'
492 |                 let y = centerY + radius * sin(angle)
493 |                 path.addLine(to: CGPoint(x: x, y: y))
Foundation.cos:1:13: note: found this candidate in module 'Foundation'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: found this candidate in module '_math'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: found this candidate in module '_math'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:492:44: error: ambiguous use of 'sin'
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
492 |                 let y = centerY + radius * sin(angle)
    |                                            `- error: ambiguous use of 'sin'
493 |                 path.addLine(to: CGPoint(x: x, y: y))
494 |             }
Foundation.sin:1:13: note: found this candidate in module 'Foundation'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: found this candidate in module '_math'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: found this candidate in module '_math'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:76:24: error: cannot find type 'CGAffineTransform' in scope
 74 |
 75 |     /// The transformation matrix applied to the pattern.
 76 |     public let matrix: CGAffineTransform
    |                        `- error: cannot find type 'CGAffineTransform' in scope
 77 |
 78 |     /// The horizontal spacing between pattern cells.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:111:26: error: cannot find type 'CGAffineTransform' in scope
109 |     public init?(info: UnsafeMutableRawPointer?,
110 |                  bounds: CGRect,
111 |                  matrix: CGAffineTransform,
    |                          `- error: cannot find type 'CGAffineTransform' in scope
112 |                  xStep: CGFloat,
113 |                  yStep: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
[376/381] Compiling OpenCoreGraphics CGPathEnums.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:880:32: error: cannot find type 'CGAffineTransform' in scope
878 |
879 | extension PathCommand {
880 |     func applying(_ transform: CGAffineTransform) -> PathCommand {
    |                                `- error: cannot find type 'CGAffineTransform' in scope
881 |         switch self {
882 |         case .moveTo(let point):
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:40:39: error: cannot find 'CGAffineTransform' in scope
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 41 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(t)
 42 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(t)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:56:39: error: cannot find 'CGAffineTransform' in scope
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 57 |
 58 |         // Approximate ellipse with 4 bezier curves
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:94:39: error: cannot find 'CGAffineTransform' in scope
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 95 |
 96 |         let cw = min(cornerWidth, rect.width / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:491:44: error: ambiguous use of 'cos'
489 |                 let t = CGFloat(i) / CGFloat(steps)
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
    |                                            `- error: ambiguous use of 'cos'
492 |                 let y = centerY + radius * sin(angle)
493 |                 path.addLine(to: CGPoint(x: x, y: y))
Foundation.cos:1:13: note: found this candidate in module 'Foundation'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: found this candidate in module '_math'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: found this candidate in module '_math'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:492:44: error: ambiguous use of 'sin'
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
492 |                 let y = centerY + radius * sin(angle)
    |                                            `- error: ambiguous use of 'sin'
493 |                 path.addLine(to: CGPoint(x: x, y: y))
494 |             }
Foundation.sin:1:13: note: found this candidate in module 'Foundation'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: found this candidate in module '_math'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: found this candidate in module '_math'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:76:24: error: cannot find type 'CGAffineTransform' in scope
 74 |
 75 |     /// The transformation matrix applied to the pattern.
 76 |     public let matrix: CGAffineTransform
    |                        `- error: cannot find type 'CGAffineTransform' in scope
 77 |
 78 |     /// The horizontal spacing between pattern cells.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:111:26: error: cannot find type 'CGAffineTransform' in scope
109 |     public init?(info: UnsafeMutableRawPointer?,
110 |                  bounds: CGRect,
111 |                  matrix: CGAffineTransform,
    |                          `- error: cannot find type 'CGAffineTransform' in scope
112 |                  xStep: CGFloat,
113 |                  yStep: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
[377/381] Compiling OpenCoreGraphics CGPattern.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:880:32: error: cannot find type 'CGAffineTransform' in scope
878 |
879 | extension PathCommand {
880 |     func applying(_ transform: CGAffineTransform) -> PathCommand {
    |                                `- error: cannot find type 'CGAffineTransform' in scope
881 |         switch self {
882 |         case .moveTo(let point):
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:40:39: error: cannot find 'CGAffineTransform' in scope
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 41 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(t)
 42 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(t)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:56:39: error: cannot find 'CGAffineTransform' in scope
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 57 |
 58 |         // Approximate ellipse with 4 bezier curves
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:94:39: error: cannot find 'CGAffineTransform' in scope
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 95 |
 96 |         let cw = min(cornerWidth, rect.width / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:491:44: error: ambiguous use of 'cos'
489 |                 let t = CGFloat(i) / CGFloat(steps)
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
    |                                            `- error: ambiguous use of 'cos'
492 |                 let y = centerY + radius * sin(angle)
493 |                 path.addLine(to: CGPoint(x: x, y: y))
Foundation.cos:1:13: note: found this candidate in module 'Foundation'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: found this candidate in module '_math'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: found this candidate in module '_math'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:492:44: error: ambiguous use of 'sin'
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
492 |                 let y = centerY + radius * sin(angle)
    |                                            `- error: ambiguous use of 'sin'
493 |                 path.addLine(to: CGPoint(x: x, y: y))
494 |             }
Foundation.sin:1:13: note: found this candidate in module 'Foundation'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: found this candidate in module '_math'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: found this candidate in module '_math'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:76:24: error: cannot find type 'CGAffineTransform' in scope
 74 |
 75 |     /// The transformation matrix applied to the pattern.
 76 |     public let matrix: CGAffineTransform
    |                        `- error: cannot find type 'CGAffineTransform' in scope
 77 |
 78 |     /// The horizontal spacing between pattern cells.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:111:26: error: cannot find type 'CGAffineTransform' in scope
109 |     public init?(info: UnsafeMutableRawPointer?,
110 |                  bounds: CGRect,
111 |                  matrix: CGAffineTransform,
    |                          `- error: cannot find type 'CGAffineTransform' in scope
112 |                  xStep: CGFloat,
113 |                  yStep: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
[378/381] Compiling OpenCoreGraphics CGRenderingBufferProvider.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:880:32: error: cannot find type 'CGAffineTransform' in scope
878 |
879 | extension PathCommand {
880 |     func applying(_ transform: CGAffineTransform) -> PathCommand {
    |                                `- error: cannot find type 'CGAffineTransform' in scope
881 |         switch self {
882 |         case .moveTo(let point):
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:40:39: error: cannot find 'CGAffineTransform' in scope
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 41 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(t)
 42 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(t)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:56:39: error: cannot find 'CGAffineTransform' in scope
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 57 |
 58 |         // Approximate ellipse with 4 bezier curves
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:94:39: error: cannot find 'CGAffineTransform' in scope
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 95 |
 96 |         let cw = min(cornerWidth, rect.width / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:491:44: error: ambiguous use of 'cos'
489 |                 let t = CGFloat(i) / CGFloat(steps)
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
    |                                            `- error: ambiguous use of 'cos'
492 |                 let y = centerY + radius * sin(angle)
493 |                 path.addLine(to: CGPoint(x: x, y: y))
Foundation.cos:1:13: note: found this candidate in module 'Foundation'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: found this candidate in module '_math'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: found this candidate in module '_math'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:492:44: error: ambiguous use of 'sin'
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
492 |                 let y = centerY + radius * sin(angle)
    |                                            `- error: ambiguous use of 'sin'
493 |                 path.addLine(to: CGPoint(x: x, y: y))
494 |             }
Foundation.sin:1:13: note: found this candidate in module 'Foundation'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: found this candidate in module '_math'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: found this candidate in module '_math'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:76:24: error: cannot find type 'CGAffineTransform' in scope
 74 |
 75 |     /// The transformation matrix applied to the pattern.
 76 |     public let matrix: CGAffineTransform
    |                        `- error: cannot find type 'CGAffineTransform' in scope
 77 |
 78 |     /// The horizontal spacing between pattern cells.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:111:26: error: cannot find type 'CGAffineTransform' in scope
109 |     public init?(info: UnsafeMutableRawPointer?,
110 |                  bounds: CGRect,
111 |                  matrix: CGAffineTransform,
    |                          `- error: cannot find type 'CGAffineTransform' in scope
112 |                  xStep: CGFloat,
113 |                  yStep: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
[379/381] Compiling OpenCoreGraphics CGShading.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:880:32: error: cannot find type 'CGAffineTransform' in scope
878 |
879 | extension PathCommand {
880 |     func applying(_ transform: CGAffineTransform) -> PathCommand {
    |                                `- error: cannot find type 'CGAffineTransform' in scope
881 |         switch self {
882 |         case .moveTo(let point):
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:40:39: error: cannot find 'CGAffineTransform' in scope
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 41 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(t)
 42 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(t)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:56:39: error: cannot find 'CGAffineTransform' in scope
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 57 |
 58 |         // Approximate ellipse with 4 bezier curves
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:94:39: error: cannot find 'CGAffineTransform' in scope
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 95 |
 96 |         let cw = min(cornerWidth, rect.width / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:491:44: error: ambiguous use of 'cos'
489 |                 let t = CGFloat(i) / CGFloat(steps)
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
    |                                            `- error: ambiguous use of 'cos'
492 |                 let y = centerY + radius * sin(angle)
493 |                 path.addLine(to: CGPoint(x: x, y: y))
Foundation.cos:1:13: note: found this candidate in module 'Foundation'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: found this candidate in module '_math'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: found this candidate in module '_math'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:492:44: error: ambiguous use of 'sin'
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
492 |                 let y = centerY + radius * sin(angle)
    |                                            `- error: ambiguous use of 'sin'
493 |                 path.addLine(to: CGPoint(x: x, y: y))
494 |             }
Foundation.sin:1:13: note: found this candidate in module 'Foundation'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: found this candidate in module '_math'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: found this candidate in module '_math'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:76:24: error: cannot find type 'CGAffineTransform' in scope
 74 |
 75 |     /// The transformation matrix applied to the pattern.
 76 |     public let matrix: CGAffineTransform
    |                        `- error: cannot find type 'CGAffineTransform' in scope
 77 |
 78 |     /// The horizontal spacing between pattern cells.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:111:26: error: cannot find type 'CGAffineTransform' in scope
109 |     public init?(info: UnsafeMutableRawPointer?,
110 |                  bounds: CGRect,
111 |                  matrix: CGAffineTransform,
    |                          `- error: cannot find type 'CGAffineTransform' in scope
112 |                  xStep: CGFloat,
113 |                  yStep: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
[380/381] Compiling OpenCoreGraphics CGTextDrawingMode.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:880:32: error: cannot find type 'CGAffineTransform' in scope
878 |
879 | extension PathCommand {
880 |     func applying(_ transform: CGAffineTransform) -> PathCommand {
    |                                `- error: cannot find type 'CGAffineTransform' in scope
881 |         switch self {
882 |         case .moveTo(let point):
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:40:39: error: cannot find 'CGAffineTransform' in scope
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 41 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(t)
 42 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(t)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:56:39: error: cannot find 'CGAffineTransform' in scope
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 57 |
 58 |         // Approximate ellipse with 4 bezier curves
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:94:39: error: cannot find 'CGAffineTransform' in scope
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 95 |
 96 |         let cw = min(cornerWidth, rect.width / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:491:44: error: ambiguous use of 'cos'
489 |                 let t = CGFloat(i) / CGFloat(steps)
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
    |                                            `- error: ambiguous use of 'cos'
492 |                 let y = centerY + radius * sin(angle)
493 |                 path.addLine(to: CGPoint(x: x, y: y))
Foundation.cos:1:13: note: found this candidate in module 'Foundation'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: found this candidate in module '_math'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: found this candidate in module '_math'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:492:44: error: ambiguous use of 'sin'
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
492 |                 let y = centerY + radius * sin(angle)
    |                                            `- error: ambiguous use of 'sin'
493 |                 path.addLine(to: CGPoint(x: x, y: y))
494 |             }
Foundation.sin:1:13: note: found this candidate in module 'Foundation'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: found this candidate in module '_math'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: found this candidate in module '_math'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:76:24: error: cannot find type 'CGAffineTransform' in scope
 74 |
 75 |     /// The transformation matrix applied to the pattern.
 76 |     public let matrix: CGAffineTransform
    |                        `- error: cannot find type 'CGAffineTransform' in scope
 77 |
 78 |     /// The horizontal spacing between pattern cells.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:111:26: error: cannot find type 'CGAffineTransform' in scope
109 |     public init?(info: UnsafeMutableRawPointer?,
110 |                  bounds: CGRect,
111 |                  matrix: CGAffineTransform,
    |                          `- error: cannot find type 'CGAffineTransform' in scope
112 |                  xStep: CGFloat,
113 |                  yStep: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
[381/381] Compiling OpenCoreGraphics Data+BinaryReading.swift
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:38:68: error: cannot find type 'CGAffineTransform' in scope
 36 |
 37 |     /// Create an immutable path of a rectangle.
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                    `- error: cannot find type 'CGAffineTransform' in scope
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:54:78: error: cannot find type 'CGAffineTransform' in scope
 52 |
 53 |     /// Create an immutable path of an ellipse.
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                                              `- error: cannot find type 'CGAffineTransform' in scope
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:92:53: error: cannot find type 'CGAffineTransform' in scope
 90 |     /// Create an immutable path of a rounded rectangle.
 91 |     public convenience init(roundedRect rect: CGRect, cornerWidth: CGFloat, cornerHeight: CGFloat,
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:224:53: error: cannot find type 'CGAffineTransform' in scope
222 |
223 |     /// Creates an immutable copy of a graphics path transformed by a transformation matrix.
224 |     public func copy(using transform: UnsafePointer<CGAffineTransform>?) -> CGPath? {
    |                                                     `- error: cannot find type 'CGAffineTransform' in scope
225 |         guard let t = transform?.pointee else {
226 |             return copy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:237:60: error: cannot find type 'CGAffineTransform' in scope
235 |
236 |     /// Creates a mutable copy of a graphics path transformed by a transformation matrix.
237 |     public func mutableCopy(using transform: UnsafePointer<CGAffineTransform>?) -> CGMutablePath? {
    |                                                            `- error: cannot find type 'CGAffineTransform' in scope
238 |         guard let t = transform?.pointee else {
239 |             return mutableCopy()
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:260:33: error: cannot find type 'CGAffineTransform' in scope
258 |                      lineJoin: CGLineJoin,
259 |                      miterLimit: CGFloat,
260 |                      transform: CGAffineTransform = .identity) -> CGPath {
    |                                 `- error: cannot find type 'CGAffineTransform' in scope
261 |         // Return empty path for zero or negative line width
262 |         guard lineWidth > 0 else {
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:552:37: error: cannot find type 'CGAffineTransform' in scope
550 |     /// Returns whether the specified point is interior to the path.
551 |     public func contains(_ point: CGPoint, using rule: CGPathFillRule = .winding,
552 |                          transform: CGAffineTransform = .identity) -> Bool {
    |                                     `- error: cannot find type 'CGAffineTransform' in scope
553 |         // Transform the point first (inverse transform to convert from user space to path space)
554 |         let testPoint = point.applying(transform.inverted())
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:33: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                 `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGVector.swift:110:48: error: cannot find type 'CGVector' in scope
108 | extension CGVector: @retroactive Equatable {
109 |     @inlinable
110 |     public static func == (lhs: CGVector, rhs: CGVector) -> Bool {
    |                                                `- error: cannot find type 'CGVector' in scope
111 |         return lhs.dx == rhs.dx && lhs.dy == rhs.dy
112 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:880:32: error: cannot find type 'CGAffineTransform' in scope
878 |
879 | extension PathCommand {
880 |     func applying(_ transform: CGAffineTransform) -> PathCommand {
    |                                `- error: cannot find type 'CGAffineTransform' in scope
881 |         switch self {
882 |         case .moveTo(let point):
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:40:39: error: cannot find 'CGAffineTransform' in scope
 38 |     public convenience init(rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 39 |         self.init()
 40 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 41 |         let p1 = CGPoint(x: rect.minX, y: rect.minY).applying(t)
 42 |         let p2 = CGPoint(x: rect.maxX, y: rect.minY).applying(t)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:16:31: error: cannot find type 'CGAffineTransform' in scope
14 |     /// Returns the point resulting from an affine transformation of an existing point.
15 |     @inlinable
16 |     public func applying(_ t: CGAffineTransform) -> CGPoint {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
17 |         return CGPoint(
18 |             x: t.a * x + t.c * y + t.tx,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:56:39: error: cannot find 'CGAffineTransform' in scope
 54 |     public convenience init(ellipseIn rect: CGRect, transform: UnsafePointer<CGAffineTransform>? = nil) {
 55 |         self.init()
 56 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 57 |
 58 |         // Approximate ellipse with 4 bezier curves
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:94:39: error: cannot find 'CGAffineTransform' in scope
 92 |                            transform: UnsafePointer<CGAffineTransform>? = nil) {
 93 |         self.init()
 94 |         let t = transform?.pointee ?? CGAffineTransform.identity
    |                                       `- error: cannot find 'CGAffineTransform' in scope
 95 |
 96 |         let cw = min(cornerWidth, rect.width / 2)
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:29:52: error: cannot find type 'CGAffineTransform' in scope
 27 |
 28 |     /// Begins a new subpath at the specified point.
 29 |     public func move(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                    `- error: cannot find type 'CGAffineTransform' in scope
 30 |         commands.append(.moveTo(point.applying(transform)))
 31 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGMutablePath.swift:34:55: error: cannot find type 'CGAffineTransform' in scope
 32 |
 33 |     /// Appends a straight line segment from the current point to the specified point.
 34 |     public func addLine(to point: CGPoint, transform: CGAffineTransform = .identity) {
    |                                                       `- error: cannot find type 'CGAffineTransform' in scope
 35 |         commands.append(.lineTo(point.applying(transform)))
 36 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:491:44: error: ambiguous use of 'cos'
489 |                 let t = CGFloat(i) / CGFloat(steps)
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
    |                                            `- error: ambiguous use of 'cos'
492 |                 let y = centerY + radius * sin(angle)
493 |                 path.addLine(to: CGPoint(x: x, y: y))
Foundation.cos:1:13: note: found this candidate in module 'Foundation'
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: found this candidate in module '_math'
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: found this candidate in module '_math'
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPath.swift:492:44: error: ambiguous use of 'sin'
490 |                 let angle = startAngle + (endAngle - startAngle + .pi) * t
491 |                 let x = centerX + radius * cos(angle)
492 |                 let y = centerY + radius * sin(angle)
    |                                            `- error: ambiguous use of 'sin'
493 |                 path.addLine(to: CGPoint(x: x, y: y))
494 |             }
Foundation.sin:1:13: note: found this candidate in module 'Foundation'
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: found this candidate in module 'Foundation'
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: found this candidate in module '_math'
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: found this candidate in module '_math'
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:76:24: error: cannot find type 'CGAffineTransform' in scope
 74 |
 75 |     /// The transformation matrix applied to the pattern.
 76 |     public let matrix: CGAffineTransform
    |                        `- error: cannot find type 'CGAffineTransform' in scope
 77 |
 78 |     /// The horizontal spacing between pattern cells.
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGPattern.swift:111:26: error: cannot find type 'CGAffineTransform' in scope
109 |     public init?(info: UnsafeMutableRawPointer?,
110 |                  bounds: CGRect,
111 |                  matrix: CGAffineTransform,
    |                          `- error: cannot find type 'CGAffineTransform' in scope
112 |                  xStep: CGFloat,
113 |                  yStep: CGFloat,
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/Graphics/CGContext.swift:307:42: error: cannot find type 'CGAffineTransform' in scope
 305 |
 306 |     /// Concatenates the current transformation matrix with an affine transformation.
 307 |     public func concatenate(_ transform: CGAffineTransform) {
     |                                          `- error: cannot find type 'CGAffineTransform' in scope
 308 |         currentState.ctm = currentState.ctm.concatenating(transform)
 309 |     }
/host/spi-builder-workspace/.build/checkouts/OpenCoreGraphics/Sources/OpenCoreGraphics/CGGeometryExtensions.swift:42:31: error: cannot find type 'CGAffineTransform' in scope
40 |     /// Returns the rectangle resulting from an affine transformation of an existing rectangle.
41 |     @inlinable
42 |     public func applying(_ t: CGAffineTransform) -> CGRect {
   |                               `- error: cannot find type 'CGAffineTransform' in scope
43 |         if t.isIdentity { return self }
44 |
BUILD FAILURE 6.2 android