The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftPlot, reference master (36f460), with Swift 6.1 for Android on 28 May 2025 05:32:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 36f4608 Fix typo in `xIncrement` calculation (#131)
Cloned https://github.com/KarthikRIyer/swiftplot.git
Revision (git rev-parse @):
36f46087d36de0375d6245e767b33b3efcb7dc30
SUCCESS checkout https://github.com/KarthikRIyer/swiftplot.git at master
========================================
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-4609320-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_color_rgba.cpp
[1/44] Compiling AGG agg_arc.cpp
[2/44] Compiling AGG agg_arrowhead.cpp
[3/44] Write sources
[5/44] Compiling AGG agg_curves.cpp
[6/44] Compiling AGG agg_bezier_arc.cpp
[6/44] Write sources
[8/44] Write swift-version-24593BA9C3E375BF.txt
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 agg_bspline.cpp
[9/44] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[9/44] Compiling AGG agg_embedded_raster_fonts.cpp
[9/44] Compiling CAGGRenderer CAGGRenderer.cpp
[9/44] Compiling AGG gpc.c
[9/44] Compiling lodepng lodepng.cpp
[9/44] Compiling agg_spline_ctrl.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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] Write swift-version-24593BA9C3E375BF.txt
[2/36] Compiling agg_spline_ctrl.cpp
[3/36] Compiling agg_scale_ctrl.cpp
[4/36] Compiling agg_rbox_ctrl.cpp
[5/36] Compiling agg_slider_ctrl.cpp
[6/36] Compiling agg_gamma_spline.cpp
[7/66] Compiling agg_polygon_ctrl.cpp
[8/66] Compiling agg_gamma_ctrl.cpp
[9/66] Compiling agg_cbox_ctrl.cpp
[10/66] Compiling AGG agg_vpgen_segmentator.cpp
[11/66] Compiling CAGGRenderer CAGGRenderer.cpp
[12/66] Compiling AGG agg_vpgen_clip_polygon.cpp
[13/66] Compiling agg_bezier_ctrl.cpp
[14/66] Compiling AGG agg_vpgen_clip_polyline.cpp
[15/66] Compiling AGG agg_vcgen_smooth_poly1.cpp
[16/66] Compiling AGG agg_vcgen_stroke.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.
[17/66] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[17/66] Compiling AGG agg_vcgen_dash.cpp
[17/66] Compiling AGG agg_trans_warp_magnifier.cpp
[17/66] Compiling AGG agg_vcgen_bspline.cpp
[17/66] Compiling lodepng lodepng.cpp
[17/66] Compiling AGG agg_vcgen_markers_term.cpp
[17/66] Compiling AGG agg_vcgen_contour.cpp
BUILD FAILURE 6.1 android