Build Information
Failed to build SwiftSound, reference main (abb8dc
), with Swift 6.2 (beta) for Android on 23 Jun 2025 03:03:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
342 | let nD2: Int = max(getNumberOfDigits(Float(bounds.x.upperBound)), getNumberOfDigits(Float(bounds.x.lowerBound)))
343 | var v2: Float
344 | if (nD2 > 1 && bounds.x.upperBound <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
345 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
346 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:345:22: error: no exact matches in call to global function 'pow'
343 | var v2: Float
344 | if (nD2 > 1 && bounds.x.upperBound <= T(pow(Float(10), Float(nD2 - 1)))) {
345 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
346 | } else if (nD2 > 1) {
347 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:347:22: error: no exact matches in call to global function 'pow'
345 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
346 | } else if (nD2 > 1) {
347 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
348 | } else {
349 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:349:22: error: no exact matches in call to global function 'pow'
347 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
348 | } else {
349 | v2 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
350 | }
351 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[39/96] Compiling ArgumentParser CommandParser.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:289:15: error: cannot convert value of type 'Float' to expected argument type 'Double'
287 | yIncrement = 0.5*(1.0/differenceY)
288 | var c = 0
289 | while(abs(yIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
290 | c+=1
291 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:289:40: error: cannot convert value of type 'Float' to expected argument type 'Double'
287 | yIncrement = 0.5*(1.0/differenceY)
288 | var c = 0
289 | while(abs(yIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
290 | c+=1
291 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:298:40: error: cannot convert value of type 'Float' to expected argument type 'Double'
296 | yIncrement = differenceY/10.0
297 | var c = 0
298 | while(abs(yIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
299 | c+=1
300 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:298:15: error: cannot convert value of type 'Float' to expected argument type 'Double'
296 | yIncrement = differenceY/10.0
297 | var c = 0
298 | while(abs(yIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
299 | c+=1
300 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:309:15: error: cannot convert value of type 'Float' to expected argument type 'Double'
307 | xIncrement = 0.5*(1.0/differenceX)
308 | var c = 0
309 | while(abs(xIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
310 | c+=1
311 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:309:40: error: cannot convert value of type 'Float' to expected argument type 'Double'
307 | xIncrement = 0.5*(1.0/differenceX)
308 | var c = 0
309 | while(abs(xIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
310 | c+=1
311 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:318:40: error: cannot convert value of type 'Float' to expected argument type 'Double'
316 | xIncrement = differenceX/10
317 | var c = 0
318 | while(abs(xIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
319 | c+=1
320 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:318:15: error: cannot convert value of type 'Float' to expected argument type 'Double'
316 | xIncrement = differenceX/10
317 | var c = 0
318 | while(abs(xIncrement)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
319 | c+=1
320 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:327:51: error: cannot convert value of type 'Float' to expected argument type 'Double'
325 | let nD1: Int = max(getNumberOfDigits(Float(bounds.y.upperBound)), getNumberOfDigits(Float(bounds.y.lowerBound)))
326 | var v1: Float
327 | if (nD1 > 1 && bounds.y.upperBound <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
328 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
329 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:327:62: error: cannot convert value of type 'Float' to expected argument type 'Double'
325 | let nD1: Int = max(getNumberOfDigits(Float(bounds.y.upperBound)), getNumberOfDigits(Float(bounds.y.lowerBound)))
326 | var v1: Float
327 | if (nD1 > 1 && bounds.y.upperBound <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
328 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
329 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:328:22: error: no exact matches in call to global function 'pow'
326 | var v1: Float
327 | if (nD1 > 1 && bounds.y.upperBound <= U(pow(Float(10), Float(nD1 - 1)))) {
328 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
329 | } else if (nD1 > 1) {
330 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:330:22: error: no exact matches in call to global function 'pow'
328 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
329 | } else if (nD1 > 1) {
330 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
331 | } else {
332 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:332:22: error: no exact matches in call to global function 'pow'
330 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
331 | } else {
332 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
333 | }
334 | let nY: Float = v1/scaleY
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:344:51: error: cannot convert value of type 'Float' to expected argument type 'Double'
342 | let nD2: Int = max(getNumberOfDigits(Float(bounds.x.upperBound)), getNumberOfDigits(Float(bounds.x.lowerBound)))
343 | var v2: Float
344 | if (nD2 > 1 && bounds.x.upperBound <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
345 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
346 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:344:62: error: cannot convert value of type 'Float' to expected argument type 'Double'
342 | let nD2: Int = max(getNumberOfDigits(Float(bounds.x.upperBound)), getNumberOfDigits(Float(bounds.x.lowerBound)))
343 | var v2: Float
344 | if (nD2 > 1 && bounds.x.upperBound <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
345 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
346 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:345:22: error: no exact matches in call to global function 'pow'
343 | var v2: Float
344 | if (nD2 > 1 && bounds.x.upperBound <= T(pow(Float(10), Float(nD2 - 1)))) {
345 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
346 | } else if (nD2 > 1) {
347 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:347:22: error: no exact matches in call to global function 'pow'
345 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
346 | } else if (nD2 > 1) {
347 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
348 | } else {
349 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/LineChart.swift:349:22: error: no exact matches in call to global function 'pow'
347 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
348 | } else {
349 | v2 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
350 | }
351 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[40/96] Compiling ArgumentParser InputKey.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 | var p1 = start + Point(0.0, -strokeWidth/2)
183 | var p2 = start + Point(0.0, strokeWidth/2)
184 | let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 | p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 | p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to two 'Float' operands
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
| `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 | p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 | // Calculate anchor point
241 | var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 | let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 | startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 | // Calculate anchor point
254 | var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 | let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 | endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 | endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 | let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 | var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 | let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 | startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 | var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
2 |
3 | fileprivate let MAX_DIV: Float = 50
4 | fileprivate let sqrt3: Float = sqrt(3)
| `- error: cannot convert value of type 'Double' to specified type 'Float'
5 |
6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 | }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 | }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[41/96] Compiling ArgumentParser InputOrigin.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 | var p1 = start + Point(0.0, -strokeWidth/2)
183 | var p2 = start + Point(0.0, strokeWidth/2)
184 | let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 | p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 | p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to two 'Float' operands
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
| `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 | p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 | // Calculate anchor point
241 | var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 | let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 | startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 | // Calculate anchor point
254 | var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 | let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 | endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 | endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 | let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 | var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 | let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 | startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 | var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
2 |
3 | fileprivate let MAX_DIV: Float = 50
4 | fileprivate let sqrt3: Float = sqrt(3)
| `- error: cannot convert value of type 'Double' to specified type 'Float'
5 |
6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 | }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 | }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[42/96] Compiling ArgumentParser DumpHelpGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 | var p1 = start + Point(0.0, -strokeWidth/2)
183 | var p2 = start + Point(0.0, strokeWidth/2)
184 | let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 | p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 | p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to two 'Float' operands
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
| `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 | p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 | // Calculate anchor point
241 | var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 | let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 | startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 | // Calculate anchor point
254 | var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 | let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 | endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 | endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 | let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 | var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 | let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 | startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 | var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
2 |
3 | fileprivate let MAX_DIV: Float = 50
4 | fileprivate let sqrt3: Float = sqrt(3)
| `- error: cannot convert value of type 'Double' to specified type 'Float'
5 |
6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 | }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 | }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[43/96] Compiling ArgumentParser HelpCommand.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:184:41: error: no exact matches in call to global function 'atan2'
182 | var p1 = start + Point(0.0, -strokeWidth/2)
183 | var p2 = start + Point(0.0, strokeWidth/2)
184 | let wedgeRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
185 | p1 = rotatePoint(point: p1, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
186 | p2 = rotatePoint(point: p2, center: start, angleRadians: wedgeRotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:28: error: no exact matches in call to global function 'cos'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:55: error: no exact matches in call to global function 'sin'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:199:69: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
197 | public func drawHead(renderer: Renderer, a: Point, b: Point) {
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:42: error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to operands of type 'CGFloat' and 'Float'
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:70: error: binary operator '*' cannot be applied to two 'Float' operands
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: binary operator '*' cannot be applied to two 'Float' operands
| `- note: overloads for '*' exist with these partially matching parameter lists: (Float, Float)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:28: error: no exact matches in call to global function 'cos'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'cos'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:55: error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| |- error: unary operator '-' cannot be applied to an operand of type 'CGFloat'
| `- note: overloads for '-' exist with these partially matching parameter lists: (Double)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:200:56: error: no exact matches in call to global function 'sin'
198 | // Calculates arrow head points.
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
| `- error: no exact matches in call to global function 'sin'
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
Foundation.sin:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func sin(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:201:28: error: no exact matches in call to global function 'atan2'
199 | var p1 = b + Point(cos(headAngle)*headLength, sin(headAngle)*headLength)
200 | var p2 = b + Point(cos(headAngle)*headLength, -sin(headAngle)*headLength)
201 | let rotateAngle = -atan2(a.x - b.x, a.y - b.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
202 | p1 = rotatePoint(point: p1, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
203 | p2 = rotatePoint(point: p2, center: b, angleRadians: rotateAngle + 0.5 * Float.pi)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:242:47: error: no exact matches in call to global function 'atan2'
240 | // Calculate anchor point
241 | var startAnchorPoint = start + Point(0.0, strokeWidth/2)
242 | let startAnchorRotateAngle = -atan2(end.x - start.x, end.y - start.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | startAnchorPoint = rotatePoint(point: startAnchorPoint, center: start, angleRadians: startAnchorRotateAngle + 0.5 * Float.pi)
244 | startAnchor.resolve(renderer: renderer, center: startAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:255:45: error: no exact matches in call to global function 'atan2'
253 | // Calculate anchor point
254 | var endAnchorPoint = end + Point(0.0, strokeWidth/2)
255 | let endAnchorRotateAngle = -atan2(start.x - end.x, start.y - end.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
256 | endAnchorPoint = rotatePoint(point: endAnchorPoint, center: end, angleRadians: endAnchorRotateAngle + 0.5 * Float.pi)
257 | endAnchor.resolve(renderer: renderer, center: endAnchorPoint)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/PlotStyleHelpers.swift:293:36: error: no exact matches in call to global function 'atan2'
291 | let startPoint = resolver.resolve(start), endPoint = resolver.resolve(end)
292 | var startLegPoint = startPoint + Point(0.0, -strokeWidth/2-legLength)
293 | let startLegRotateAngle = -atan2(endPoint.x - startPoint.x, endPoint.y - startPoint.y)
| |- error: no exact matches in call to global function 'atan2'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
294 | startLegPoint = rotatePoint(point: startLegPoint, center: startPoint, angleRadians: startLegRotateAngle + 0.5 * Float.pi)
295 | var endLegPoint = endPoint + Point(0.0, -strokeWidth/2-legLength)
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:88:8: note: candidate has partially matching parameter list (Double, Double)
86 | long double atanl(long double __x);
87 |
88 | double atan2(double __y, double __x);
| `- note: candidate has partially matching parameter list (Double, Double)
89 | float atan2f(float __y, float __x);
90 | long double atan2l(long double __y, long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
2 |
3 | fileprivate let MAX_DIV: Float = 50
4 | fileprivate let sqrt3: Float = sqrt(3)
| `- error: cannot convert value of type 'Double' to specified type 'Float'
5 |
6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:181:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
179 | inc1 = 0.5*(1.0/differenceY)
180 | var c = 0
181 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
182 | c+=1
183 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:191:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
189 | inc1 = differenceY/10.0
190 | var c = 0
191 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
192 | c+=1
193 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:201:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
199 | inc1 = 0.5*(1.0/differenceX)
200 | var c = 0
201 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
202 | c+=1
203 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:211:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
209 | inc1 = differenceX/10.0
210 | var c = 0
211 | while(abs(inc2)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
212 | c+=1
213 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:220:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
218 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:221:24: error: no exact matches in call to global function 'pow'
219 | var v1: Float
220 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:223:24: error: no exact matches in call to global function 'pow'
221 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
222 | } else if (nD1 > 1) {
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:225:24: error: no exact matches in call to global function 'pow'
223 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
224 | } else {
225 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
226 | }
227 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:42: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:238:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
236 | let nD2: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:239:24: error: no exact matches in call to global function 'pow'
237 | var v2: Float
238 | if (nD2 > 1 && maximumX <= T(pow(Float(10), Float(nD2 - 1)))) {
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:241:24: error: no exact matches in call to global function 'pow'
239 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
240 | } else if (nD2 > 1) {
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:243:24: error: no exact matches in call to global function 'pow'
241 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
242 | } else {
243 | v2 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
244 | }
245 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
[44/96] Compiling ArgumentParser ParsableArguments.swift
[45/96] Compiling ArgumentParser ParsableArgumentsValidation.swift
[46/96] Compiling ArgumentParser ParsableCommand.swift
[47/96] Compiling ArgumentParser ArgumentDecoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/96] Emitting module SwiftPlot
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/ScatterChart.swift:4:32: error: cannot convert value of type 'Double' to specified type 'Float'
2 |
3 | fileprivate let MAX_DIV: Float = 50
4 | fileprivate let sqrt3: Float = sqrt(3)
| `- error: cannot convert value of type 'Double' to specified type 'Float'
5 |
6 | // class defining a lineGraph and all its logic
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:114:52: error: cannot convert value of type 'Float' to expected argument type 'Double'
112 | guard series.count > 0 else { return (results, markers) }
113 | if (graphOrientation == .vertical) {
114 | results.barWidth = Int(round(size.width/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
115 | maximumY = maxY(points: series.values)
116 | minimumY = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:119:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
117 | }
118 | else{
119 | results.barWidth = Int(round(size.height/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | maximumX = maxY(points: series.values)
121 | minimumX = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:153:28: error: no exact matches in call to global function 'pow'
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:155:28: error: no exact matches in call to global function 'pow'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:157:28: error: no exact matches in call to global function 'pow'
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
158 | }
159 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:173:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | }
172 | markers.yMarkers.append(yM)
173 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | yM = yM + inc1
175 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:179:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
177 | while yM>0.0 {
178 | markers.yMarkers.append(yM)
179 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
180 | yM = yM - inc1
181 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:242:28: error: no exact matches in call to global function 'pow'
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:244:28: error: no exact matches in call to global function 'pow'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:246:28: error: no exact matches in call to global function 'pow'
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
247 | }
248 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:262:67: error: cannot convert value of type 'Float' to expected argument type 'Double'
260 | }
261 | markers.xMarkers.append(xM)
262 | markers.xMarkersText.append("\(ceil(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
263 | xM = xM + inc1
264 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:268:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
266 | while xM>0.0 {
267 | markers.xMarkers.append(xM)
268 | markers.xMarkersText.append("\(floor(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
269 | xM = xM - inc1
270 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:114:52: error: cannot convert value of type 'Float' to expected argument type 'Double'
112 | guard series.count > 0 else { return (results, markers) }
113 | if (graphOrientation == .vertical) {
114 | results.barWidth = Int(round(size.width/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
115 | maximumY = maxY(points: series.values)
116 | minimumY = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:119:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
117 | }
118 | else{
119 | results.barWidth = Int(round(size.height/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | maximumX = maxY(points: series.values)
121 | minimumX = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:153:28: error: no exact matches in call to global function 'pow'
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:155:28: error: no exact matches in call to global function 'pow'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:157:28: error: no exact matches in call to global function 'pow'
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
158 | }
159 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:173:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | }
172 | markers.yMarkers.append(yM)
173 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | yM = yM + inc1
175 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:179:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
177 | while yM>0.0 {
178 | markers.yMarkers.append(yM)
179 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
180 | yM = yM - inc1
181 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:242:28: error: no exact matches in call to global function 'pow'
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:244:28: error: no exact matches in call to global function 'pow'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:246:28: error: no exact matches in call to global function 'pow'
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
247 | }
248 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:262:67: error: cannot convert value of type 'Float' to expected argument type 'Double'
260 | }
261 | markers.xMarkers.append(xM)
262 | markers.xMarkersText.append("\(ceil(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
263 | xM = xM + inc1
264 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:268:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
266 | while xM>0.0 {
267 | markers.xMarkers.append(xM)
268 | markers.xMarkersText.append("\(floor(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
269 | xM = xM - inc1
270 | }
[51/96] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:114:52: error: cannot convert value of type 'Float' to expected argument type 'Double'
112 | guard series.count > 0 else { return (results, markers) }
113 | if (graphOrientation == .vertical) {
114 | results.barWidth = Int(round(size.width/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
115 | maximumY = maxY(points: series.values)
116 | minimumY = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:119:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
117 | }
118 | else{
119 | results.barWidth = Int(round(size.height/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | maximumX = maxY(points: series.values)
121 | minimumX = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:153:28: error: no exact matches in call to global function 'pow'
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:155:28: error: no exact matches in call to global function 'pow'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:157:28: error: no exact matches in call to global function 'pow'
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
158 | }
159 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:173:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | }
172 | markers.yMarkers.append(yM)
173 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | yM = yM + inc1
175 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:179:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
177 | while yM>0.0 {
178 | markers.yMarkers.append(yM)
179 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
180 | yM = yM - inc1
181 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:242:28: error: no exact matches in call to global function 'pow'
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:244:28: error: no exact matches in call to global function 'pow'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:246:28: error: no exact matches in call to global function 'pow'
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
247 | }
248 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:262:67: error: cannot convert value of type 'Float' to expected argument type 'Double'
260 | }
261 | markers.xMarkers.append(xM)
262 | markers.xMarkersText.append("\(ceil(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
263 | xM = xM + inc1
264 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:268:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
266 | while xM>0.0 {
267 | markers.xMarkers.append(xM)
268 | markers.xMarkersText.append("\(floor(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
269 | xM = xM - inc1
270 | }
[52/96] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:114:52: error: cannot convert value of type 'Float' to expected argument type 'Double'
112 | guard series.count > 0 else { return (results, markers) }
113 | if (graphOrientation == .vertical) {
114 | results.barWidth = Int(round(size.width/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
115 | maximumY = maxY(points: series.values)
116 | minimumY = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:119:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
117 | }
118 | else{
119 | results.barWidth = Int(round(size.height/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | maximumX = maxY(points: series.values)
121 | minimumX = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:153:28: error: no exact matches in call to global function 'pow'
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:155:28: error: no exact matches in call to global function 'pow'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:157:28: error: no exact matches in call to global function 'pow'
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
158 | }
159 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:173:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | }
172 | markers.yMarkers.append(yM)
173 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | yM = yM + inc1
175 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:179:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
177 | while yM>0.0 {
178 | markers.yMarkers.append(yM)
179 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
180 | yM = yM - inc1
181 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:242:28: error: no exact matches in call to global function 'pow'
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:244:28: error: no exact matches in call to global function 'pow'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:246:28: error: no exact matches in call to global function 'pow'
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
247 | }
248 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:262:67: error: cannot convert value of type 'Float' to expected argument type 'Double'
260 | }
261 | markers.xMarkers.append(xM)
262 | markers.xMarkersText.append("\(ceil(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
263 | xM = xM + inc1
264 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:268:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
266 | while xM>0.0 {
267 | markers.xMarkers.append(xM)
268 | markers.xMarkersText.append("\(floor(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
269 | xM = xM - inc1
270 | }
[53/96] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:114:52: error: cannot convert value of type 'Float' to expected argument type 'Double'
112 | guard series.count > 0 else { return (results, markers) }
113 | if (graphOrientation == .vertical) {
114 | results.barWidth = Int(round(size.width/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
115 | maximumY = maxY(points: series.values)
116 | minimumY = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:119:53: error: cannot convert value of type 'Float' to expected argument type 'Double'
117 | }
118 | else{
119 | results.barWidth = Int(round(size.height/Float(series.count)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
120 | maximumX = maxY(points: series.values)
121 | minimumX = minY(points: series.values)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:152:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
150 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:153:28: error: no exact matches in call to global function 'pow'
151 | var v1: Float
152 | if (nD1 > 1 && maximumY <= U(pow(Float(10), Float(nD1 - 1)))) {
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:155:28: error: no exact matches in call to global function 'pow'
153 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
154 | } else if (nD1 > 1) {
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:157:28: error: no exact matches in call to global function 'pow'
155 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
156 | } else {
157 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
158 | }
159 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:173:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
171 | }
172 | markers.yMarkers.append(yM)
173 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
174 | yM = yM + inc1
175 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:179:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
177 | while yM>0.0 {
178 | markers.yMarkers.append(yM)
179 | markers.yMarkersText.append("\(round(results.scaleY*(yM-results.origin.y)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
180 | yM = yM - inc1
181 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:241:57: error: cannot convert value of type 'Float' to expected argument type 'Double'
239 | let nD1: Int = max(getNumberOfDigits(Float(maximumX)), getNumberOfDigits(Float(minimumX)))
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:242:28: error: no exact matches in call to global function 'pow'
240 | var v1: Float
241 | if (nD1 > 1 && maximumX <= U(pow(Float(10), Float(nD1 - 1)))) {
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:244:28: error: no exact matches in call to global function 'pow'
242 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
243 | } else if (nD1 > 1) {
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:246:28: error: no exact matches in call to global function 'pow'
244 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
245 | } else {
246 | v1 = Float(pow(Float(10), Float(0)))
| |- error: no exact matches in call to global function 'pow'
| `- note: candidate has partially matching parameter list (CGFloat, CGFloat)
247 | }
248 |
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-sysroot/usr/include/math.h:196:8: note: candidate has partially matching parameter list (Double, Double)
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate has partially matching parameter list (Double, Double)
197 | float powf(float __x, float __y);
198 | long double powl(long double __x, long double __y);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:262:67: error: cannot convert value of type 'Float' to expected argument type 'Double'
260 | }
261 | markers.xMarkers.append(xM)
262 | markers.xMarkersText.append("\(ceil(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
263 | xM = xM + inc1
264 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/BarChart.swift:268:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
266 | while xM>0.0 {
267 | markers.xMarkers.append(xM)
268 | markers.xMarkersText.append("\(floor(results.scaleX*(xM-results.origin.x)))")
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
269 | xM = xM - inc1
270 | }
[65/96] Compiling ArgumentParser AsyncParsableCommand.swift
[66/96] Compiling ArgumentParser CommandConfiguration.swift
[67/96] Compiling ArgumentParser CommandGroup.swift
[68/96] Compiling ArgumentParser EnumerableFlag.swift
[85/96] Compiling ArgumentParser CollectionExtensions.swift
[86/96] Compiling ArgumentParser Platform.swift
[87/96] Compiling ArgumentParser SequenceExtensions.swift
[88/96] Compiling ArgumentParser StringExtensions.swift
[89/96] Compiling ArgumentParser Tree.swift
BUILD FAILURE 6.2 android