Build Information
Failed to build SwiftSound, reference v1.0.3 (c99ff7
), with Swift 6.1 for Android on 30 May 2025 09:33:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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: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: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: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: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: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: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: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: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: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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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: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: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: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: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: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: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: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: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: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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-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);
[75/90] Wrapping AST for ArgumentParser for debugging
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:45: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:55: error: cannot convert return expression of type 'Double' to return type 'Float'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:78: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:44: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:54: error: cannot convert return expression of type 'Double' to return type 'Float'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:77: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:26: error: cannot convert return expression of type 'Double' to return type 'Float'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:27: error: cannot convert return expression of type 'Double' to return type 'Float'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:33:13: error: no exact matches in call to global function 'pow'
31 |
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
34 | return round(value*p)/p
35 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:34:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
35 | }
36 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:26: error: no '/' candidates produce the expected contextual result type 'Float'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
35 | }
36 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:38:13: error: no exact matches in call to global function 'pow'
36 |
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
39 | return floor(value*p)/p
40 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:39:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
40 | }
41 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:26: error: no '/' candidates produce the expected contextual result type 'Float'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
40 | }
41 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:43:13: error: no exact matches in call to global function 'pow'
41 |
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
44 | return ceil(value*p)/p
45 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:44:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:25: error: no '/' candidates produce the expected contextual result type 'Float'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
45 | }
46 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:114:13: error: no exact matches in call to global function 'sin'
112 | angleDegrees: Float) -> Point{
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
| `- error: no exact matches in call to global function 'sin'
115 | let c = cos(angle)
116 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:115:13: error: no exact matches in call to global function 'cos'
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
115 | let c = cos(angle)
| `- error: no exact matches in call to global function 'cos'
116 | var rotatedPoint = Point(point.x, point.y)
117 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:129:13: error: no exact matches in call to global function 'sin'
127 | center: Point,
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
| `- error: no exact matches in call to global function 'sin'
130 | let c = cos(angleRadians)
131 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:130:13: error: no exact matches in call to global function 'cos'
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
130 | let c = cos(angleRadians)
| `- error: no exact matches in call to global function 'cos'
131 | var rotatedPoint = Point(point.x, point.y)
132 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:28: error: cannot assign value of type 'Double' to type 'Float'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot assign value of type 'Double' to type 'Float'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:75: error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:36: error: no exact matches in call to global function 'pow'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:178:33: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:179:24: error: no exact matches in call to global function 'pow'
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
179 | 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)
180 | } else if (nD1 > 1) {
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:181:24: error: no exact matches in call to global function 'pow'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
181 | 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)
182 | } else {
183 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:183:24: error: no exact matches in call to global function 'pow'
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
182 | } else {
183 | 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)
184 | }
185 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:208:31: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:34: error: no exact matches in call to global function 'pow'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:209:24: error: no exact matches in call to global function 'pow'
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
209 | 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)
210 | } else if (nD2 > 1) {
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:211:24: error: no exact matches in call to global function 'pow'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
211 | 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)
212 | } else {
213 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:213:24: error: no exact matches in call to global function 'pow'
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
212 | } else {
213 | 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)
214 | }
215 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/HelperFunction.swift:8:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:45: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:55: error: cannot convert return expression of type 'Double' to return type 'Float'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:78: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:44: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:54: error: cannot convert return expression of type 'Double' to return type 'Float'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:77: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:26: error: cannot convert return expression of type 'Double' to return type 'Float'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:27: error: cannot convert return expression of type 'Double' to return type 'Float'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:33:13: error: no exact matches in call to global function 'pow'
31 |
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
34 | return round(value*p)/p
35 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:34:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
35 | }
36 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:26: error: no '/' candidates produce the expected contextual result type 'Float'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
35 | }
36 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:38:13: error: no exact matches in call to global function 'pow'
36 |
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
39 | return floor(value*p)/p
40 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:39:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
40 | }
41 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:26: error: no '/' candidates produce the expected contextual result type 'Float'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
40 | }
41 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:43:13: error: no exact matches in call to global function 'pow'
41 |
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
44 | return ceil(value*p)/p
45 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:44:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:25: error: no '/' candidates produce the expected contextual result type 'Float'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
45 | }
46 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:114:13: error: no exact matches in call to global function 'sin'
112 | angleDegrees: Float) -> Point{
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
| `- error: no exact matches in call to global function 'sin'
115 | let c = cos(angle)
116 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:115:13: error: no exact matches in call to global function 'cos'
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
115 | let c = cos(angle)
| `- error: no exact matches in call to global function 'cos'
116 | var rotatedPoint = Point(point.x, point.y)
117 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:129:13: error: no exact matches in call to global function 'sin'
127 | center: Point,
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
| `- error: no exact matches in call to global function 'sin'
130 | let c = cos(angleRadians)
131 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:130:13: error: no exact matches in call to global function 'cos'
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
130 | let c = cos(angleRadians)
| `- error: no exact matches in call to global function 'cos'
131 | var rotatedPoint = Point(point.x, point.y)
132 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:28: error: cannot assign value of type 'Double' to type 'Float'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot assign value of type 'Double' to type 'Float'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:75: error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:36: error: no exact matches in call to global function 'pow'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:178:33: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:179:24: error: no exact matches in call to global function 'pow'
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
179 | 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)
180 | } else if (nD1 > 1) {
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:181:24: error: no exact matches in call to global function 'pow'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
181 | 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)
182 | } else {
183 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:183:24: error: no exact matches in call to global function 'pow'
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
182 | } else {
183 | 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)
184 | }
185 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:208:31: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:34: error: no exact matches in call to global function 'pow'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:209:24: error: no exact matches in call to global function 'pow'
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
209 | 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)
210 | } else if (nD2 > 1) {
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:211:24: error: no exact matches in call to global function 'pow'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
211 | 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)
212 | } else {
213 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:213:24: error: no exact matches in call to global function 'pow'
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
212 | } else {
213 | 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)
214 | }
215 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/HelperFunction.swift:8:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:45: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:55: error: cannot convert return expression of type 'Double' to return type 'Float'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:78: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:44: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:54: error: cannot convert return expression of type 'Double' to return type 'Float'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:77: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:26: error: cannot convert return expression of type 'Double' to return type 'Float'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:27: error: cannot convert return expression of type 'Double' to return type 'Float'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:33:13: error: no exact matches in call to global function 'pow'
31 |
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
34 | return round(value*p)/p
35 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:34:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
35 | }
36 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:26: error: no '/' candidates produce the expected contextual result type 'Float'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
35 | }
36 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:38:13: error: no exact matches in call to global function 'pow'
36 |
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
39 | return floor(value*p)/p
40 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:39:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
40 | }
41 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:26: error: no '/' candidates produce the expected contextual result type 'Float'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
40 | }
41 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:43:13: error: no exact matches in call to global function 'pow'
41 |
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
44 | return ceil(value*p)/p
45 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:44:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:25: error: no '/' candidates produce the expected contextual result type 'Float'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
45 | }
46 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:114:13: error: no exact matches in call to global function 'sin'
112 | angleDegrees: Float) -> Point{
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
| `- error: no exact matches in call to global function 'sin'
115 | let c = cos(angle)
116 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:115:13: error: no exact matches in call to global function 'cos'
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
115 | let c = cos(angle)
| `- error: no exact matches in call to global function 'cos'
116 | var rotatedPoint = Point(point.x, point.y)
117 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:129:13: error: no exact matches in call to global function 'sin'
127 | center: Point,
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
| `- error: no exact matches in call to global function 'sin'
130 | let c = cos(angleRadians)
131 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:130:13: error: no exact matches in call to global function 'cos'
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
130 | let c = cos(angleRadians)
| `- error: no exact matches in call to global function 'cos'
131 | var rotatedPoint = Point(point.x, point.y)
132 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:28: error: cannot assign value of type 'Double' to type 'Float'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot assign value of type 'Double' to type 'Float'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:75: error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:36: error: no exact matches in call to global function 'pow'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:178:33: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:179:24: error: no exact matches in call to global function 'pow'
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
179 | 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)
180 | } else if (nD1 > 1) {
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:181:24: error: no exact matches in call to global function 'pow'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
181 | 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)
182 | } else {
183 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:183:24: error: no exact matches in call to global function 'pow'
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
182 | } else {
183 | 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)
184 | }
185 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:208:31: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:34: error: no exact matches in call to global function 'pow'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:209:24: error: no exact matches in call to global function 'pow'
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
209 | 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)
210 | } else if (nD2 > 1) {
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:211:24: error: no exact matches in call to global function 'pow'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
211 | 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)
212 | } else {
213 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:213:24: error: no exact matches in call to global function 'pow'
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
212 | } else {
213 | 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)
214 | }
215 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/HelperFunction.swift:8:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:45: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:55: error: cannot convert return expression of type 'Double' to return type 'Float'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:8:78: error: cannot convert value of type 'Float' to expected argument type 'Double'
6 |
7 | public func niceRoundFloor(_ value: Float) -> Float {
8 | return floor(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
9 | }
10 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:44: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:54: error: cannot convert return expression of type 'Double' to return type 'Float'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:12:77: error: cannot convert value of type 'Float' to expected argument type 'Double'
10 |
11 | public func niceRoundCeil(_ value: Float) -> Float {
12 | return ceil(value*pow(10, -floor(log10(value)))) / pow(10, -floor(log10(value)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
13 | }
14 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:25:26: error: cannot convert return expression of type 'Double' to return type 'Float'
23 |
24 | public func roundCeil10(_ value: Float) -> Float {
25 | return ceil(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:29:27: error: cannot convert return expression of type 'Double' to return type 'Float'
27 |
28 | public func roundFloor10(_ value: Float) -> Float {
29 | return floor(value/10)*10
| `- error: cannot convert return expression of type 'Double' to return type 'Float'
30 | }
31 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:33:13: error: no exact matches in call to global function 'pow'
31 |
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
34 | return round(value*p)/p
35 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:34:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
35 | }
36 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:34:26: error: no '/' candidates produce the expected contextual result type 'Float'
32 | public func roundToN(_ value: Float, _ n: Int) -> Float {
33 | let p = pow(10,Float(n))
34 | return round(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
35 | }
36 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:38:13: error: no exact matches in call to global function 'pow'
36 |
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
39 | return floor(value*p)/p
40 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:39:18: error: cannot convert value of type 'Float' to expected argument type 'Double'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
40 | }
41 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:39:26: error: no '/' candidates produce the expected contextual result type 'Float'
37 | public func floorToN(_ value: Float, _ n: Int) -> Float {
38 | let p = pow(10,Float(n))
39 | return floor(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
40 | }
41 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:43:13: error: no exact matches in call to global function 'pow'
41 |
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
| `- error: no exact matches in call to global function 'pow'
44 | return ceil(value*p)/p
45 | }
Foundation.pow:1:13: note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
1 | public func pow(_ lhs: CGFloat, _ rhs: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #2 (got 'Float')
Foundation.pow:1:13: note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
1 | public func pow(_ x: Decimal, _ y: Int) -> Decimal
| `- note: candidate expects value of type 'Int' for parameter #2 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:196:8: note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
194 | long double hypotl(long double __x, long double __y);
195 |
196 | double pow(double __x, double __y);
| `- note: candidate expects value of type 'Double' for parameter #2 (got 'Float')
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/HelperFunction.swift:44:17: error: cannot convert value of type 'Float' to expected argument type 'Double'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:44:25: error: no '/' candidates produce the expected contextual result type 'Float'
42 | public func ceilToN(_ value: Float, _ n: Int) -> Float {
43 | let p = pow(10,Float(n))
44 | return ceil(value*p)/p
| `- error: no '/' candidates produce the expected contextual result type 'Float'
45 | }
46 |
Swift.Double./:2:20: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | struct Double {
2 | public static func / (lhs: Double, rhs: Double) -> Double}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
Swift.FloatingPoint./:2:13: note: '/' produces 'Double', not the expected contextual result type 'Float'
1 | protocol FloatingPoint {
2 | static func / (lhs: Self, rhs: Self) -> Self}
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/FloatConvertible.swift:13:17: note: '/' produces 'Double', not the expected contextual result type 'Float'
11 | static func -(lhs: Self, rhs: Self) -> Self
12 | static func *(lhs: Self, rhs: Self) -> Self
13 | static func /(lhs: Self, rhs: Self) -> Self
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| |- note: '/' produces 'Double', not the expected contextual result type 'Float'
| `- note: '/' produces 'Double', not the expected contextual result type 'Float'
14 | }
15 |
Foundation.Measurement./:2:20: note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
1 | generic struct Measurement {
2 | public static func / (lhs: Double, rhs: Measurement<UnitType>) -> Measurement<UnitType>}
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| |- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
| `- note: '/' produces 'Measurement<Unit>', not the expected contextual result type 'Float'
3 |
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:114:13: error: no exact matches in call to global function 'sin'
112 | angleDegrees: Float) -> Point{
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
| `- error: no exact matches in call to global function 'sin'
115 | let c = cos(angle)
116 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:115:13: error: no exact matches in call to global function 'cos'
113 | let angle = angleDegrees * .pi/180.0
114 | let s = sin(angle)
115 | let c = cos(angle)
| `- error: no exact matches in call to global function 'cos'
116 | var rotatedPoint = Point(point.x, point.y)
117 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:129:13: error: no exact matches in call to global function 'sin'
127 | center: Point,
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
| `- error: no exact matches in call to global function 'sin'
130 | let c = cos(angleRadians)
131 | var rotatedPoint = Point(point.x, point.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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:96:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
94 | long double cosl(long double __x);
95 |
96 | double sin(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
97 | float sinf(float __x);
98 | long double sinl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/HelperFunction.swift:130:13: error: no exact matches in call to global function 'cos'
128 | angleRadians: Float) -> Point{
129 | let s = sin(angleRadians)
130 | let c = cos(angleRadians)
| `- error: no exact matches in call to global function 'cos'
131 | var rotatedPoint = Point(point.x, point.y)
132 | rotatedPoint = Point(rotatedPoint.x - center.x,
Foundation.cos:1:13: note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
1 | public func cos(_ x: CGFloat) -> CGFloat
| `- note: candidate expects value of type 'CGFloat' for parameter #1 (got 'Float')
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h:92:8: note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
90 | long double atan2l(long double __y, long double __x);
91 |
92 | double cos(double __x);
| `- note: candidate expects value of type 'Double' for parameter #1 (got 'Float')
93 | float cosf(float __x);
94 | long double cosl(long double __x);
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:28: error: cannot assign value of type 'Double' to type 'Float'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot assign value of type 'Double' to type 'Float'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:142:75: error: cannot convert value of type 'Float' to expected argument type 'Double'
140 | }
141 |
142 | results.barWidth = round((size.width - Float(2.0*results.xMargin))/Float(histogramSeries.bins))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
143 |
144 | results.origin = Point((size.width-(2.0*results.xMargin))/Float(maximumX-minimumX)*Float(T(-1)*minimumX), 0.0)
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:158:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
156 | // print("\(differenceY)")
157 | var c = 0
158 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
159 | c+=1
160 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:38: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:169:19: error: cannot convert value of type 'Float' to expected argument type 'Double'
167 | // print("\(differenceY)")
168 | var c = 0
169 | while(abs(inc1)*pow(10.0,Float(c))<1.0) {
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
170 | c+=1
171 | }
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:178:36: error: no exact matches in call to global function 'pow'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:178:33: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
176 | let nD1: Int = max(getNumberOfDigits(Float(maximumY)), getNumberOfDigits(Float(minimumY)))
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:179:24: error: no exact matches in call to global function 'pow'
177 | var v1: Float
178 | if (nD1 > 1 && maximumY <= pow(Float(10), Float(nD1 - 1))) {
179 | 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)
180 | } else if (nD1 > 1) {
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:181:24: error: no exact matches in call to global function 'pow'
179 | v1 = Float(pow(Float(10), Float(nD1 - 2)))
180 | } else if (nD1 > 1) {
181 | 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)
182 | } else {
183 | v1 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:183:24: error: no exact matches in call to global function 'pow'
181 | v1 = Float(pow(Float(10), Float(nD1 - 1)))
182 | } else {
183 | 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)
184 | }
185 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:208:31: error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
| `- error: binary operator '<=' cannot be applied to operands of type 'Float' and 'CGFloat'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/host/spi-builder-workspace/.build/checkouts/swiftplot/Sources/SwiftPlot/Histogram.swift:208:34: error: no exact matches in call to global function 'pow'
206 | let nD2: Int = getNumberOfDigits(xRange)
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= 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)
| `- note: candidate has partially matching parameter list (Decimal, Int)
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:209:24: error: no exact matches in call to global function 'pow'
207 | var v2: Float
208 | if (nD2 > 1 && xRange <= pow(Float(10), Float(nD2 - 1))) {
209 | 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)
210 | } else if (nD2 > 1) {
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:211:24: error: no exact matches in call to global function 'pow'
209 | v2 = Float(pow(Float(10), Float(nD2 - 2)))
210 | } else if (nD2 > 1) {
211 | 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)
212 | } else {
213 | v2 = Float(pow(Float(10), Float(0)))
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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/Histogram.swift:213:24: error: no exact matches in call to global function 'pow'
211 | v2 = Float(pow(Float(10), Float(nD2 - 1)))
212 | } else {
213 | 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)
214 | }
215 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/math.h: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);
BUILD FAILURE 6.1 android