Build Information
Failed to build SwiftPlot with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KarthikRIyer/swiftplot.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-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/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftplot",
"name": "SwiftPlot",
"url": "https://github.com/KarthikRIyer/swiftplot.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftplot",
"dependencies": [
]
}
]
}
Fetching https://github.com/KarthikRIyer/swiftplot.git
[1/6702] Fetching swiftplot
Fetched https://github.com/KarthikRIyer/swiftplot.git (4.48s)
Creating working copy for https://github.com/KarthikRIyer/swiftplot.git
Working copy of https://github.com/KarthikRIyer/swiftplot.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swiftplot' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/40] Compiling agg_scale_ctrl.cpp
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-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]
sprintf(buf, m_label, value());
^
/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__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-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
[1/40] Compiling agg_spline_ctrl.cpp
[2/40] Compiling agg_slider_ctrl.cpp
[3/40] Compiling agg_rbox_ctrl.cpp
[4/40] Compiling agg_gamma_spline.cpp
[5/40] Compiling agg_polygon_ctrl.cpp
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-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]
sprintf(tbuf, "%5.3f %5.3f %5.3f %5.3f", kx1, ky1, kx2, ky2);
^
/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__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-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
[6/53] Compiling agg_gamma_ctrl.cpp
[7/70] Compiling agg_cbox_ctrl.cpp
[8/70] Compiling AGG agg_vpgen_segmentator.cpp
[9/70] Compiling agg_bezier_ctrl.cpp
[10/70] Compiling AGG agg_vpgen_clip_polyline.cpp
[11/70] Compiling AGG agg_vpgen_clip_polygon.cpp
[12/70] Compiling AGG agg_vcgen_smooth_poly1.cpp
[13/70] Compiling AGG agg_vcgen_markers_term.cpp
[14/70] Compiling AGG agg_vcgen_stroke.cpp
[15/70] Compiling AGG gpc.c
[16/70] Compiling AGG agg_vcgen_dash.cpp
[17/70] Compiling AGG agg_trans_warp_magnifier.cpp
[18/70] Compiling AGG agg_vcgen_contour.cpp
[19/70] Compiling AGG agg_vcgen_bspline.cpp
[20/70] Compiling AGG agg_trans_single_path.cpp
[21/70] Compiling AGG agg_trans_affine.cpp
[22/70] Compiling AGG agg_trans_double_path.cpp
[23/70] Compiling CAGGRenderer CAGGRenderer.cpp
[24/70] Compiling AGG agg_sqrt_tables.cpp
[25/70] Compiling AGG agg_rounded_rect.cpp
[26/70] Compiling AGG agg_line_profile_aa.cpp
[27/70] Compiling AGG agg_line_aa_basics.cpp
[28/70] Compiling AGG agg_gsv_text.cpp
In file included from /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGGRenderer/CPPAGGRenderer/CPPAGGRenderer.cpp:19:
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGG/include/agg_font_freetype.h:23:10: fatal error: 'ft2build.h' file not found
#include <ft2build.h>
^~~~~~~~~~~~
1 error generated.
[29/70] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[29/70] Compiling AGG agg_color_rgba.cpp
[29/70] Compiling AGG agg_image_filters.cpp
[29/70] Compiling lodepng lodepng.cpp
[29/70] Compiling AGG agg_curves.cpp
[29/70] Compiling AGG agg_embedded_raster_fonts.cpp
In file included from /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGG/agg_font_freetype.cpp:19:
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGG/include/agg_font_freetype.h:23:10: fatal error: 'ft2build.h' file not found
#include <ft2build.h>
^~~~~~~~~~~~
[29/70] Compiling AGG agg_font_freetype.cpp
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
[0/1] Planning build
Building for debugging...
[0/11] Compiling AGG agg_color_rgba.cpp
[1/11] Compiling AGG agg_curves.cpp
In file included from /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGG/agg_font_freetype.cpp:19:
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGG/include/agg_font_freetype.h:23:10: fatal error: 'ft2build.h' file not found
#include <ft2build.h>
^~~~~~~~~~~~
1 error generated.
[2/11] Compiling AGG agg_font_freetype.cpp
[2/11] Compiling AGG agg_bezier_arc.cpp
[2/11] Compiling AGG agg_image_filters.cpp
[2/11] Compiling lodepng lodepng.cpp
[2/11] Compiling AGG agg_bspline.cpp
[2/11] Compiling AGG agg_embedded_raster_fonts.cpp
[2/11] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
warning: you may be able to install freetype2 using your system-packager:
brew install freetype2
BUILD FAILURE 5.9 macosSpm