Build Information
Failed to build SwiftPlot, reference master (36f460
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:50:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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.73s)
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.0
Building package at path: $PWD
https://github.com/KarthikRIyer/swiftplot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/45] Write sources
[4/45] Write swift-version--7754E27361AE5C74.txt
[5/45] Compiling agg_gamma_spline.cpp
[6/45] Compiling agg_scale_ctrl.cpp
[6/45] Compiling agg_spline_ctrl.cpp
[7/45] Compiling agg_rbox_ctrl.cpp
[9/45] Compiling agg_polygon_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.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __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.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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/45] Compiling agg_slider_ctrl.cpp
[11/45] Compiling AGG agg_vpgen_clip_polyline.cpp
[12/45] Compiling AGG agg_vpgen_segmentator.cpp
[13/45] Compiling AGG gpc.c
[14/65] 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.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
274 | __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.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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.
[15/76] Compiling agg_gamma_ctrl.cpp
[16/76] Compiling agg_bezier_ctrl.cpp
[17/76] Compiling AGG agg_vpgen_clip_polygon.cpp
[18/76] Compiling AGG agg_vcgen_smooth_poly1.cpp
[19/76] Compiling AGG agg_vcgen_stroke.cpp
[20/76] Compiling AGG agg_vcgen_markers_term.cpp
[21/76] Compiling AGG agg_vcgen_dash.cpp
[22/76] Compiling AGG agg_trans_warp_magnifier.cpp
[23/76] Compiling AGG agg_vcgen_bspline.cpp
[24/76] Compiling AGG agg_vcgen_contour.cpp
[25/76] Compiling AGG agg_trans_single_path.cpp
[26/76] Compiling AGG agg_trans_double_path.cpp
[27/76] Compiling AGG agg_sqrt_tables.cpp
[28/76] Compiling AGG agg_trans_affine.cpp
[29/76] Compiling AGG agg_rounded_rect.cpp
[30/76] Compiling AGG agg_line_aa_basics.cpp
[31/76] Compiling AGG agg_line_profile_aa.cpp
[32/76] Compiling AGG agg_color_rgba.cpp
[33/76] Compiling AGG agg_image_filters.cpp
[34/76] Compiling AGG agg_gsv_text.cpp
[35/76] Compiling AGG agg_curves.cpp
[36/76] Compiling AGG agg_embedded_raster_fonts.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.
[37/76] Compiling AGG agg_font_freetype.cpp
[37/76] Compiling AGG agg_bezier_arc.cpp
[37/76] Compiling AGG agg_arc.cpp
[37/76] Compiling AGG agg_bspline.cpp
[37/76] Compiling AGG agg_arrowhead.cpp
[37/76] Compiling lodepng lodepng.cpp
In file included from /Users/admin/builder/spi-builder-workspace/Sources/AGGRenderer/CPPAGGRenderer/CPPAGGRenderer.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>
| ^~~~~~~~~~~~
[37/76] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[37/76] Compiling CAGGRenderer CAGGRenderer.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
BUILD FAILURE 6.0 macosSpm