The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftPlot, reference 2.0.0 (c5424e), with Swift 6.1 for Linux on 26 Apr 2025 21:46:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
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:         linux
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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_arrowhead.cpp
[1/44] Compiling AGG agg_bspline.cpp
[2/44] Compiling AGG agg_bezier_arc.cpp
[3/44] Write sources
[5/44] Compiling AGG gpc.c
[6/44] Compiling agg_scale_ctrl.cpp
[6/44] Write sources
[8/44] Compiling AGG agg_embedded_raster_fonts.cpp
[9/44] Compiling agg_slider_ctrl.cpp
[10/44] Compiling agg_spline_ctrl.cpp
[11/44] Write swift-version-24593BA9C3E375BF.txt
[12/44] Compiling agg_gamma_spline.cpp
[13/44] Compiling agg_rbox_ctrl.cpp
[14/44] Compiling agg_polygon_ctrl.cpp
[15/70] Compiling CAGGRenderer CAGGRenderer.cpp
[16/74] Compiling agg_gamma_ctrl.cpp
[17/74] Compiling AGG agg_vpgen_clip_polyline.cpp
[18/74] Compiling AGG agg_vpgen_clip_polygon.cpp
[19/74] Compiling agg_cbox_ctrl.cpp
[20/74] Compiling agg_bezier_ctrl.cpp
[21/74] Compiling AGG agg_vpgen_segmentator.cpp
[22/74] Compiling lodepng lodepng.cpp
[23/74] Compiling AGG agg_vcgen_smooth_poly1.cpp
[24/74] Compiling AGG agg_vcgen_markers_term.cpp
[25/74] Compiling AGG agg_vcgen_contour.cpp
[26/74] Compiling AGG agg_vcgen_stroke.cpp
[27/74] Compiling AGG agg_vcgen_dash.cpp
[28/74] Compiling AGG agg_trans_warp_magnifier.cpp
[29/74] Compiling AGG agg_vcgen_bspline.cpp
[30/74] Compiling AGG agg_sqrt_tables.cpp
[31/74] Compiling AGG agg_rounded_rect.cpp
[32/74] Compiling AGG agg_trans_double_path.cpp
[33/74] Compiling AGG agg_trans_affine.cpp
[34/74] Compiling AGG agg_trans_single_path.cpp
[35/74] Compiling AGG agg_line_profile_aa.cpp
[36/74] Compiling AGG agg_line_aa_basics.cpp
[37/74] Compiling AGG agg_color_rgba.cpp
[38/74] Compiling AGG agg_gsv_text.cpp
[39/74] Compiling AGG agg_image_filters.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.
[40/74] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[40/74] Compiling AGG agg_arc.cpp
[40/74] Compiling AGG agg_curves.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>
      |          ^~~~~~~~~~~~
[40/74] Compiling AGG agg_font_freetype.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/5] Compiling AGG agg_arc.cpp
[1/5] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling AGG agg_curves.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.
[3/5] Compiling AGG agg_font_freetype.cpp
[3/5] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
BUILD FAILURE 6.1 linux