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 2.0.0 (c5424e), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:50:26 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: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/KarthikRIyer/swiftplot
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at c5424eb Bump version number in README.md
Cloned https://github.com/KarthikRIyer/swiftplot.git
Revision (git rev-parse @):
c5424eb8688217029d44e941d3a1d2ccc18c3a82
SUCCESS checkout https://github.com/KarthikRIyer/swiftplot.git at 2.0.0
========================================
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 (2.55s)
Creating working copy for https://github.com/KarthikRIyer/swiftplot.git
Working copy of https://github.com/KarthikRIyer/swiftplot.git resolved at 2.0.0 (c5424eb)
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
[3/45] Write swift-version--7754E27361AE5C74.txt
[4/45] Compiling AGG agg_color_rgba.cpp
[5/76] Compiling AGG agg_image_filters.cpp
[6/76] Write sources
[7/76] Compiling AGG agg_bezier_arc.cpp
[7/76] Compiling AGG agg_arrowhead.cpp
[7/76] Compiling AGG agg_vcgen_stroke.cpp
[7/76] Compiling AGG agg_bspline.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.
[11/76] Compiling AGG agg_font_freetype.cpp
[11/76] Compiling CPPAGGRenderer CPPAGGRenderer.cpp
[11/76] Compiling lodepng lodepng.cpp
[11/76] Compiling AGG gpc.c
[11/76] Compiling agg_slider_ctrl.cpp
[11/76] Compiling agg_rbox_ctrl.cpp
[11/76] Compiling agg_spline_ctrl.cpp
[11/76] Compiling CAGGRenderer CAGGRenderer.cpp
[11/76] Compiling agg_scale_ctrl.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