Build Information
Failed to build LCARSDisplayKit, reference main (d4fbee
), with Swift 6.1 for Android on 27 May 2025 13:44:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
63 | } else if degree > 270 {
64 | run = degree - 270.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:62:49: error: no exact matches in call to global function 'sin'
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
63 | } else if degree > 270 {
64 | run = degree - 270.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:49: error: no exact matches in call to global function 'sin'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
68 | } else if degree > 225 {
69 | run = 270.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:49: error: no exact matches in call to global function 'sin'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
68 | } else if degree > 225 {
69 | run = 270.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:56: error: no exact matches in call to global function 'sin'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:49: error: no exact matches in call to global function 'sin'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
73 | } else if degree > 180 {
74 | rise = degree - 180.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
73 | } else if degree > 180 {
74 | rise = degree - 180.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:56: error: no exact matches in call to global function 'sin'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:49: error: no exact matches in call to global function 'sin'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:56: error: no exact matches in call to global function 'sin'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
83 | } else if degree > 90 {
84 | run = degree - 90.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:56: error: no exact matches in call to global function 'sin'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
83 | } else if degree > 90 {
84 | run = degree - 90.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:56: error: no exact matches in call to global function 'sin'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
88 | } else if degree > 45 {
89 | run = 90.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:56: error: no exact matches in call to global function 'sin'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
88 | } else if degree > 45 {
89 | run = 90.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:49: error: no exact matches in call to global function 'sin'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:56: error: no exact matches in call to global function 'sin'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
93 | } else if degree >= 0 {
94 | rise = degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
93 | } else if degree >= 0 {
94 | rise = degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:49: error: no exact matches in call to global function 'sin'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:56: error: no exact matches in call to global function 'sin'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
98 | }
99 | case false:
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
98 | }
99 | case false:
[33/35] Compiling GraphPoint CartesianPoint.swift
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:51:24: error: no exact matches in call to global function 'sin'
49 |
50 | let rightAngle: Float = 90.0
51 | let sinRight = sin(rightAngle.radians)
| `- error: no exact matches in call to global function 'sin'
52 | var rise: Float = 0.0
53 | var run: Float = 0.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:61:49: error: no exact matches in call to global function 'sin'
59 | rise = 360.0 - degree
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
62 | point.y = (radius / sinRight) * sin(rise.radians)
63 | } else if degree > 270 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:61:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
59 | rise = 360.0 - degree
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
62 | point.y = (radius / sinRight) * sin(rise.radians)
63 | } else if degree > 270 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:62:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
63 | } else if degree > 270 {
64 | run = degree - 270.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:62:49: error: no exact matches in call to global function 'sin'
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
63 | } else if degree > 270 {
64 | run = degree - 270.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:49: error: no exact matches in call to global function 'sin'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
68 | } else if degree > 225 {
69 | run = 270.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:49: error: no exact matches in call to global function 'sin'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
68 | } else if degree > 225 {
69 | run = 270.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:56: error: no exact matches in call to global function 'sin'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:49: error: no exact matches in call to global function 'sin'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
73 | } else if degree > 180 {
74 | rise = degree - 180.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
73 | } else if degree > 180 {
74 | rise = degree - 180.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:56: error: no exact matches in call to global function 'sin'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:49: error: no exact matches in call to global function 'sin'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:56: error: no exact matches in call to global function 'sin'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
83 | } else if degree > 90 {
84 | run = degree - 90.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:56: error: no exact matches in call to global function 'sin'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
83 | } else if degree > 90 {
84 | run = degree - 90.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:56: error: no exact matches in call to global function 'sin'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
88 | } else if degree > 45 {
89 | run = 90.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:56: error: no exact matches in call to global function 'sin'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
88 | } else if degree > 45 {
89 | run = 90.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:49: error: no exact matches in call to global function 'sin'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:56: error: no exact matches in call to global function 'sin'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
93 | } else if degree >= 0 {
94 | rise = degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
93 | } else if degree >= 0 {
94 | rise = degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:49: error: no exact matches in call to global function 'sin'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:56: error: no exact matches in call to global function 'sin'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
98 | }
99 | case false:
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
98 | }
99 | case false:
[34/35] Compiling GraphPoint Degree.swift
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:34: error: no exact matches in call to global function 'atan'
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:76: error: reference to member 'degrees' cannot be resolved without a contextual type
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:34: error: no exact matches in call to global function 'atan'
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
41 | }
42 | case .II:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:76: error: reference to member 'degrees' cannot be resolved without a contextual type
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
41 | }
42 | case .II:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:34: error: no exact matches in call to global function 'atan'
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:81: error: reference to member 'degrees' cannot be resolved without a contextual type
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:34: error: no exact matches in call to global function 'atan'
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
48 | }
49 | case .III:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:81: error: reference to member 'degrees' cannot be resolved without a contextual type
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
48 | }
49 | case .III:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:34: error: no exact matches in call to global function 'atan'
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:86: error: reference to member 'degrees' cannot be resolved without a contextual type
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:33: error: no exact matches in call to global function 'atan'
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
55 | }
56 | case .IV:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:85: error: reference to member 'degrees' cannot be resolved without a contextual type
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
55 | }
56 | case .IV:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:26: error: no exact matches in call to global function 'atan'
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:73: error: reference to member 'degrees' cannot be resolved without a contextual type
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:33: error: no exact matches in call to global function 'atan'
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
62 | }
63 | }
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:80: error: reference to member 'degrees' cannot be resolved without a contextual type
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
62 | }
63 | }
[35/35] Compiling GraphPoint CGFloat+GraphPoint.swift
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:34: error: no exact matches in call to global function 'atan'
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:76: error: reference to member 'degrees' cannot be resolved without a contextual type
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:34: error: no exact matches in call to global function 'atan'
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
41 | }
42 | case .II:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:76: error: reference to member 'degrees' cannot be resolved without a contextual type
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
41 | }
42 | case .II:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:34: error: no exact matches in call to global function 'atan'
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:81: error: reference to member 'degrees' cannot be resolved without a contextual type
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:34: error: no exact matches in call to global function 'atan'
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
48 | }
49 | case .III:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:81: error: reference to member 'degrees' cannot be resolved without a contextual type
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
48 | }
49 | case .III:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:34: error: no exact matches in call to global function 'atan'
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:86: error: reference to member 'degrees' cannot be resolved without a contextual type
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:33: error: no exact matches in call to global function 'atan'
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
55 | }
56 | case .IV:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:85: error: reference to member 'degrees' cannot be resolved without a contextual type
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
55 | }
56 | case .IV:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:26: error: no exact matches in call to global function 'atan'
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:73: error: reference to member 'degrees' cannot be resolved without a contextual type
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:33: error: no exact matches in call to global function 'atan'
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
62 | }
63 | }
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:80: error: reference to member 'degrees' cannot be resolved without a contextual type
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
62 | }
63 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling Swift2D Point.swift
[3/11] Compiling Swift2D Size+CoreGraphics.swift
[4/11] Compiling Swift2D Size+Computed.swift
[5/11] Compiling Swift2D Rect.swift
[6/11] Compiling Swift2D Rect+CoreGraphics.swift
[7/11] Emitting module Swift2D
[8/11] Compiling Swift2D Point+Computed.swift
[9/11] Compiling Swift2D Point+CoreGraphics.swift
[10/11] Compiling Swift2D Rect+Computed.swift
[11/11] Compiling Swift2D Size.swift
[13/26] Compiling GraphPoint Radian.swift
[14/27] Compiling GraphPoint Degree.swift
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:34: error: no exact matches in call to global function 'atan'
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:76: error: reference to member 'degrees' cannot be resolved without a contextual type
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:34: error: no exact matches in call to global function 'atan'
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
41 | }
42 | case .II:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:76: error: reference to member 'degrees' cannot be resolved without a contextual type
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
41 | }
42 | case .II:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:34: error: no exact matches in call to global function 'atan'
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:81: error: reference to member 'degrees' cannot be resolved without a contextual type
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:34: error: no exact matches in call to global function 'atan'
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
48 | }
49 | case .III:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:81: error: reference to member 'degrees' cannot be resolved without a contextual type
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
48 | }
49 | case .III:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:34: error: no exact matches in call to global function 'atan'
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:86: error: reference to member 'degrees' cannot be resolved without a contextual type
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:33: error: no exact matches in call to global function 'atan'
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
55 | }
56 | case .IV:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:85: error: reference to member 'degrees' cannot be resolved without a contextual type
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
55 | }
56 | case .IV:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:26: error: no exact matches in call to global function 'atan'
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:73: error: reference to member 'degrees' cannot be resolved without a contextual type
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:33: error: no exact matches in call to global function 'atan'
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
62 | }
63 | }
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:80: error: reference to member 'degrees' cannot be resolved without a contextual type
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
62 | }
63 | }
[15/27] Compiling GraphPoint CGFloat+GraphPoint.swift
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:34: error: no exact matches in call to global function 'atan'
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:38:76: error: reference to member 'degrees' cannot be resolved without a contextual type
36 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 315.0)
37 | if cartesianPoint.x <= midPoint.x {
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:34: error: no exact matches in call to global function 'atan'
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
41 | }
42 | case .II:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:40:76: error: reference to member 'degrees' cannot be resolved without a contextual type
38 | degree = 270.0 + atan(cartesianPoint.x / cartesianPoint.y).degrees
39 | } else {
40 | degree = 360.0 - atan(cartesianPoint.y / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
41 | }
42 | case .II:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:34: error: no exact matches in call to global function 'atan'
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:45:81: error: reference to member 'degrees' cannot be resolved without a contextual type
43 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 225.0)
44 | if cartesianPoint.x <= midPoint.x {
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:34: error: no exact matches in call to global function 'atan'
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: no exact matches in call to global function 'atan'
48 | }
49 | case .III:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:47:81: error: reference to member 'degrees' cannot be resolved without a contextual type
45 | degree = 180.0 + atan(cartesianPoint.y / abs(cartesianPoint.x)).degrees
46 | } else {
47 | degree = 270.0 - atan(abs(cartesianPoint.x) / cartesianPoint.y).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
48 | }
49 | case .III:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:34: error: no exact matches in call to global function 'atan'
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: no exact matches in call to global function 'atan'
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:52:86: error: reference to member 'degrees' cannot be resolved without a contextual type
50 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 135.0)
51 | if cartesianPoint.x <= midPoint.x {
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:33: error: no exact matches in call to global function 'atan'
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
55 | }
56 | case .IV:
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:54:85: error: reference to member 'degrees' cannot be resolved without a contextual type
52 | degree = 180.0 - atan(abs(cartesianPoint.y) / abs(cartesianPoint.x)).degrees
53 | } else {
54 | degree = 90.0 + atan(abs(cartesianPoint.x) / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
55 | }
56 | case .IV:
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:26: error: no exact matches in call to global function 'atan'
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: no exact matches in call to global function 'atan'
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:59:73: error: reference to member 'degrees' cannot be resolved without a contextual type
57 | let midPoint = try CartesianPoint.make(for: cartesianPoint.minimumAxis, degree: 45.0)
58 | if cartesianPoint.x <= midPoint.x {
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:33: error: no exact matches in call to global function 'atan'
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: no exact matches in call to global function 'atan'
62 | }
63 | }
Foundation.atan:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func atan(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:84:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
82 | long double asinl(long double __x);
83 |
84 | double atan(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
85 | float atanf(float __x);
86 | long double atanl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/Degree.swift:61:80: error: reference to member 'degrees' cannot be resolved without a contextual type
59 | degree = atan(abs(cartesianPoint.y) / cartesianPoint.x).degrees
60 | } else {
61 | degree = 90.0 - atan(cartesianPoint.x / abs(cartesianPoint.y)).degrees
| `- error: reference to member 'degrees' cannot be resolved without a contextual type
62 | }
63 | }
[16/27] Compiling GraphPoint GraphFrame.swift
[17/27] Compiling GraphPoint GraphPoint.swift
[18/27] Compiling GraphPoint CGPoint+GraphPoint.swift
[19/27] Compiling GraphPoint CGRect+GraphPoint.swift
[20/27] Compiling GraphPoint GraphPointError.swift
[21/27] Compiling GraphPoint Quadrant.swift
[22/27] Compiling GraphPoint Radius.swift
[23/27] Compiling GraphPoint Arc.swift
[24/27] Compiling GraphPoint CartesianFrame.swift
[25/27] Emitting module GraphPoint
[26/27] Compiling GraphPoint CartesianPlane.swift
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:51:24: error: no exact matches in call to global function 'sin'
49 |
50 | let rightAngle: Float = 90.0
51 | let sinRight = sin(rightAngle.radians)
| `- error: no exact matches in call to global function 'sin'
52 | var rise: Float = 0.0
53 | var run: Float = 0.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:61:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
59 | rise = 360.0 - degree
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
62 | point.y = (radius / sinRight) * sin(rise.radians)
63 | } else if degree > 270 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:61:49: error: no exact matches in call to global function 'sin'
59 | rise = 360.0 - degree
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
62 | point.y = (radius / sinRight) * sin(rise.radians)
63 | } else if degree > 270 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:62:49: error: no exact matches in call to global function 'sin'
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
63 | } else if degree > 270 {
64 | run = degree - 270.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:62:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
63 | } else if degree > 270 {
64 | run = degree - 270.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:49: error: no exact matches in call to global function 'sin'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:49: error: no exact matches in call to global function 'sin'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
68 | } else if degree > 225 {
69 | run = 270.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
68 | } else if degree > 225 {
69 | run = 270.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:56: error: no exact matches in call to global function 'sin'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:49: error: no exact matches in call to global function 'sin'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
73 | } else if degree > 180 {
74 | rise = degree - 180.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
73 | } else if degree > 180 {
74 | rise = degree - 180.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:56: error: no exact matches in call to global function 'sin'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:49: error: no exact matches in call to global function 'sin'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:56: error: no exact matches in call to global function 'sin'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:56: error: no exact matches in call to global function 'sin'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
83 | } else if degree > 90 {
84 | run = degree - 90.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
83 | } else if degree > 90 {
84 | run = degree - 90.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:56: error: no exact matches in call to global function 'sin'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:56: error: no exact matches in call to global function 'sin'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
88 | } else if degree > 45 {
89 | run = 90.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
88 | } else if degree > 45 {
89 | run = 90.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:49: error: no exact matches in call to global function 'sin'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
93 | } else if degree >= 0 {
94 | rise = degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:56: error: no exact matches in call to global function 'sin'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
93 | } else if degree >= 0 {
94 | rise = degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:49: error: no exact matches in call to global function 'sin'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:56: error: no exact matches in call to global function 'sin'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
98 | }
99 | case false:
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
98 | }
99 | case false:
[27/27] Compiling GraphPoint CartesianPoint.swift
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:51:24: error: no exact matches in call to global function 'sin'
49 |
50 | let rightAngle: Float = 90.0
51 | let sinRight = sin(rightAngle.radians)
| `- error: no exact matches in call to global function 'sin'
52 | var rise: Float = 0.0
53 | var run: Float = 0.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:61:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
59 | rise = 360.0 - degree
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
62 | point.y = (radius / sinRight) * sin(rise.radians)
63 | } else if degree > 270 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:61:49: error: no exact matches in call to global function 'sin'
59 | rise = 360.0 - degree
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
62 | point.y = (radius / sinRight) * sin(rise.radians)
63 | } else if degree > 270 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:62:49: error: no exact matches in call to global function 'sin'
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
63 | } else if degree > 270 {
64 | run = degree - 270.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:62:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
60 | run = 180.0 - rightAngle - rise
61 | point.x = (radius / sinRight) * sin(run.radians)
62 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
63 | } else if degree > 270 {
64 | run = degree - 270.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:49: error: no exact matches in call to global function 'sin'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:66:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
64 | run = degree - 270.0
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
67 | point.y = (radius / sinRight) * sin(rise.radians)
68 | } else if degree > 225 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:49: error: no exact matches in call to global function 'sin'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
68 | } else if degree > 225 {
69 | run = 270.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:67:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
65 | rise = 180.0 - rightAngle - run
66 | point.x = (radius / sinRight) * sin(run.radians)
67 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
68 | } else if degree > 225 {
69 | run = 270.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:71:56: error: no exact matches in call to global function 'sin'
69 | run = 270.0 - degree
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
72 | point.y = (radius / sinRight) * sin(rise.radians)
73 | } else if degree > 180 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:49: error: no exact matches in call to global function 'sin'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
73 | } else if degree > 180 {
74 | rise = degree - 180.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:72:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
70 | rise = 180.0 - rightAngle - run
71 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
72 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
73 | } else if degree > 180 {
74 | rise = degree - 180.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:56: error: no exact matches in call to global function 'sin'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:76:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
74 | rise = degree - 180.0
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
77 | point.y = (radius / sinRight) * sin(rise.radians)
78 | } else if degree > 135 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:49: error: no exact matches in call to global function 'sin'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:77:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
75 | run = 180.0 - rightAngle - rise
76 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
77 | point.y = (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
78 | } else if degree > 135 {
79 | rise = 180.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:56: error: no exact matches in call to global function 'sin'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:81:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
79 | rise = 180.0 - degree
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
83 | } else if degree > 90 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:56: error: no exact matches in call to global function 'sin'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
83 | } else if degree > 90 {
84 | run = degree - 90.0
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:82:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
80 | run = 180.0 - rightAngle - rise
81 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
82 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
83 | } else if degree > 90 {
84 | run = degree - 90.0
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:56: error: no exact matches in call to global function 'sin'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:86:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
84 | run = degree - 90.0
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
88 | } else if degree > 45 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:56: error: no exact matches in call to global function 'sin'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
88 | } else if degree > 45 {
89 | run = 90.0 - degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:87:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
85 | rise = 180.0 - rightAngle - run
86 | point.x = -1.0 * (radius / sinRight) * sin(run.radians)
87 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
88 | } else if degree > 45 {
89 | run = 90.0 - degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:91:49: error: no exact matches in call to global function 'sin'
89 | run = 90.0 - degree
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
93 | } else if degree >= 0 {
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
93 | } else if degree >= 0 {
94 | rise = degree
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:92:56: error: no exact matches in call to global function 'sin'
90 | rise = 180.0 - rightAngle - run
91 | point.x = (radius / sinRight) * sin(run.radians)
92 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
93 | } else if degree >= 0 {
94 | rise = degree
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:47: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:96:49: error: no exact matches in call to global function 'sin'
94 | rise = degree
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
| `- error: no exact matches in call to global function 'sin'
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
98 | }
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:56: error: no exact matches in call to global function 'sin'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| `- error: no exact matches in call to global function 'sin'
98 | }
99 | case false:
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (aka 'Float'))
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Radian' (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 'Radian' (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 'Radian' (aka 'Float'))
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/GraphPoint/Sources/GraphPoint/CartesianPoint.swift:97:54: error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
95 | run = 180.0 - rightAngle - rise
96 | point.x = (radius / sinRight) * sin(run.radians)
97 | point.y = -1.0 * (radius / sinRight) * sin(rise.radians)
| |- error: binary operator '*' cannot be applied to operands of type 'Float' and 'CGFloat'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
98 | }
99 | case false:
BUILD FAILURE 6.1 android