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 master (36f460), with Swift 6.1 for Linux on 26 Apr 2025 21:46:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 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:         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-0":/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_trans_warp_magnifier.cpp
[1/44] Write sources
[3/44] Compiling AGG agg_trans_single_path.cpp
[4/44] Compiling AGG agg_trans_double_path.cpp
[5/44] Write sources
[6/44] Compiling AGG agg_vcgen_bspline.cpp
[7/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.
[8/44] Compiling AGG agg_font_freetype.cpp
[8/44] Compiling agg_slider_ctrl.cpp
[8/44] Compiling AGG agg_embedded_raster_fonts.cpp
[8/44] Compiling lodepng lodepng.cpp
[8/44] Compiling CAGGRenderer CAGGRenderer.cpp
[8/44] Compiling AGG gpc.c
[8/44] Compiling agg_spline_ctrl.cpp
[8/44] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/37] Compiling AGG gpc.c
[1/37] Compiling agg_scale_ctrl.cpp
[2/37] Compiling agg_slider_ctrl.cpp
[3/37] Compiling agg_rbox_ctrl.cpp
[4/37] Compiling agg_spline_ctrl.cpp
[5/37] Compiling agg_gamma_spline.cpp
[6/37] Compiling agg_polygon_ctrl.cpp
[7/37] Compiling CAGGRenderer CAGGRenderer.cpp
[8/37] Write swift-version-24593BA9C3E375BF.txt
[9/37] Compiling AGG agg_vpgen_segmentator.cpp
[10/37] Compiling lodepng lodepng.cpp
[11/37] Compiling agg_cbox_ctrl.cpp
[12/37] Compiling AGG agg_vpgen_clip_polyline.cpp
[13/37] Compiling agg_gamma_ctrl.cpp
[14/37] Compiling agg_bezier_ctrl.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.
[15/37] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[15/37] Compiling AGG agg_vcgen_contour.cpp
[15/37] Compiling AGG agg_vcgen_markers_term.cpp
[15/37] Compiling AGG agg_vcgen_stroke.cpp
[15/37] Compiling AGG agg_vcgen_dash.cpp
[15/37] Compiling AGG agg_vcgen_smooth_poly1.cpp
[15/37] Compiling AGG agg_vpgen_clip_polygon.cpp
BUILD FAILURE 6.1 linux