The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HeatmapKit, reference main (deedcb), with Swift 6.1 for macOS (SPM) on 28 Jun 2026 23:32:21 UTC.

Swift 6 data race errors: 1

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jacklv-coder/HeatmapKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jacklv-coder/HeatmapKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at deedcb0 fix(fitToWidth): exact adaptive height via PreferenceKey
Cloned https://github.com/jacklv-coder/HeatmapKit.git
Revision (git rev-parse @):
deedcb05f20beb7c9705d015dbfed9146186e748
SUCCESS checkout https://github.com/jacklv-coder/HeatmapKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jacklv-coder/HeatmapKit.git
https://github.com/jacklv-coder/HeatmapKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HeatmapKit",
  "name" : "HeatmapKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "HeatmapKit",
      "targets" : [
        "HeatmapKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HeatmapKitTests",
      "module_type" : "SwiftTarget",
      "name" : "HeatmapKitTests",
      "path" : "Tests/HeatmapKitTests",
      "sources" : [
        "HeatmapKitTests.swift"
      ],
      "target_dependencies" : [
        "HeatmapKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HeatmapKit",
      "module_type" : "SwiftTarget",
      "name" : "HeatmapKit",
      "path" : "Sources/HeatmapKit",
      "product_memberships" : [
        "HeatmapKit"
      ],
      "sources" : [
        "Aggregation.swift",
        "CalendarHeatmap+Init.swift",
        "CalendarHeatmap+Modifiers.swift",
        "CalendarHeatmap+Snapshot.swift",
        "CalendarHeatmap.swift",
        "ColorPalette.swift",
        "Weekday.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling HeatmapKit CalendarHeatmap.swift
/Users/admin/builder/spi-builder-workspace/Sources/HeatmapKit/CalendarHeatmap.swift:551:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
549 |
550 | private struct _HeatmapHeightKey: PreferenceKey {
551 |     static var defaultValue: CGFloat = 0
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
552 |     static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
553 |         value = nextValue()
[4/10] Compiling HeatmapKit Weekday.swift
[5/10] Compiling HeatmapKit ColorPalette.swift
[6/10] Compiling HeatmapKit CalendarHeatmap+Snapshot.swift
[7/10] Compiling HeatmapKit CalendarHeatmap+Init.swift
[8/10] Compiling HeatmapKit Aggregation.swift
[9/10] Compiling HeatmapKit CalendarHeatmap+Modifiers.swift
[10/10] Emitting module HeatmapKit
/Users/admin/builder/spi-builder-workspace/Sources/HeatmapKit/CalendarHeatmap.swift:551:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
549 |
550 | private struct _HeatmapHeightKey: PreferenceKey {
551 |     static var defaultValue: CGFloat = 0
    |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
552 |     static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
553 |         value = nextValue()
Build complete! (8.89s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HeatmapKit",
  "name" : "HeatmapKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "HeatmapKit",
      "targets" : [
        "HeatmapKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HeatmapKitTests",
      "module_type" : "SwiftTarget",
      "name" : "HeatmapKitTests",
      "path" : "Tests/HeatmapKitTests",
      "sources" : [
        "HeatmapKitTests.swift"
      ],
      "target_dependencies" : [
        "HeatmapKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HeatmapKit",
      "module_type" : "SwiftTarget",
      "name" : "HeatmapKit",
      "path" : "Sources/HeatmapKit",
      "product_memberships" : [
        "HeatmapKit"
      ],
      "sources" : [
        "Aggregation.swift",
        "CalendarHeatmap+Init.swift",
        "CalendarHeatmap+Modifiers.swift",
        "CalendarHeatmap+Snapshot.swift",
        "CalendarHeatmap.swift",
        "ColorPalette.swift",
        "Weekday.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.