Build Information
Failed to build SwiftPlot, reference master (36f460
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 21:51:46 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
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 /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftplot",
"name": "SwiftPlot",
"url": "https://github.com/KarthikRIyer/swiftplot.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftplot",
"dependencies": [
]
}
]
}
Fetching https://github.com/KarthikRIyer/swiftplot.git
[1/6708] Fetching swiftplot
Fetched https://github.com/KarthikRIyer/swiftplot.git from cache (1.71s)
Creating working copy for https://github.com/KarthikRIyer/swiftplot.git
Working copy of https://github.com/KarthikRIyer/swiftplot.git resolved at master (36f4608)
warning: '.resolve-product-dependencies': dependency 'swiftplot' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/KarthikRIyer/swiftplot.git
https://github.com/KarthikRIyer/swiftplot.git
{
"cxx_language_standard" : "c++11",
"dependencies" : [
],
"manifest_display_name" : "SwiftPlot",
"name" : "SwiftPlot",
"path" : "/Users/admin/builder/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"
]
}
},
{
"name" : "QuartzRenderer",
"targets" : [
"QuartzRenderer"
],
"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",
"QuartzRenderer",
"SwiftPlot"
],
"type" : "test"
},
{
"c99name" : "SwiftPlot",
"module_type" : "SwiftTarget",
"name" : "SwiftPlot",
"path" : "Sources/SwiftPlot",
"product_memberships" : [
"SwiftPlot",
"SVGRenderer",
"AGGRenderer",
"QuartzRenderer"
],
"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" : "QuartzRenderer",
"module_type" : "SwiftTarget",
"name" : "QuartzRenderer",
"path" : "Sources/QuartzRenderer",
"product_memberships" : [
"QuartzRenderer"
],
"sources" : [
"QuartzRenderer.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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/45] Compiling AGG agg_color_rgba.cpp
[1/45] Write swift-version-2F0A5646E1D333AE.txt
[2/45] Compiling AGG agg_embedded_raster_fonts.cpp
[2/45] Compiling AGG agg_bspline.cpp
[3/45] Write sources
[6/45] Compiling AGG agg_curves.cpp
[8/45] Write sources
[8/45] Compiling AGG agg_arc.cpp
[8/45] Compiling AGG agg_image_filters.cpp
[8/45] Compiling AGG agg_bezier_arc.cpp
[8/45] Compiling AGG agg_arrowhead.cpp
[13/45] Compiling AGG agg_gsv_text.cpp
In file included from /Users/admin/builder/spi-builder-workspace/Sources/AGG/agg_font_freetype.cpp:19:
/Users/admin/builder/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.
[14/45] Compiling AGG agg_font_freetype.cpp
[14/45] Compiling agg_spline_ctrl.cpp
[14/45] Compiling agg_scale_ctrl.cpp
[14/45] Compiling agg_rbox_ctrl.cpp
[14/45] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[14/45] Compiling agg_slider_ctrl.cpp
[14/45] Compiling AGG gpc.c
[14/45] Compiling CAGGRenderer CAGGRenderer.cpp
[14/45] Compiling lodepng lodepng.cpp
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/32] Compiling agg_gamma_spline.cpp
[1/32] Compiling agg_scale_ctrl.cpp
[2/32] Compiling agg_polygon_ctrl.cpp
[3/32] Compiling agg_rbox_ctrl.cpp
[4/32] Compiling agg_spline_ctrl.cpp
/Users/admin/builder/spi-builder-workspace/Sources/AGG/ctrl/agg_slider_ctrl.cpp:165:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
165 | sprintf(buf, m_label, value());
| ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
| ^
1 warning generated.
[5/32] Compiling agg_slider_ctrl.cpp
[6/32] Compiling AGG agg_vpgen_segmentator.cpp
[7/32] Compiling AGG agg_vpgen_clip_polyline.cpp
[8/32] Compiling agg_cbox_ctrl.cpp
/Users/admin/builder/spi-builder-workspace/Sources/AGG/ctrl/agg_gamma_ctrl.cpp:243:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
243 | sprintf(tbuf, "%5.3f %5.3f %5.3f %5.3f", kx1, ky1, kx2, ky2);
| ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
278 | __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
| ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
| ^
1 warning generated.
[9/32] Compiling agg_gamma_ctrl.cpp
[10/32] Compiling agg_bezier_ctrl.cpp
[11/32] Write swift-version-2F0A5646E1D333AE.txt
[12/32] Compiling AGG agg_vpgen_clip_polygon.cpp
[13/32] Compiling AGG agg_vcgen_stroke.cpp
[14/32] Compiling AGG agg_vcgen_smooth_poly1.cpp
[15/32] Compiling AGG agg_vcgen_markers_term.cpp
[16/32] Compiling AGG agg_vcgen_dash.cpp
[17/32] Compiling AGG agg_vcgen_contour.cpp
[18/32] Compiling AGG gpc.c
[19/32] Compiling AGG agg_trans_warp_magnifier.cpp
[20/32] Compiling AGG agg_vcgen_bspline.cpp
[21/32] Compiling AGG agg_trans_single_path.cpp
[22/53] Compiling AGG agg_trans_affine.cpp
[23/63] Compiling AGG agg_trans_double_path.cpp
[24/63] Compiling AGG agg_sqrt_tables.cpp
[25/63] Compiling AGG agg_rounded_rect.cpp
[26/63] Compiling AGG agg_line_aa_basics.cpp
[27/63] Compiling AGG agg_line_profile_aa.cpp
In file included from /Users/admin/builder/spi-builder-workspace/Sources/AGG/agg_font_freetype.cpp:19:
/Users/admin/builder/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.
[28/63] Compiling AGG agg_font_freetype.cpp
[28/63] Compiling CAGGRenderer CAGGRenderer.cpp
[28/63] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[28/63] Compiling lodepng lodepng.cpp
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
BUILD FAILURE 6.1 macosSpm