The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftPlot with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KarthikRIyer/swiftplot.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/KarthikRIyer/swiftplot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/45] Compiling AGG agg_color_rgba.cpp
[1/45] Compiling AGG agg_bspline.cpp
[2/45] Compiling AGG agg_line_aa_basics.cpp
[2/45] Write sources
[2/45] Compiling AGG agg_arrowhead.cpp
[2/45] Write sources
[6/45] Compiling AGG agg_rounded_rect.cpp
[8/45] Write sources
[9/45] Compiling AGG agg_bezier_arc.cpp
[9/45] Compiling AGG agg_image_filters.cpp
[11/45] Compiling AGG agg_line_profile_aa.cpp
[12/45] Write swift-version--423B1241ED78D482.txt
[13/45] Compiling agg_scale_ctrl.cpp
[14/45] Compiling agg_spline_ctrl.cpp
/Users/builder/builds/UKfvDsi8u/2/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.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
[15/45] Compiling agg_slider_ctrl.cpp
[16/45] Compiling agg_rbox_ctrl.cpp
[17/45] Compiling agg_gamma_spline.cpp
[18/75] Compiling agg_polygon_ctrl.cpp
/Users/builder/builds/UKfvDsi8u/2/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.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.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.3.0-Beta.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
[19/75] Compiling agg_gamma_ctrl.cpp
[20/75] Compiling agg_cbox_ctrl.cpp
[21/75] Compiling AGG agg_vpgen_segmentator.cpp
[22/75] Compiling agg_bezier_ctrl.cpp
[23/75] Compiling AGG agg_vpgen_clip_polyline.cpp
[24/75] Compiling AGG agg_vpgen_clip_polygon.cpp
[25/75] Compiling AGG gpc.c
[26/75] Compiling AGG agg_vcgen_stroke.cpp
[27/75] Compiling AGG agg_vcgen_smooth_poly1.cpp
[28/75] Compiling AGG agg_vcgen_markers_term.cpp
[29/75] Compiling AGG agg_vcgen_dash.cpp
[30/75] Compiling AGG agg_vcgen_contour.cpp
[30/75] Compiling AGG agg_vcgen_bspline.cpp
[32/75] Compiling AGG agg_trans_warp_magnifier.cpp
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGGRenderer/CPPAGGRenderer/CPPAGGRenderer.cpp:19:
/Users/builder/builds/UKfvDsi8u/2/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.
[33/75] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[33/75] Compiling AGG agg_trans_double_path.cpp
[33/75] Compiling AGG agg_sqrt_tables.cpp
[33/75] Compiling CAGGRenderer CAGGRenderer.cpp
[33/75] Compiling AGG agg_trans_single_path.cpp
[33/75] Compiling AGG agg_trans_affine.cpp
[33/75] 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
[0/1] Planning build
Building for debugging...
[0/13] Compiling AGG agg_trans_affine.cpp
[1/13] Compiling AGG agg_sqrt_tables.cpp
[2/13] Compiling AGG agg_trans_double_path.cpp
[3/13] Compiling AGG agg_trans_single_path.cpp
[4/13] Compiling AGG agg_gsv_text.cpp
[5/13] Write swift-version--423B1241ED78D482.txt
In file included from /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AGG/agg_font_freetype.cpp:19:
/Users/builder/builds/UKfvDsi8u/2/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.
[6/13] Compiling AGG agg_font_freetype.cpp
[6/13] Compiling AGG agg_curves.cpp
[6/13] Compiling AGG agg_embedded_raster_fonts.cpp
[6/13] Compiling AGG agg_arc.cpp
[6/13] Compiling lodepng lodepng.cpp
[6/13] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[6/13] 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 5.10 macosSpm

Build Machine: Mac 7