The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftyHaru, reference dev (bcc8a3), with Swift 6.1 for Android on 27 May 2025 09:27:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 |                 return 1 - max(color.red, color.green, color.blue)
248 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
252 |         set {
253 |             switch _wrapped {
254 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 |                 _wrapped = .cmyk(cyan: color.cyan,
256 |                                  magenta: color.magenta,
[101/114] Compiling SwiftyHaru DashStyle.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/DashStyle.swift:19:23: warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     ///
18 |     /// ![Figure](http://libharu.org/figures/figure16.png "figure")
19 |     public static var straightLine = DashStyle(pattern: [])!
   |                       |- warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'straightLine' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'straightLine' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     public static let maxDashPattern = Int(HPDF_MAX_DASH_PATTERN)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | /// A structure that contains width and height values.
 14 | public struct Size: Hashable {
    |               `- note: consider making struct 'Size' conform to the 'Sendable' protocol
 15 |
 16 |     /// The size whose width and height are both zero.
 17 |     public static let zero = Size(width: 0, height: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// A width value.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:67:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 | /// A structure that contains a point in a two-dimensional coordinate system.
 64 | public struct Point: Hashable {
    |               `- note: consider making struct 'Point' conform to the 'Sendable' protocol
 65 |
 66 |     /// The point with location (0, 0).
 67 |     public static let zero = Point(x: 0, y: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |
 69 |     /// The x-coordinate of the point.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:180:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// A structure that contains a two-dimensional vector.
177 | public struct Vector: Hashable {
    |               `- note: consider making struct 'Vector' conform to the 'Sendable' protocol
178 |
179 |     /// The vector whose components are both zero.
180 |     public static let zero = Vector(dx: 0, dy: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 |     /// The x component of the vector.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:337:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | /// A structure that contains the location and dimensions of a rectangle.
334 | public struct Rectangle: Hashable {
    |               `- note: consider making struct 'Rectangle' conform to the 'Sendable' protocol
335 |
336 |     /// The rectangle whose origin and size are both zero.
337 |     public static let zero = Rectangle(origin: .zero, size: .zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |     /// A point that specifies the coordinates of the rectangle’s origin.
[102/114] Compiling SwiftyHaru Drawable.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/DashStyle.swift:19:23: warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     ///
18 |     /// ![Figure](http://libharu.org/figures/figure16.png "figure")
19 |     public static var straightLine = DashStyle(pattern: [])!
   |                       |- warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'straightLine' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'straightLine' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     public static let maxDashPattern = Int(HPDF_MAX_DASH_PATTERN)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | /// A structure that contains width and height values.
 14 | public struct Size: Hashable {
    |               `- note: consider making struct 'Size' conform to the 'Sendable' protocol
 15 |
 16 |     /// The size whose width and height are both zero.
 17 |     public static let zero = Size(width: 0, height: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// A width value.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:67:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 | /// A structure that contains a point in a two-dimensional coordinate system.
 64 | public struct Point: Hashable {
    |               `- note: consider making struct 'Point' conform to the 'Sendable' protocol
 65 |
 66 |     /// The point with location (0, 0).
 67 |     public static let zero = Point(x: 0, y: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |
 69 |     /// The x-coordinate of the point.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:180:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// A structure that contains a two-dimensional vector.
177 | public struct Vector: Hashable {
    |               `- note: consider making struct 'Vector' conform to the 'Sendable' protocol
178 |
179 |     /// The vector whose components are both zero.
180 |     public static let zero = Vector(dx: 0, dy: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 |     /// The x component of the vector.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:337:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | /// A structure that contains the location and dimensions of a rectangle.
334 | public struct Rectangle: Hashable {
    |               `- note: consider making struct 'Rectangle' conform to the 'Sendable' protocol
335 |
336 |     /// The rectangle whose origin and size are both zero.
337 |     public static let zero = Rectangle(origin: .zero, size: .zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |     /// A point that specifies the coordinates of the rectangle’s origin.
[103/114] Compiling SwiftyHaru Geometry.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/DashStyle.swift:19:23: warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     ///
18 |     /// ![Figure](http://libharu.org/figures/figure16.png "figure")
19 |     public static var straightLine = DashStyle(pattern: [])!
   |                       |- warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'straightLine' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'straightLine' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     public static let maxDashPattern = Int(HPDF_MAX_DASH_PATTERN)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | /// A structure that contains width and height values.
 14 | public struct Size: Hashable {
    |               `- note: consider making struct 'Size' conform to the 'Sendable' protocol
 15 |
 16 |     /// The size whose width and height are both zero.
 17 |     public static let zero = Size(width: 0, height: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// A width value.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:67:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 | /// A structure that contains a point in a two-dimensional coordinate system.
 64 | public struct Point: Hashable {
    |               `- note: consider making struct 'Point' conform to the 'Sendable' protocol
 65 |
 66 |     /// The point with location (0, 0).
 67 |     public static let zero = Point(x: 0, y: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |
 69 |     /// The x-coordinate of the point.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:180:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// A structure that contains a two-dimensional vector.
177 | public struct Vector: Hashable {
    |               `- note: consider making struct 'Vector' conform to the 'Sendable' protocol
178 |
179 |     /// The vector whose components are both zero.
180 |     public static let zero = Vector(dx: 0, dy: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 |     /// The x component of the vector.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:337:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | /// A structure that contains the location and dimensions of a rectangle.
334 | public struct Rectangle: Hashable {
    |               `- note: consider making struct 'Rectangle' conform to the 'Sendable' protocol
335 |
336 |     /// The rectangle whose origin and size are both zero.
337 |     public static let zero = Rectangle(origin: .zero, size: .zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |     /// A point that specifies the coordinates of the rectangle’s origin.
[104/114] Compiling SwiftyHaru LineCap.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/DashStyle.swift:19:23: warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     ///
18 |     /// ![Figure](http://libharu.org/figures/figure16.png "figure")
19 |     public static var straightLine = DashStyle(pattern: [])!
   |                       |- warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'straightLine' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'straightLine' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     public static let maxDashPattern = Int(HPDF_MAX_DASH_PATTERN)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | /// A structure that contains width and height values.
 14 | public struct Size: Hashable {
    |               `- note: consider making struct 'Size' conform to the 'Sendable' protocol
 15 |
 16 |     /// The size whose width and height are both zero.
 17 |     public static let zero = Size(width: 0, height: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// A width value.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:67:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 | /// A structure that contains a point in a two-dimensional coordinate system.
 64 | public struct Point: Hashable {
    |               `- note: consider making struct 'Point' conform to the 'Sendable' protocol
 65 |
 66 |     /// The point with location (0, 0).
 67 |     public static let zero = Point(x: 0, y: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |
 69 |     /// The x-coordinate of the point.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:180:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// A structure that contains a two-dimensional vector.
177 | public struct Vector: Hashable {
    |               `- note: consider making struct 'Vector' conform to the 'Sendable' protocol
178 |
179 |     /// The vector whose components are both zero.
180 |     public static let zero = Vector(dx: 0, dy: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 |     /// The x component of the vector.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:337:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | /// A structure that contains the location and dimensions of a rectangle.
334 | public struct Rectangle: Hashable {
    |               `- note: consider making struct 'Rectangle' conform to the 'Sendable' protocol
335 |
336 |     /// The rectangle whose origin and size are both zero.
337 |     public static let zero = Rectangle(origin: .zero, size: .zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |     /// A point that specifies the coordinates of the rectangle’s origin.
[105/114] Compiling SwiftyHaru LineJoin.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/DashStyle.swift:19:23: warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |     ///
18 |     /// ![Figure](http://libharu.org/figures/figure16.png "figure")
19 |     public static var straightLine = DashStyle(pattern: [])!
   |                       |- warning: static property 'straightLine' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'straightLine' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'straightLine' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     public static let maxDashPattern = Int(HPDF_MAX_DASH_PATTERN)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:17:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | /// A structure that contains width and height values.
 14 | public struct Size: Hashable {
    |               `- note: consider making struct 'Size' conform to the 'Sendable' protocol
 15 |
 16 |     /// The size whose width and height are both zero.
 17 |     public static let zero = Size(width: 0, height: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |     /// A width value.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:67:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
 62 |
 63 | /// A structure that contains a point in a two-dimensional coordinate system.
 64 | public struct Point: Hashable {
    |               `- note: consider making struct 'Point' conform to the 'Sendable' protocol
 65 |
 66 |     /// The point with location (0, 0).
 67 |     public static let zero = Point(x: 0, y: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |
 69 |     /// The x-coordinate of the point.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:180:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | /// A structure that contains a two-dimensional vector.
177 | public struct Vector: Hashable {
    |               `- note: consider making struct 'Vector' conform to the 'Sendable' protocol
178 |
179 |     /// The vector whose components are both zero.
180 |     public static let zero = Vector(dx: 0, dy: 0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Vector' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 |     /// The x component of the vector.
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Geometry.swift:337:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
332 |
333 | /// A structure that contains the location and dimensions of a rectangle.
334 | public struct Rectangle: Hashable {
    |               `- note: consider making struct 'Rectangle' conform to the 'Sendable' protocol
335 |
336 |     /// The rectangle whose origin and size are both zero.
337 |     public static let zero = Rectangle(origin: .zero, size: .zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rectangle' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |     /// A point that specifies the coordinates of the rectangle’s origin.
[106/114] Compiling SwiftyHaru PDFDocument.swift
[107/114] Compiling SwiftyHaru PDFError.swift
[108/114] Compiling SwiftyHaru PDFPage.Direction.swift
[109/114] Compiling SwiftyHaru PDFPage.Size.swift
[110/114] Compiling SwiftyHaru PDFColorSpace.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[111/114] Compiling SwiftyHaru Path.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[112/114] Compiling SwiftyHaru TextRenderingMode.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[113/114] Compiling SwiftyHaru Grid+Drawable.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[114/114] Compiling SwiftyHaru Grid.LabelParameters.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/36] Compiling SwiftyHaru PDFDocument.EncryptionMode.swift
[3/36] Compiling SwiftyHaru PDFDocument.Metadata.swift
[4/36] Compiling SwiftyHaru PDFDocument.PageLayout.swift
[5/36] Compiling SwiftyHaru PDFDocument.PageNumberStyle.swift
[6/36] Compiling SwiftyHaru PDFDocument.Permissions.swift
[7/40] Compiling SwiftyHaru PDFPage.swift
[8/40] Compiling SwiftyHaru Sequence.swift
[9/40] Compiling SwiftyHaru TextAlignment.swift
[10/40] Compiling SwiftyHaru Unimplemented.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/40] Emitting module SwiftyHaru
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:111:22: error: no exact matches in call to global function 'cos'
109 |     public init(rotationAngle angle: Float) {
110 |
111 |         let cosine = cos(angle)
    |                      `- error: no exact matches in call to global function 'cos'
112 |         let sine = sin(angle)
113 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:112:20: error: no exact matches in call to global function 'sin'
110 |
111 |         let cosine = cos(angle)
112 |         let sine = sin(angle)
    |                    `- error: no exact matches in call to global function 'sin'
113 |
114 |         self.init(a:  cosine, b:  sine,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:115:23: error: cannot convert value of type 'Vector' to expected argument type 'Float'
113 |
114 |         self.init(a:  cosine, b:  sine,
115 |                   c:  -sine,  d:  cosine,
    |                       `- error: cannot convert value of type 'Vector' to expected argument type 'Float'
116 |                   tx: 0,      ty: 0)
117 |     }
[12/40] Compiling SwiftyHaru Grid.Serifs.swift
[13/40] Compiling SwiftyHaru Grid.swift
[14/40] Compiling SwiftyHaru PDFArray.swift
[15/40] Compiling SwiftyHaru PDFDateFormatter.swift
[16/40] Compiling SwiftyHaru PDFDocument.CompressionMode.swift
[17/40] Compiling SwiftyHaru Grid.Labels.swift
[18/40] Compiling SwiftyHaru Grid.Lines.swift
[19/40] Compiling SwiftyHaru Grid.MajorLineParameters.swift
[20/40] Compiling SwiftyHaru Grid.MinorLineParameters.swift
[21/40] Compiling SwiftyHaru Grid.SerifParameters.swift
[22/40] Compiling SwiftyHaru PDFDocument.swift
[23/40] Compiling SwiftyHaru PDFError.swift
[24/40] Compiling SwiftyHaru PDFPage.Direction.swift
[25/40] Compiling SwiftyHaru PDFPage.Size.swift
[26/40] Compiling SwiftyHaru DrawingContext.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
299 |         set {
300 |             switch newValue._wrapped {
301 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
302 |                 HPDF_Page_SetCMYKStroke(_page,
303 |                                         color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
305 |                                         color.yellow,
306 |                                         color.black)
307 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
308 |                 HPDF_Page_SetRGBStroke(_page,
309 |                                        color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
332 |         set {
333 |             switch newValue._wrapped {
334 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
335 |                 HPDF_Page_SetCMYKFill(_page,
336 |                                       color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
338 |                                       color.yellow,
339 |                                       color.black)
340 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
341 |                 HPDF_Page_SetRGBFill(_page,
342 |                                      color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:111:22: error: no exact matches in call to global function 'cos'
109 |     public init(rotationAngle angle: Float) {
110 |
111 |         let cosine = cos(angle)
    |                      `- error: no exact matches in call to global function 'cos'
112 |         let sine = sin(angle)
113 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:112:20: error: no exact matches in call to global function 'sin'
110 |
111 |         let cosine = cos(angle)
112 |         let sine = sin(angle)
    |                    `- error: no exact matches in call to global function 'sin'
113 |
114 |         self.init(a:  cosine, b:  sine,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:115:23: error: cannot convert value of type 'Vector' to expected argument type 'Float'
113 |
114 |         self.init(a:  cosine, b:  sine,
115 |                   c:  -sine,  d:  cosine,
    |                       `- error: cannot convert value of type 'Vector' to expected argument type 'Float'
116 |                   tx: 0,      ty: 0)
117 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 64 |         get {
 65 |             switch _wrapped {
 66 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 67 |                 return color.red
 68 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 66 |             case .rgb(let color):
 67 |                 return color.red
 68 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 69 |                 return (1 - color.cyan) * (1 - color.black)
 70 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 74 |         set {
 75 |             switch _wrapped {
 76 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 77 |                 _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
 78 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 93 |         get {
 94 |             switch _wrapped {
 95 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 96 |                 return color.green
 97 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 95 |             case .rgb(let color):
 96 |                 return color.green
 97 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 98 |                 return (1 - color.magenta) * (1 - color.black)
 99 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
103 |         set {
104 |             switch _wrapped {
105 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
106 |                 _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
122 |         get {
123 |             switch _wrapped {
124 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
125 |                 return color.blue
126 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
124 |             case .rgb(let color):
125 |                 return color.blue
126 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
127 |                 return (1 - color.yellow) * (1 - color.black)
128 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
132 |         set {
133 |             switch _wrapped {
134 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
135 |                 _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
151 |         get {
152 |             switch _wrapped {
153 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
154 |                 return color.cyan
155 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
153 |             case .cmyk(let color):
154 |                 return color.cyan
155 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
156 |                 return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 |             case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
161 |         set {
162 |             switch _wrapped {
163 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
164 |                 _wrapped = .cmyk(cyan: newValue,
165 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
181 |         get {
182 |             switch _wrapped {
183 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
184 |                 return color.magenta
185 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
183 |             case .cmyk(let color):
184 |                 return color.magenta
185 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
186 |                 return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
191 |         set {
192 |             switch _wrapped {
193 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
194 |                 _wrapped = .cmyk(cyan: color.cyan,
195 |                                  magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
211 |         get {
212 |             switch _wrapped {
213 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
214 |                 return color.yellow
215 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
213 |             case .cmyk(let color):
214 |                 return color.yellow
215 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
216 |                 return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
221 |         set {
222 |             switch _wrapped {
223 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
224 |                 _wrapped = .cmyk(cyan: color.cyan,
225 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
242 |         get {
243 |             switch _wrapped {
244 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
245 |                 return color.black
246 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
244 |             case .cmyk(let color):
245 |                 return color.black
246 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 |                 return 1 - max(color.red, color.green, color.blue)
248 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
252 |         set {
253 |             switch _wrapped {
254 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 |                 _wrapped = .cmyk(cyan: color.cyan,
256 |                                  magenta: color.magenta,
[27/40] Compiling SwiftyHaru Encoding.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
299 |         set {
300 |             switch newValue._wrapped {
301 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
302 |                 HPDF_Page_SetCMYKStroke(_page,
303 |                                         color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
305 |                                         color.yellow,
306 |                                         color.black)
307 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
308 |                 HPDF_Page_SetRGBStroke(_page,
309 |                                        color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
332 |         set {
333 |             switch newValue._wrapped {
334 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
335 |                 HPDF_Page_SetCMYKFill(_page,
336 |                                       color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
338 |                                       color.yellow,
339 |                                       color.black)
340 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
341 |                 HPDF_Page_SetRGBFill(_page,
342 |                                      color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:111:22: error: no exact matches in call to global function 'cos'
109 |     public init(rotationAngle angle: Float) {
110 |
111 |         let cosine = cos(angle)
    |                      `- error: no exact matches in call to global function 'cos'
112 |         let sine = sin(angle)
113 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:112:20: error: no exact matches in call to global function 'sin'
110 |
111 |         let cosine = cos(angle)
112 |         let sine = sin(angle)
    |                    `- error: no exact matches in call to global function 'sin'
113 |
114 |         self.init(a:  cosine, b:  sine,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:115:23: error: cannot convert value of type 'Vector' to expected argument type 'Float'
113 |
114 |         self.init(a:  cosine, b:  sine,
115 |                   c:  -sine,  d:  cosine,
    |                       `- error: cannot convert value of type 'Vector' to expected argument type 'Float'
116 |                   tx: 0,      ty: 0)
117 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 64 |         get {
 65 |             switch _wrapped {
 66 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 67 |                 return color.red
 68 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 66 |             case .rgb(let color):
 67 |                 return color.red
 68 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 69 |                 return (1 - color.cyan) * (1 - color.black)
 70 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 74 |         set {
 75 |             switch _wrapped {
 76 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 77 |                 _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
 78 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 93 |         get {
 94 |             switch _wrapped {
 95 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 96 |                 return color.green
 97 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 95 |             case .rgb(let color):
 96 |                 return color.green
 97 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 98 |                 return (1 - color.magenta) * (1 - color.black)
 99 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
103 |         set {
104 |             switch _wrapped {
105 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
106 |                 _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
122 |         get {
123 |             switch _wrapped {
124 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
125 |                 return color.blue
126 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
124 |             case .rgb(let color):
125 |                 return color.blue
126 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
127 |                 return (1 - color.yellow) * (1 - color.black)
128 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
132 |         set {
133 |             switch _wrapped {
134 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
135 |                 _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
151 |         get {
152 |             switch _wrapped {
153 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
154 |                 return color.cyan
155 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
153 |             case .cmyk(let color):
154 |                 return color.cyan
155 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
156 |                 return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 |             case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
161 |         set {
162 |             switch _wrapped {
163 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
164 |                 _wrapped = .cmyk(cyan: newValue,
165 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
181 |         get {
182 |             switch _wrapped {
183 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
184 |                 return color.magenta
185 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
183 |             case .cmyk(let color):
184 |                 return color.magenta
185 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
186 |                 return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
191 |         set {
192 |             switch _wrapped {
193 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
194 |                 _wrapped = .cmyk(cyan: color.cyan,
195 |                                  magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
211 |         get {
212 |             switch _wrapped {
213 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
214 |                 return color.yellow
215 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
213 |             case .cmyk(let color):
214 |                 return color.yellow
215 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
216 |                 return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
221 |         set {
222 |             switch _wrapped {
223 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
224 |                 _wrapped = .cmyk(cyan: color.cyan,
225 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
242 |         get {
243 |             switch _wrapped {
244 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
245 |                 return color.black
246 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
244 |             case .cmyk(let color):
245 |                 return color.black
246 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 |                 return 1 - max(color.red, color.green, color.blue)
248 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
252 |         set {
253 |             switch _wrapped {
254 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 |                 _wrapped = .cmyk(cyan: color.cyan,
256 |                                  magenta: color.magenta,
[28/40] Compiling SwiftyHaru Font.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
299 |         set {
300 |             switch newValue._wrapped {
301 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
302 |                 HPDF_Page_SetCMYKStroke(_page,
303 |                                         color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
305 |                                         color.yellow,
306 |                                         color.black)
307 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
308 |                 HPDF_Page_SetRGBStroke(_page,
309 |                                        color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
332 |         set {
333 |             switch newValue._wrapped {
334 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
335 |                 HPDF_Page_SetCMYKFill(_page,
336 |                                       color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
338 |                                       color.yellow,
339 |                                       color.black)
340 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
341 |                 HPDF_Page_SetRGBFill(_page,
342 |                                      color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:111:22: error: no exact matches in call to global function 'cos'
109 |     public init(rotationAngle angle: Float) {
110 |
111 |         let cosine = cos(angle)
    |                      `- error: no exact matches in call to global function 'cos'
112 |         let sine = sin(angle)
113 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:112:20: error: no exact matches in call to global function 'sin'
110 |
111 |         let cosine = cos(angle)
112 |         let sine = sin(angle)
    |                    `- error: no exact matches in call to global function 'sin'
113 |
114 |         self.init(a:  cosine, b:  sine,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:115:23: error: cannot convert value of type 'Vector' to expected argument type 'Float'
113 |
114 |         self.init(a:  cosine, b:  sine,
115 |                   c:  -sine,  d:  cosine,
    |                       `- error: cannot convert value of type 'Vector' to expected argument type 'Float'
116 |                   tx: 0,      ty: 0)
117 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 64 |         get {
 65 |             switch _wrapped {
 66 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 67 |                 return color.red
 68 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 66 |             case .rgb(let color):
 67 |                 return color.red
 68 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 69 |                 return (1 - color.cyan) * (1 - color.black)
 70 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 74 |         set {
 75 |             switch _wrapped {
 76 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 77 |                 _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
 78 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 93 |         get {
 94 |             switch _wrapped {
 95 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 96 |                 return color.green
 97 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 95 |             case .rgb(let color):
 96 |                 return color.green
 97 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 98 |                 return (1 - color.magenta) * (1 - color.black)
 99 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
103 |         set {
104 |             switch _wrapped {
105 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
106 |                 _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
122 |         get {
123 |             switch _wrapped {
124 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
125 |                 return color.blue
126 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
124 |             case .rgb(let color):
125 |                 return color.blue
126 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
127 |                 return (1 - color.yellow) * (1 - color.black)
128 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
132 |         set {
133 |             switch _wrapped {
134 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
135 |                 _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
151 |         get {
152 |             switch _wrapped {
153 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
154 |                 return color.cyan
155 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
153 |             case .cmyk(let color):
154 |                 return color.cyan
155 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
156 |                 return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 |             case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
161 |         set {
162 |             switch _wrapped {
163 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
164 |                 _wrapped = .cmyk(cyan: newValue,
165 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
181 |         get {
182 |             switch _wrapped {
183 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
184 |                 return color.magenta
185 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
183 |             case .cmyk(let color):
184 |                 return color.magenta
185 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
186 |                 return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
191 |         set {
192 |             switch _wrapped {
193 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
194 |                 _wrapped = .cmyk(cyan: color.cyan,
195 |                                  magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
211 |         get {
212 |             switch _wrapped {
213 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
214 |                 return color.yellow
215 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
213 |             case .cmyk(let color):
214 |                 return color.yellow
215 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
216 |                 return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
221 |         set {
222 |             switch _wrapped {
223 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
224 |                 _wrapped = .cmyk(cyan: color.cyan,
225 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
242 |         get {
243 |             switch _wrapped {
244 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
245 |                 return color.black
246 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
244 |             case .cmyk(let color):
245 |                 return color.black
246 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 |                 return 1 - max(color.red, color.green, color.blue)
248 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
252 |         set {
253 |             switch _wrapped {
254 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 |                 _wrapped = .cmyk(cyan: color.cyan,
256 |                                  magenta: color.magenta,
[29/40] Compiling SwiftyHaru AffineTransform.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
299 |         set {
300 |             switch newValue._wrapped {
301 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
302 |                 HPDF_Page_SetCMYKStroke(_page,
303 |                                         color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
305 |                                         color.yellow,
306 |                                         color.black)
307 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
308 |                 HPDF_Page_SetRGBStroke(_page,
309 |                                        color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
332 |         set {
333 |             switch newValue._wrapped {
334 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
335 |                 HPDF_Page_SetCMYKFill(_page,
336 |                                       color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
338 |                                       color.yellow,
339 |                                       color.black)
340 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
341 |                 HPDF_Page_SetRGBFill(_page,
342 |                                      color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:111:22: error: no exact matches in call to global function 'cos'
109 |     public init(rotationAngle angle: Float) {
110 |
111 |         let cosine = cos(angle)
    |                      `- error: no exact matches in call to global function 'cos'
112 |         let sine = sin(angle)
113 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:112:20: error: no exact matches in call to global function 'sin'
110 |
111 |         let cosine = cos(angle)
112 |         let sine = sin(angle)
    |                    `- error: no exact matches in call to global function 'sin'
113 |
114 |         self.init(a:  cosine, b:  sine,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:115:23: error: cannot convert value of type 'Vector' to expected argument type 'Float'
113 |
114 |         self.init(a:  cosine, b:  sine,
115 |                   c:  -sine,  d:  cosine,
    |                       `- error: cannot convert value of type 'Vector' to expected argument type 'Float'
116 |                   tx: 0,      ty: 0)
117 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 64 |         get {
 65 |             switch _wrapped {
 66 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 67 |                 return color.red
 68 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 66 |             case .rgb(let color):
 67 |                 return color.red
 68 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 69 |                 return (1 - color.cyan) * (1 - color.black)
 70 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 74 |         set {
 75 |             switch _wrapped {
 76 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 77 |                 _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
 78 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 93 |         get {
 94 |             switch _wrapped {
 95 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 96 |                 return color.green
 97 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 95 |             case .rgb(let color):
 96 |                 return color.green
 97 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 98 |                 return (1 - color.magenta) * (1 - color.black)
 99 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
103 |         set {
104 |             switch _wrapped {
105 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
106 |                 _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
122 |         get {
123 |             switch _wrapped {
124 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
125 |                 return color.blue
126 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
124 |             case .rgb(let color):
125 |                 return color.blue
126 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
127 |                 return (1 - color.yellow) * (1 - color.black)
128 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
132 |         set {
133 |             switch _wrapped {
134 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
135 |                 _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
151 |         get {
152 |             switch _wrapped {
153 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
154 |                 return color.cyan
155 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
153 |             case .cmyk(let color):
154 |                 return color.cyan
155 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
156 |                 return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 |             case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
161 |         set {
162 |             switch _wrapped {
163 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
164 |                 _wrapped = .cmyk(cyan: newValue,
165 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
181 |         get {
182 |             switch _wrapped {
183 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
184 |                 return color.magenta
185 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
183 |             case .cmyk(let color):
184 |                 return color.magenta
185 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
186 |                 return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
191 |         set {
192 |             switch _wrapped {
193 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
194 |                 _wrapped = .cmyk(cyan: color.cyan,
195 |                                  magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
211 |         get {
212 |             switch _wrapped {
213 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
214 |                 return color.yellow
215 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
213 |             case .cmyk(let color):
214 |                 return color.yellow
215 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
216 |                 return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
221 |         set {
222 |             switch _wrapped {
223 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
224 |                 _wrapped = .cmyk(cyan: color.cyan,
225 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
242 |         get {
243 |             switch _wrapped {
244 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
245 |                 return color.black
246 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
244 |             case .cmyk(let color):
245 |                 return color.black
246 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 |                 return 1 - max(color.red, color.green, color.blue)
248 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
252 |         set {
253 |             switch _wrapped {
254 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 |                 _wrapped = .cmyk(cyan: color.cyan,
256 |                                  magenta: color.magenta,
[30/40] Compiling SwiftyHaru Color.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:301:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
299 |         set {
300 |             switch newValue._wrapped {
301 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
302 |                 HPDF_Page_SetCMYKStroke(_page,
303 |                                         color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:307:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
305 |                                         color.yellow,
306 |                                         color.black)
307 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
308 |                 HPDF_Page_SetRGBStroke(_page,
309 |                                        color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:334:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
332 |         set {
333 |             switch newValue._wrapped {
334 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
335 |                 HPDF_Page_SetCMYKFill(_page,
336 |                                       color.cyan,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:40:14: note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/DrawingContext.swift:340:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
338 |                                       color.yellow,
339 |                                       color.black)
340 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
341 |                 HPDF_Page_SetRGBFill(_page,
342 |                                      color.red,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:39:14: note: 'rgb(red:green:blue:)' declared here
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:111:22: error: no exact matches in call to global function 'cos'
109 |     public init(rotationAngle angle: Float) {
110 |
111 |         let cosine = cos(angle)
    |                      `- error: no exact matches in call to global function 'cos'
112 |         let sine = sin(angle)
113 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:112:20: error: no exact matches in call to global function 'sin'
110 |
111 |         let cosine = cos(angle)
112 |         let sine = sin(angle)
    |                    `- error: no exact matches in call to global function 'sin'
113 |
114 |         self.init(a:  cosine, b:  sine,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/AffineTransform.swift:115:23: error: cannot convert value of type 'Vector' to expected argument type 'Float'
113 |
114 |         self.init(a:  cosine, b:  sine,
115 |                   c:  -sine,  d:  cosine,
    |                       `- error: cannot convert value of type 'Vector' to expected argument type 'Float'
116 |                   tx: 0,      ty: 0)
117 |     }
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:66:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 64 |         get {
 65 |             switch _wrapped {
 66 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 67 |                 return color.red
 68 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:68:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 66 |             case .rgb(let color):
 67 |                 return color.red
 68 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 69 |                 return (1 - color.cyan) * (1 - color.black)
 70 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:76:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 74 |         set {
 75 |             switch _wrapped {
 76 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 77 |                 _wrapped = .rgb(red: newValue, green: color.green, blue: color.blue)
 78 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:95:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
 93 |         get {
 94 |             switch _wrapped {
 95 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 96 |                 return color.green
 97 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:97:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
 95 |             case .rgb(let color):
 96 |                 return color.green
 97 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 98 |                 return (1 - color.magenta) * (1 - color.black)
 99 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:105:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
103 |         set {
104 |             switch _wrapped {
105 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
106 |                 _wrapped = .rgb(red: color.red, green: newValue, blue: color.blue)
107 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:124:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
122 |         get {
123 |             switch _wrapped {
124 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
125 |                 return color.blue
126 |             case .cmyk(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:126:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
124 |             case .rgb(let color):
125 |                 return color.blue
126 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
127 |                 return (1 - color.yellow) * (1 - color.black)
128 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:134:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
132 |         set {
133 |             switch _wrapped {
134 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
135 |                 _wrapped = .rgb(red: color.red, green: color.green, blue: newValue)
136 |             case .cmyk:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:153:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
151 |         get {
152 |             switch _wrapped {
153 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
154 |                 return color.cyan
155 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:155:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
153 |             case .cmyk(let color):
154 |                 return color.cyan
155 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
156 |                 return black < 1 ? (1 - color.red - black) / (1 - black) : 0
157 |             case .gray:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:163:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
161 |         set {
162 |             switch _wrapped {
163 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
164 |                 _wrapped = .cmyk(cyan: newValue,
165 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:183:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
181 |         get {
182 |             switch _wrapped {
183 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
184 |                 return color.magenta
185 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:185:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
183 |             case .cmyk(let color):
184 |                 return color.magenta
185 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
186 |                 return black < 1 ? (1 - color.green - black) / (1 - black) : 0
187 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:193:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
191 |         set {
192 |             switch _wrapped {
193 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
194 |                 _wrapped = .cmyk(cyan: color.cyan,
195 |                                  magenta: newValue,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:213:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
211 |         get {
212 |             switch _wrapped {
213 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
214 |                 return color.yellow
215 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:215:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
213 |             case .cmyk(let color):
214 |                 return color.yellow
215 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
216 |                 return black < 1 ? (1 - color.blue - black) / (1 - black) : 0
217 |             default:
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:223:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
221 |         set {
222 |             switch _wrapped {
223 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
224 |                 _wrapped = .cmyk(cyan: color.cyan,
225 |                                  magenta: color.magenta,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:244:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
242 |         get {
243 |             switch _wrapped {
244 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
245 |                 return color.black
246 |             case .rgb(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:246:23: warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
 37 |
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
    |              `- note: 'rgb(red:green:blue:)' declared here
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
 41 |         case gray(Float)
    :
244 |             case .cmyk(let color):
245 |                 return color.black
246 |             case .rgb(let color):
    |                       `- warning: enum case 'rgb' has 3 associated values; matching them as a tuple is deprecated
247 |                 return 1 - max(color.red, color.green, color.blue)
248 |             case .gray(let color):
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Color.swift:254:24: warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
 38 |     internal enum _ColorSpaceWrapper: Hashable {
 39 |         case rgb(red: Float, green: Float, blue: Float)
 40 |         case cmyk(cyan: Float, magenta: Float, yellow: Float, black: Float)
    |              `- note: 'cmyk(cyan:magenta:yellow:black:)' declared here
 41 |         case gray(Float)
 42 |     }
    :
252 |         set {
253 |             switch _wrapped {
254 |             case .cmyk(let color):
    |                        `- warning: enum case 'cmyk' has 4 associated values; matching them as a tuple is deprecated
255 |                 _wrapped = .cmyk(cyan: color.cyan,
256 |                                  magenta: color.magenta,
[31/40] Compiling SwiftyHaru DashStyle.swift
[32/40] Compiling SwiftyHaru Drawable.swift
[33/40] Compiling SwiftyHaru Geometry.swift
[34/40] Compiling SwiftyHaru LineCap.swift
[35/40] Compiling SwiftyHaru LineJoin.swift
[36/40] Compiling SwiftyHaru PDFColorSpace.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[37/40] Compiling SwiftyHaru Path.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[38/40] Compiling SwiftyHaru TextRenderingMode.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[39/40] Compiling SwiftyHaru Grid+Drawable.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
[40/40] Compiling SwiftyHaru Grid.LabelParameters.swift
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:26: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                          |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                          `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
178 |         let ry3 = -radius * sin(newAngle)
179 |
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:177:28: error: no exact matches in call to global function 'cos'
175 |         let newAngle = (endAngle - beginningAngle) / 2 / 180 * .pi
176 |
177 |         let rx3 = radius * cos(newAngle)
    |                            `- error: no exact matches in call to global function 'cos'
178 |         let ry3 = -radius * sin(newAngle)
179 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 90 | long double atan2l(long double __y, long double __x);
 91 |
 92 | double cos(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:27: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                           |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
    |                           `- note: overloads for '*' exist with these partially matching parameter lists: (CGFloat, CGFloat), (Double, Double), (Duration, Double), (Float, Float), (Float, Vector)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:19: error: unary operator '-' cannot be applied to an operand of type 'Float'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                   |- error: unary operator '-' cannot be applied to an operand of type 'Float'
    |                   `- note: overloads for '-' exist with these partially matching parameter lists: (Float)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:178:29: error: no exact matches in call to global function 'sin'
176 |
177 |         let rx3 = radius * cos(newAngle)
178 |         let ry3 = -radius * sin(newAngle)
    |                             `- error: no exact matches in call to global function 'sin'
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 94 | long double cosl(long double __x);
 95 |
 96 | double sin(double __x);
    |        `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
/host/spi-builder-workspace/Sources/SwiftyHaru/Graphics/Path.swift:180:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
178 |         let ry3 = -radius * sin(newAngle)
179 |
180 |         _currentPosition = Point(x: rx3 * cos(deltaAngle) - ry3 * sin(deltaAngle) + center.x,
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
181 |                                  y: rx3 * sin(deltaAngle) + ry3 * cos(deltaAngle) + center.y)
182 |
BUILD FAILURE 6.1 android