The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PlotSwift, reference main (dae7cc), with Swift 6.1 for macOS (SPM) on 9 Apr 2026 09:12:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisGVE/PlotSwift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisGVE/PlotSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dae7cc2 docs: add limitations section to README, add video export helper
Cloned https://github.com/ChrisGVE/PlotSwift.git
Revision (git rev-parse @):
dae7cc2df4997f3c18713c8cd3ef55c4cd27ec8b
SUCCESS checkout https://github.com/ChrisGVE/PlotSwift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChrisGVE/PlotSwift.git
https://github.com/ChrisGVE/PlotSwift.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "PlotSwift",
  "name" : "PlotSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "PlotSwift",
      "targets" : [
        "PlotSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PlotSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "PlotSwiftTests",
      "path" : "Tests/PlotSwiftTests",
      "sources" : [
        "AnimationTests.swift",
        "AnnotationsTests.swift",
        "AxesTests.swift",
        "BarTests.swift",
        "ColorPaletteTests.swift",
        "ColorbarTests.swift",
        "CoordinateTransformTests.swift",
        "DataRangeTests.swift",
        "DrawingContextRenderTests.swift",
        "FigureTests.swift",
        "PlotStyleTests.swift",
        "PlotTypesTests.swift",
        "SeabornPlotsTests.swift",
        "StatisticalTests.swift",
        "TickGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "PlotSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PlotSwift",
      "module_type" : "SwiftTarget",
      "name" : "PlotSwift",
      "path" : "Sources/PlotSwift",
      "product_memberships" : [
        "PlotSwift"
      ],
      "sources" : [
        "Animation+Export.swift",
        "Animation.swift",
        "Annotations.swift",
        "ArraySwiftIntegration.swift",
        "Axes+Annotations.swift",
        "Axes+Bar.swift",
        "Axes+Benchmark.swift",
        "Axes+Decorations.swift",
        "Axes+Image.swift",
        "Axes+MorePlots.swift",
        "Axes+Render.swift",
        "Axes+SeabornPlots.swift",
        "Axes+Statistical.swift",
        "Axes.swift",
        "Color.swift",
        "ColorPalette.swift",
        "Colorbar.swift",
        "CoordinateTransform.swift",
        "DataRange.swift",
        "DrawingCommand.swift",
        "DrawingContext+Markers.swift",
        "DrawingContext+Render.swift",
        "DrawingContext+SVG.swift",
        "DrawingContext.swift",
        "Figure.swift",
        "LineStyle.swift",
        "MarkerStyle.swift",
        "NumericSwiftIntegration.swift",
        "PlotStyle.swift",
        "TextStyle.swift",
        "TickGenerator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/33] Emitting module PlotSwift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/PlotStyle.swift:89:21: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |
 88 |   /// The active style used by all new plots.
 89 |   public static var current = PlotStyle()
    |                     |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |
 91 |   /// The immutable factory-default style.
[6/36] Compiling PlotSwift PlotStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/PlotStyle.swift:89:21: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |
 88 |   /// The active style used by all new plots.
 89 |   public static var current = PlotStyle()
    |                     |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |
 91 |   /// The immutable factory-default style.
[7/36] Compiling PlotSwift TextStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/PlotStyle.swift:89:21: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |
 88 |   /// The active style used by all new plots.
 89 |   public static var current = PlotStyle()
    |                     |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |
 91 |   /// The immutable factory-default style.
[8/36] Compiling PlotSwift TickGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/PlotStyle.swift:89:21: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |
 88 |   /// The active style used by all new plots.
 89 |   public static var current = PlotStyle()
    |                     |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 90 |
 91 |   /// The immutable factory-default style.
[9/36] Compiling PlotSwift Axes+Annotations.swift
[10/36] Compiling PlotSwift Axes+Bar.swift
[11/36] Compiling PlotSwift Axes+Benchmark.swift
[12/36] Compiling PlotSwift LineStyle.swift
[13/36] Compiling PlotSwift MarkerStyle.swift
[14/36] Compiling PlotSwift NumericSwiftIntegration.swift
[15/36] Compiling PlotSwift Animation+Export.swift
[16/36] Compiling PlotSwift Animation.swift
[17/36] Compiling PlotSwift Annotations.swift
[18/36] Compiling PlotSwift ArraySwiftIntegration.swift
[19/36] Compiling PlotSwift Colorbar.swift
[20/36] Compiling PlotSwift CoordinateTransform.swift
[21/36] Compiling PlotSwift DataRange.swift
[22/36] Compiling PlotSwift Axes.swift
[23/36] Compiling PlotSwift Color.swift
[24/36] Compiling PlotSwift ColorPalette.swift
[25/36] Compiling PlotSwift Axes+Decorations.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Decorations.swift:67:17: error: cannot find 'polygonSeries' in scope
 65 |
 66 |   func renderPolygons(_ context: DrawingContext, transform: LinearTransform) {
 67 |     for poly in polygonSeries {
    |                 `- error: cannot find 'polygonSeries' in scope
 68 |       guard poly.xs.count >= 3, poly.xs.count == poly.ys.count else { continue }
 69 |       context.saveState()
[26/36] Compiling PlotSwift Axes+Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Decorations.swift:67:17: error: cannot find 'polygonSeries' in scope
 65 |
 66 |   func renderPolygons(_ context: DrawingContext, transform: LinearTransform) {
 67 |     for poly in polygonSeries {
    |                 `- error: cannot find 'polygonSeries' in scope
 68 |       guard poly.xs.count >= 3, poly.xs.count == poly.ys.count else { continue }
 69 |       context.saveState()
[27/36] Compiling PlotSwift Axes+MorePlots.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Decorations.swift:67:17: error: cannot find 'polygonSeries' in scope
 65 |
 66 |   func renderPolygons(_ context: DrawingContext, transform: LinearTransform) {
 67 |     for poly in polygonSeries {
    |                 `- error: cannot find 'polygonSeries' in scope
 68 |       guard poly.xs.count >= 3, poly.xs.count == poly.ys.count else { continue }
 69 |       context.saveState()
[28/36] Compiling PlotSwift Axes+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Statistical.swift:255:5: error: cannot find 'polygonSeries' in scope
253 |     let polyY = evalYs + evalYs.reversed()
254 |
255 |     polygonSeries.append(PolygonSeries(
    |     `- error: cannot find 'polygonSeries' in scope
256 |       xs: polyX, ys: polyY,
257 |       fillColor: color, alpha: 0.6,
[29/36] Compiling PlotSwift Axes+SeabornPlots.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Statistical.swift:255:5: error: cannot find 'polygonSeries' in scope
253 |     let polyY = evalYs + evalYs.reversed()
254 |
255 |     polygonSeries.append(PolygonSeries(
    |     `- error: cannot find 'polygonSeries' in scope
256 |       xs: polyX, ys: polyY,
257 |       fillColor: color, alpha: 0.6,
[30/36] Compiling PlotSwift Axes+Statistical.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Statistical.swift:255:5: error: cannot find 'polygonSeries' in scope
253 |     let polyY = evalYs + evalYs.reversed()
254 |
255 |     polygonSeries.append(PolygonSeries(
    |     `- error: cannot find 'polygonSeries' in scope
256 |       xs: polyX, ys: polyY,
257 |       fillColor: color, alpha: 0.6,
[31/36] Compiling PlotSwift DrawingContext+SVG.swift
[32/36] Compiling PlotSwift DrawingContext.swift
[33/36] Compiling PlotSwift Figure.swift
[34/36] Compiling PlotSwift DrawingCommand.swift
[35/36] Compiling PlotSwift DrawingContext+Markers.swift
[36/36] Compiling PlotSwift DrawingContext+Render.swift
Fetching https://github.com/apple/swift-docc-plugin
[1/2271] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (4.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.89s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.56s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/32] Emitting module PlotSwift
[5/35] Compiling PlotSwift LineStyle.swift
[6/35] Compiling PlotSwift MarkerStyle.swift
[7/35] Compiling PlotSwift NumericSwiftIntegration.swift
[8/35] Compiling PlotSwift Animation+Export.swift
[9/35] Compiling PlotSwift Animation.swift
[10/35] Compiling PlotSwift Annotations.swift
[11/35] Compiling PlotSwift ArraySwiftIntegration.swift
[12/35] Compiling PlotSwift Axes+Decorations.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Decorations.swift:67:17: error: cannot find 'polygonSeries' in scope
 65 |
 66 |   func renderPolygons(_ context: DrawingContext, transform: LinearTransform) {
 67 |     for poly in polygonSeries {
    |                 `- error: cannot find 'polygonSeries' in scope
 68 |       guard poly.xs.count >= 3, poly.xs.count == poly.ys.count else { continue }
 69 |       context.saveState()
[13/35] Compiling PlotSwift Axes+Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Decorations.swift:67:17: error: cannot find 'polygonSeries' in scope
 65 |
 66 |   func renderPolygons(_ context: DrawingContext, transform: LinearTransform) {
 67 |     for poly in polygonSeries {
    |                 `- error: cannot find 'polygonSeries' in scope
 68 |       guard poly.xs.count >= 3, poly.xs.count == poly.ys.count else { continue }
 69 |       context.saveState()
[14/35] Compiling PlotSwift Axes+MorePlots.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Decorations.swift:67:17: error: cannot find 'polygonSeries' in scope
 65 |
 66 |   func renderPolygons(_ context: DrawingContext, transform: LinearTransform) {
 67 |     for poly in polygonSeries {
    |                 `- error: cannot find 'polygonSeries' in scope
 68 |       guard poly.xs.count >= 3, poly.xs.count == poly.ys.count else { continue }
 69 |       context.saveState()
[15/35] Compiling PlotSwift Colorbar.swift
[16/35] Compiling PlotSwift CoordinateTransform.swift
[17/35] Compiling PlotSwift DataRange.swift
[18/35] Compiling PlotSwift PlotStyle.swift
[19/35] Compiling PlotSwift TextStyle.swift
[20/35] Compiling PlotSwift TickGenerator.swift
[21/35] Compiling PlotSwift Axes.swift
[22/35] Compiling PlotSwift Color.swift
[23/35] Compiling PlotSwift ColorPalette.swift
[24/35] Compiling PlotSwift Axes+Annotations.swift
[25/35] Compiling PlotSwift Axes+Bar.swift
[26/35] Compiling PlotSwift Axes+Benchmark.swift
[27/35] Compiling PlotSwift DrawingContext+SVG.swift
[28/35] Compiling PlotSwift DrawingContext.swift
[29/35] Compiling PlotSwift Figure.swift
[30/35] Compiling PlotSwift DrawingCommand.swift
[31/35] Compiling PlotSwift DrawingContext+Markers.swift
[32/35] Compiling PlotSwift DrawingContext+Render.swift
[33/35] Compiling PlotSwift Axes+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Statistical.swift:255:5: error: cannot find 'polygonSeries' in scope
253 |     let polyY = evalYs + evalYs.reversed()
254 |
255 |     polygonSeries.append(PolygonSeries(
    |     `- error: cannot find 'polygonSeries' in scope
256 |       xs: polyX, ys: polyY,
257 |       fillColor: color, alpha: 0.6,
[34/35] Compiling PlotSwift Axes+SeabornPlots.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Statistical.swift:255:5: error: cannot find 'polygonSeries' in scope
253 |     let polyY = evalYs + evalYs.reversed()
254 |
255 |     polygonSeries.append(PolygonSeries(
    |     `- error: cannot find 'polygonSeries' in scope
256 |       xs: polyX, ys: polyY,
257 |       fillColor: color, alpha: 0.6,
[35/35] Compiling PlotSwift Axes+Statistical.swift
/Users/admin/builder/spi-builder-workspace/Sources/PlotSwift/Axes+Statistical.swift:255:5: error: cannot find 'polygonSeries' in scope
253 |     let polyY = evalYs + evalYs.reversed()
254 |
255 |     polygonSeries.append(PolygonSeries(
    |     `- error: cannot find 'polygonSeries' in scope
256 |       xs: polyX, ys: polyY,
257 |       fillColor: color, alpha: 0.6,
BUILD FAILURE 6.1 macosSpm