Build Information
Failed to build SwiftPlot, reference 2.0.0 (c5424e
), with Swift 6.1 for Android on 28 May 2025 05:32:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KarthikRIyer/swiftplot.git
Reference: 2.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/KarthikRIyer/swiftplot
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at c5424eb Bump version number in README.md
Cloned https://github.com/KarthikRIyer/swiftplot.git
Revision (git rev-parse @):
c5424eb8688217029d44e941d3a1d2ccc18c3a82
SUCCESS checkout https://github.com/KarthikRIyer/swiftplot.git at 2.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/KarthikRIyer/swiftplot.git
https://github.com/KarthikRIyer/swiftplot.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++11",
"dependencies" : [
],
"manifest_display_name" : "SwiftPlot",
"name" : "SwiftPlot",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftPlot",
"targets" : [
"SwiftPlot"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SVGRenderer",
"targets" : [
"SVGRenderer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AGGRenderer",
"targets" : [
"AGGRenderer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "lodepng",
"module_type" : "ClangTarget",
"name" : "lodepng",
"path" : "Sources/lodepng",
"product_memberships" : [
"AGGRenderer"
],
"sources" : [
"lodepng.cpp"
],
"type" : "library"
},
{
"c99name" : "SwiftPlotTests",
"module_type" : "SwiftTarget",
"name" : "SwiftPlotTests",
"path" : "Tests/SwiftPlotTests",
"sources" : [
"AGGRenderer/agg-png-output.swift",
"AGGRenderer/aggTests.swift",
"Annotation/annotation-arrow-dart.swift",
"Annotation/annotation-arrow-double-headed.swift",
"Annotation/annotation-arrow-wedge.swift",
"Annotation/annotation-arrow.swift",
"Annotation/annotation-bracket.swift",
"Annotation/annotation-text-bounding-box.swift",
"Annotation/annotation-text.swift",
"Annotation/annotationTests.swift",
"BarChart/barchart-hatched-backwardslash.swift",
"BarChart/barchart-hatched-cross.swift",
"BarChart/barchart-hatched-filledcircle.swift",
"BarChart/barchart-hatched-forwardsslash.swift",
"BarChart/barchart-hatched-grid.swift",
"BarChart/barchart-hatched-hollowcircle.swift",
"BarChart/barchart-hatched-horizontal.swift",
"BarChart/barchart-hatched-vertical.swift",
"BarChart/barchart-orientation-horizontal.swift",
"BarChart/barchart-stacked-horizontal.swift",
"BarChart/barchart-stacked-vertical.swift",
"BarChart/barchart.swift",
"BarChart/barchartTests.swift",
"Heatmap/heatmap.swift",
"Histogram/histogram-arrayValues.swift",
"Histogram/histogram-regression-tests.swift",
"Histogram/histogram-stacked-arrayValues.swift",
"Histogram/histogram-stacked-step-arrayValues.swift",
"Histogram/histogram-stacked-step.swift",
"Histogram/histogram-stacked.swift",
"Histogram/histogram-step-arrayValues.swift",
"Histogram/histogram-step.swift",
"Histogram/histogram.swift",
"Histogram/histogramTests.swift",
"LineChart/linechart-functionplot.swift",
"LineChart/linechart-multiple-series.swift",
"LineChart/linechart-regressiontests.swift",
"LineChart/linechart-secondary-axis.swift",
"LineChart/linechart-single-series.swift",
"LineChart/linechart-subplot-gridstacked.swift",
"LineChart/linechart-subplot-h-stacked.swift",
"LineChart/linechart-subplot-v-stacked.swift",
"LineChart/linechartTests.swift",
"PerformanceTests/performance-histogram.swift",
"PerformanceTests/performanceTests.swift",
"ScatterPlot/scatterplot-arrayValues.swift",
"ScatterPlot/scatterplot.swift",
"ScatterPlot/scatterplotTests.swift",
"SubPlots/subplotTests.swift",
"SubPlots/subplots.swift",
"SwiftPlotTestCase.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AGGRenderer",
"SVGRenderer",
"SwiftPlot"
],
"type" : "test"
},
{
"c99name" : "SwiftPlot",
"module_type" : "SwiftTarget",
"name" : "SwiftPlot",
"path" : "Sources/SwiftPlot",
"product_memberships" : [
"SwiftPlot",
"SVGRenderer",
"AGGRenderer"
],
"sources" : [
"AdaptersNamespace.swift",
"Axis.swift",
"BarChart.swift",
"BarGraphSeriesOptions.swift",
"Color/Color.swift",
"Color/ColorMap.swift",
"Color/ColorMapData.swift",
"FloatConvertible.swift",
"Geometry/EdgeComponents.swift",
"Geometry/Rect.swift",
"Geometry/Size.swift",
"GraphLayout.swift",
"Heatmap-adapter.swift",
"Heatmap.swift",
"HelperFunction.swift",
"Histogram.swift",
"HistogramSeries.swift",
"HistogramSeriesOptions.swift",
"LayoutComponents/Label.swift",
"LayoutComponents/LayoutComponent.swift",
"LayoutComponents/Spacing.swift",
"LineChart.swift",
"Pair.swift",
"Plot.swift",
"PlotDimensions.swift",
"PlotMarkers.swift",
"PlotStyleHelpers.swift",
"Renderer.swift",
"ScatterChart.swift",
"ScatterPlotSeriesOptions.swift",
"SequencePlots.swift",
"Series.swift",
"SubPlot.swift"
],
"type" : "library"
},
{
"c99name" : "SVGRenderer",
"module_type" : "SwiftTarget",
"name" : "SVGRenderer",
"path" : "Sources/SVGRenderer",
"product_memberships" : [
"SVGRenderer"
],
"sources" : [
"SVGRenderer.swift"
],
"target_dependencies" : [
"SwiftPlot"
],
"type" : "library"
},
{
"c99name" : "CPPAGGRenderer",
"module_type" : "ClangTarget",
"name" : "CPPAGGRenderer",
"path" : "Sources/AGGRenderer/CPPAGGRenderer",
"product_memberships" : [
"AGGRenderer"
],
"sources" : [
"CPPAGGRenderer.cpp"
],
"target_dependencies" : [
"AGG",
"lodepng"
],
"type" : "library"
},
{
"c99name" : "CFreeType",
"module_type" : "SystemLibraryTarget",
"name" : "CFreeType",
"path" : "Sources/CFreeType",
"product_memberships" : [
"AGGRenderer"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "CAGGRenderer",
"module_type" : "ClangTarget",
"name" : "CAGGRenderer",
"path" : "Sources/AGGRenderer/CAGGRenderer",
"product_memberships" : [
"AGGRenderer"
],
"sources" : [
"CAGGRenderer.cpp"
],
"target_dependencies" : [
"CPPAGGRenderer"
],
"type" : "library"
},
{
"c99name" : "AGGRenderer",
"module_type" : "SwiftTarget",
"name" : "AGGRenderer",
"path" : "Sources/AGGRenderer/AGGRenderer",
"product_memberships" : [
"AGGRenderer"
],
"sources" : [
"AGGRenderer.swift"
],
"target_dependencies" : [
"CAGGRenderer",
"SwiftPlot"
],
"type" : "library"
},
{
"c99name" : "AGG",
"module_type" : "ClangTarget",
"name" : "AGG",
"path" : "Sources/AGG",
"product_memberships" : [
"AGGRenderer"
],
"sources" : [
"agg_arc.cpp",
"agg_arrowhead.cpp",
"agg_bezier_arc.cpp",
"agg_bspline.cpp",
"agg_color_rgba.cpp",
"agg_curves.cpp",
"agg_embedded_raster_fonts.cpp",
"agg_font_freetype.cpp",
"agg_gsv_text.cpp",
"agg_image_filters.cpp",
"agg_line_aa_basics.cpp",
"agg_line_profile_aa.cpp",
"agg_rounded_rect.cpp",
"agg_sqrt_tables.cpp",
"agg_trans_affine.cpp",
"agg_trans_double_path.cpp",
"agg_trans_single_path.cpp",
"agg_trans_warp_magnifier.cpp",
"agg_vcgen_bspline.cpp",
"agg_vcgen_contour.cpp",
"agg_vcgen_dash.cpp",
"agg_vcgen_markers_term.cpp",
"agg_vcgen_smooth_poly1.cpp",
"agg_vcgen_stroke.cpp",
"agg_vpgen_clip_polygon.cpp",
"agg_vpgen_clip_polyline.cpp",
"agg_vpgen_segmentator.cpp",
"ctrl/agg_bezier_ctrl.cpp",
"ctrl/agg_cbox_ctrl.cpp",
"ctrl/agg_gamma_ctrl.cpp",
"ctrl/agg_gamma_spline.cpp",
"ctrl/agg_polygon_ctrl.cpp",
"ctrl/agg_rbox_ctrl.cpp",
"ctrl/agg_scale_ctrl.cpp",
"ctrl/agg_slider_ctrl.cpp",
"ctrl/agg_spline_ctrl.cpp",
"gpc.c"
],
"target_dependencies" : [
"CFreeType"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install freetype2 using your system-packager:
apt-get install libfreetype6-dev
warning: you may be able to install freetype2 using your system-packager:
apt-get install libfreetype6-dev
Building for debugging...
[0/44] Compiling AGG agg_curves.cpp
[1/44] Write sources
[3/44] Compiling AGG agg_trans_warp_magnifier.cpp
[4/44] Write swift-version-24593BA9C3E375BF.txt
[4/44] Write sources
[6/44] Compiling AGG agg_arc.cpp
[7/44] Compiling AGG agg_bezier_arc.cpp
[8/44] Compiling AGG agg_arrowhead.cpp
In file included from /host/spi-builder-workspace/Sources/AGG/agg_font_freetype.cpp:19:
/host/spi-builder-workspace/Sources/AGG/include/agg_font_freetype.h:23:10: fatal error: 'ft2build.h' file not found
23 | #include <ft2build.h>
| ^~~~~~~~~~~~
1 error generated.
[9/44] Compiling AGG agg_font_freetype.cpp
[9/44] Compiling agg_spline_ctrl.cpp
[9/44] Compiling AGG gpc.c
[9/44] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[9/44] Compiling agg_slider_ctrl.cpp
[9/44] Compiling CAGGRenderer CAGGRenderer.cpp
[9/44] Compiling lodepng lodepng.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install freetype2 using your system-packager:
apt-get install libfreetype6-dev
warning: you may be able to install freetype2 using your system-packager:
apt-get install libfreetype6-dev
[0/1] Planning build
Building for debugging...
[0/36] Compiling AGG gpc.c
[1/36] Compiling agg_slider_ctrl.cpp
[2/36] Compiling agg_rbox_ctrl.cpp
[3/36] Compiling agg_scale_ctrl.cpp
[4/36] Compiling agg_gamma_spline.cpp
[5/36] Compiling agg_spline_ctrl.cpp
[6/36] Write swift-version-24593BA9C3E375BF.txt
[7/36] Compiling agg_polygon_ctrl.cpp
[8/36] Compiling AGG agg_vpgen_segmentator.cpp
[9/37] Compiling agg_gamma_ctrl.cpp
[10/58] Compiling agg_bezier_ctrl.cpp
[11/66] Compiling AGG agg_vpgen_clip_polyline.cpp
[12/66] Compiling agg_cbox_ctrl.cpp
[13/66] Compiling CAGGRenderer CAGGRenderer.cpp
[14/66] Compiling AGG agg_vpgen_clip_polygon.cpp
[15/66] Compiling AGG agg_vcgen_smooth_poly1.cpp
[15/66] Compiling AGG agg_vcgen_stroke.cpp
[17/66] Compiling AGG agg_vcgen_markers_term.cpp
[18/66] Compiling AGG agg_vcgen_dash.cpp
[19/66] Compiling AGG agg_vcgen_bspline.cpp
[20/66] Compiling AGG agg_vcgen_contour.cpp
[21/66] Compiling AGG agg_trans_single_path.cpp
[22/66] Compiling AGG agg_trans_double_path.cpp
[23/66] Compiling AGG agg_sqrt_tables.cpp
[24/66] Compiling AGG agg_rounded_rect.cpp
[25/66] Compiling AGG agg_trans_affine.cpp
In file included from /host/spi-builder-workspace/Sources/AGGRenderer/CPPAGGRenderer/CPPAGGRenderer.cpp:19:
/host/spi-builder-workspace/Sources/AGG/include/agg_font_freetype.h:23:10: fatal error: 'ft2build.h' file not found
23 | #include <ft2build.h>
| ^~~~~~~~~~~~
1 error generated.
[26/66] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[26/66] Compiling AGG agg_gsv_text.cpp
[26/66] Compiling AGG agg_line_profile_aa.cpp
[26/66] Compiling lodepng lodepng.cpp
[26/66] Compiling AGG agg_line_aa_basics.cpp
[26/66] Compiling AGG agg_font_freetype.cpp
[26/66] Compiling AGG agg_image_filters.cpp
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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);
BUILD FAILURE 6.1 android