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 swift-bezier, reference main (7061d2), with Swift 6.1 for Android on 29 May 2025 13:46:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/swift-bezier.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/LuizZak/swift-bezier
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7061d2e Adding BezierType.approximate() function
Cloned https://github.com/LuizZak/swift-bezier.git
Revision (git rev-parse @):
7061d2e5396e006e6b80313510c3689917d9569d
SUCCESS checkout https://github.com/LuizZak/swift-bezier.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/LuizZak/swift-bezier.git
https://github.com/LuizZak/swift-bezier.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics.git"
    },
    {
      "identity" : "minip5printer",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/LuizZak/MiniP5Printer.git"
    }
  ],
  "manifest_display_name" : "swift-bezier",
  "name" : "swift-bezier",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBezier",
      "targets" : [
        "SwiftBezier"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBezierTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBezierTests",
      "path" : "Tests/swift-bezierTests",
      "product_dependencies" : [
        "Numerics",
        "MiniP5Printer"
      ],
      "sources" : [
        "Beziers/Cubic/CubicBezier2Tests.swift",
        "Beziers/Cubic/CubicBezierTests.swift",
        "Beziers/Linear/LinearBezier2Tests.swift",
        "Beziers/Linear/LinearBezierTests.swift",
        "Beziers/Quadratic/QuadBezier2Tests.swift",
        "Beziers/Quadratic/QuadBezierTests.swift",
        "CachedBezierTests.swift",
        "Internal/BinarySearchTests.swift",
        "Internal/QuadraticSolverTests.swift",
        "LookUpTableTests.swift",
        "Point/Bezier2DPointTests.swift",
        "Point/Bezier2FPointTests.swift",
        "Protocols/BezierTypeTests.swift",
        "TestUtils/Assertions.swift",
        "TestUtils/CubicBezier2+Factory.swift",
        "TestUtils/LinearBezier2+Factory.swift",
        "TestUtils/P5Printer.swift",
        "TestUtils/ProxyTestBezier.swift",
        "TestUtils/QuadBezier2+Factory.swift",
        "TestUtils/TestFixture.swift"
      ],
      "target_dependencies" : [
        "SwiftBezier"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBezier",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBezier",
      "path" : "Sources/swift-bezier",
      "product_memberships" : [
        "SwiftBezier"
      ],
      "sources" : [
        "BezierLookUpTable.swift",
        "Beziers/Cubic/CubicBezier+Cached.swift",
        "Beziers/Cubic/CubicBezier.swift",
        "Beziers/Cubic/CubicBezier2.swift",
        "Beziers/Linear/LinearBezier+Cached.swift",
        "Beziers/Linear/LinearBezier.swift",
        "Beziers/Linear/LinearBezier2.swift",
        "Beziers/Quadratic/QuadBezier+Cached.swift",
        "Beziers/Quadratic/QuadBezier.swift",
        "Beziers/Quadratic/QuadBezier2.swift",
        "CachedBezier.swift",
        "Internal/BinarySearch.swift",
        "Internal/Comparable+Ext.swift",
        "Internal/LegendreGauss.swift",
        "Internal/Math.swift",
        "Internal/QuadraticSolver.swift",
        "LookUpTable.swift",
        "Point/Bezier2DPoint.swift",
        "Point/Bezier2FPoint.swift",
        "Protocols/Bezier2Type.swift",
        "Protocols/BezierType.swift",
        "Protocols/BoundedBezier2Type.swift",
        "Protocols/DeCasteljauSolvableBezierType.swift",
        "Protocols/DerivableBezierType.swift",
        "Protocols/Point/Bezier2PointType.swift",
        "Protocols/Point/BezierPointType.swift",
        "Protocols/Point/ConstructibleBezier2PointType.swift",
        "Typealiases/CubicBezier+Alias.swift",
        "Typealiases/LinearBezier+Alias.swift",
        "Typealiases/QuadBezier+Alias.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/LuizZak/MiniP5Printer.git
[1/50] Fetching minip5printer
Fetched https://github.com/LuizZak/MiniP5Printer.git from cache (0.41s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.89s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.49s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/LuizZak/MiniP5Printer.git
Working copy of https://github.com/LuizZak/MiniP5Printer.git resolved at main (5be1800)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/30] Emitting module SwiftBezier
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2DPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Double` scalars.
  4 | public struct Bezier2DPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2DPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Double
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2DPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Float` scalars.
  4 | public struct Bezier2FPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2FPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Float
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2FPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[4/33] Compiling SwiftBezier CubicBezier+Alias.swift
[5/33] Compiling SwiftBezier LinearBezier+Alias.swift
[6/33] Compiling SwiftBezier QuadBezier+Alias.swift
[7/33] Compiling SwiftBezier BezierType.swift
[8/33] Compiling SwiftBezier BoundedBezier2Type.swift
[9/33] Compiling SwiftBezier DeCasteljauSolvableBezierType.swift
[10/33] Compiling SwiftBezier DerivableBezierType.swift
[11/33] Compiling SwiftBezier Comparable+Ext.swift
[12/33] Compiling SwiftBezier LegendreGauss.swift
[13/33] Compiling SwiftBezier Math.swift
[14/33] Compiling SwiftBezier QuadraticSolver.swift
[15/33] Compiling SwiftBezier QuadBezier.swift
[16/33] Compiling SwiftBezier QuadBezier2.swift
[17/33] Compiling SwiftBezier CachedBezier.swift
[18/33] Compiling SwiftBezier BinarySearch.swift
[19/33] Compiling SwiftBezier Bezier2PointType.swift
[20/33] Compiling SwiftBezier BezierPointType.swift
[21/33] Compiling SwiftBezier ConstructibleBezier2PointType.swift
[22/33] Compiling SwiftBezier BezierLookUpTable.swift
[23/33] Compiling SwiftBezier CubicBezier+Cached.swift
[24/33] Compiling SwiftBezier CubicBezier.swift
[25/33] Compiling SwiftBezier CubicBezier2.swift
[26/33] Compiling SwiftBezier LookUpTable.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2DPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Double` scalars.
  4 | public struct Bezier2DPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2DPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Double
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2DPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Float` scalars.
  4 | public struct Bezier2FPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2FPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Float
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2FPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[27/33] Compiling SwiftBezier Bezier2DPoint.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2DPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Double` scalars.
  4 | public struct Bezier2DPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2DPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Double
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2DPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Float` scalars.
  4 | public struct Bezier2FPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2FPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Float
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2FPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[28/33] Compiling SwiftBezier Bezier2FPoint.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2DPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Double` scalars.
  4 | public struct Bezier2DPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2DPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Double
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2DPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Float` scalars.
  4 | public struct Bezier2FPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2FPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Float
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2FPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[29/33] Compiling SwiftBezier Bezier2Type.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2DPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Double` scalars.
  4 | public struct Bezier2DPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2DPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Double
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2DPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2DPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:8:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | /// An implementation of `ConstructibleBezier2PointType` with `Float` scalars.
  4 | public struct Bezier2FPoint: ConstructibleBezier2PointType, Hashable, CustomStringConvertible {
    |               `- note: consider making struct 'Bezier2FPoint' conform to the 'Sendable' protocol
  5 |     public typealias Scalar = Float
  6 |
  7 |     /// Returns the zero point, or `(0.0, 0.0)`.
  8 |     public static let zero = Bezier2FPoint(x: 0.0, y: 0.0)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Bezier2FPoint' 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
  9 |
 10 |     public var x: Scalar
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[30/33] Compiling SwiftBezier LinearBezier+Cached.swift
[31/33] Compiling SwiftBezier LinearBezier.swift
[32/33] Compiling SwiftBezier LinearBezier2.swift
[33/33] Compiling SwiftBezier QuadBezier+Cached.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/29] Compiling SwiftBezier LinearBezier+Cached.swift
[3/29] Compiling SwiftBezier LinearBezier.swift
[4/29] Compiling SwiftBezier LinearBezier2.swift
[5/29] Compiling SwiftBezier QuadBezier+Cached.swift
[6/32] Compiling SwiftBezier Comparable+Ext.swift
[7/32] Compiling SwiftBezier LegendreGauss.swift
[8/32] Compiling SwiftBezier Math.swift
[9/32] Compiling SwiftBezier QuadraticSolver.swift
[10/32] Compiling SwiftBezier CubicBezier+Alias.swift
[11/32] Compiling SwiftBezier LinearBezier+Alias.swift
[12/32] Compiling SwiftBezier QuadBezier+Alias.swift
[13/32] Compiling SwiftBezier BezierType.swift
[14/32] Compiling SwiftBezier BoundedBezier2Type.swift
[15/32] Compiling SwiftBezier DeCasteljauSolvableBezierType.swift
[16/32] Compiling SwiftBezier DerivableBezierType.swift
[17/32] Compiling SwiftBezier Bezier2PointType.swift
[18/32] Compiling SwiftBezier BezierPointType.swift
[19/32] Compiling SwiftBezier ConstructibleBezier2PointType.swift
[20/32] Compiling SwiftBezier LookUpTable.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[21/32] Compiling SwiftBezier Bezier2DPoint.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[22/32] Compiling SwiftBezier Bezier2FPoint.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[23/32] Compiling SwiftBezier Bezier2Type.swift
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[24/32] Compiling SwiftBezier QuadBezier.swift
[25/32] Compiling SwiftBezier QuadBezier2.swift
[26/32] Compiling SwiftBezier CachedBezier.swift
[27/32] Compiling SwiftBezier BinarySearch.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/32] Emitting module SwiftBezier
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no exact matches in call to global function 'atan2'
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         |- error: no exact matches in call to global function 'atan2'
    |         `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
 57 |     }
 58 |
/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:88:8: note: candidate has partially matching parameter list (Double, Double)
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: candidate has partially matching parameter list (Double, Double)
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:56:9: error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 54 |     @inlinable
 55 |     public func angle() -> Scalar {
 56 |         atan2(y, x)
    |         `- error: no 'atan2' candidates produce the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 57 |     }
 58 |
Foundation.atan2:1:13: note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
1 | public func atan2(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
  |             `- note: 'atan2' produces 'CGFloat', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka '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:88:8: note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 86 | long double atanl(long double __x);
 87 |
 88 | double atan2(double __y, double __x);
    |        `- note: 'atan2' produces 'Double', not the expected contextual result type 'Bezier2FPoint.Scalar' (aka 'Float')
 89 | float atan2f(float __y, float __x);
 90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:61:17: error: no exact matches in call to global function 'cos'
 59 |     @inlinable
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
    |                 `- error: no exact matches in call to global function 'cos'
 62 |         let s = sin(angleInRadians)
 63 |
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func cos(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 93 | float cosf(float __x);
 94 | long double cosl(long double __x);
/host/spi-builder-workspace/Sources/swift-bezier/Point/Bezier2FPoint.swift:62:17: error: no exact matches in call to global function 'sin'
 60 |     public func rotated(by angleInRadians: Scalar) -> Self {
 61 |         let c = cos(angleInRadians)
 62 |         let s = sin(angleInRadians)
    |                 `- error: no exact matches in call to global function 'sin'
 63 |
 64 |         return Self(x: (c * x) - (s * y), y: (s * x) + (c * y))
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
  |             `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka '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 'Bezier2FPoint.Scalar' (aka 'Float'))
 97 | float sinf(float __x);
 98 | long double sinl(long double __x);
[29/32] Compiling SwiftBezier BezierLookUpTable.swift
[30/32] Compiling SwiftBezier CubicBezier+Cached.swift
[31/32] Compiling SwiftBezier CubicBezier.swift
[32/32] Compiling SwiftBezier CubicBezier2.swift
BUILD FAILURE 6.1 android