Build Information
Failed to build swift-bezier, reference 0.6.0 (7061d2
), with Swift 6.2 (beta) for Android on 21 Jun 2025 20:26:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LuizZak/swift-bezier.git
Reference: 0.6.0
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
* tag 0.6.0 -> FETCH_HEAD
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 0.6.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/LuizZak/swift-bezier.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/LuizZak/MiniP5Printer.git
[1/50] Fetching minip5printer
Fetched https://github.com/LuizZak/MiniP5Printer.git from cache (0.20s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.36s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.61s)
Creating working copy for https://github.com/LuizZak/MiniP5Printer.git
Working copy of https://github.com/LuizZak/MiniP5Printer.git resolved at main (5be1800)
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/30] Compiling SwiftBezier Bezier2PointType.swift
[4/30] Compiling SwiftBezier BezierPointType.swift
[5/30] Compiling SwiftBezier ConstructibleBezier2PointType.swift
[6/33] Compiling SwiftBezier QuadBezier.swift
[7/33] Compiling SwiftBezier QuadBezier2.swift
[8/33] Compiling SwiftBezier CachedBezier.swift
[9/33] Compiling SwiftBezier BinarySearch.swift
[10/33] Compiling SwiftBezier CubicBezier+Alias.swift
[11/33] Compiling SwiftBezier LinearBezier+Alias.swift
[12/33] Compiling SwiftBezier QuadBezier+Alias.swift
[13/33] Compiling SwiftBezier Comparable+Ext.swift
[14/33] Compiling SwiftBezier LegendreGauss.swift
[15/33] Compiling SwiftBezier Math.swift
[16/33] Compiling SwiftBezier QuadraticSolver.swift
[17/33] Compiling SwiftBezier BezierType.swift
[18/33] Compiling SwiftBezier BoundedBezier2Type.swift
[19/33] Compiling SwiftBezier DeCasteljauSolvableBezierType.swift
[20/33] Compiling SwiftBezier DerivableBezierType.swift
[21/33] 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/33] 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/33] 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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/33] 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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);
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/33] Compiling SwiftBezier BezierLookUpTable.swift
[26/33] Compiling SwiftBezier CubicBezier+Cached.swift
[27/33] Compiling SwiftBezier CubicBezier.swift
[28/33] Compiling SwiftBezier CubicBezier2.swift
[29/33] Compiling SwiftBezier LinearBezier+Cached.swift
[30/33] Compiling SwiftBezier LinearBezier.swift
[31/33] Compiling SwiftBezier LinearBezier2.swift
[32/33] Compiling SwiftBezier QuadBezier+Cached.swift
[33/33] 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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);
BUILD FAILURE 6.2 android