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

Successful build of Grid, reference master (623f99), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 09:53:32 UTC.

Swift 6 data race errors: 3

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/spacenation/swiftui-grid.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/spacenation/swiftui-grid
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 623f995 Add compatibility checks (#120)
Cloned https://github.com/spacenation/swiftui-grid.git
Revision (git rev-parse @):
623f995c6ee0e5a5ed0e104d142daeae67b0ec92
SUCCESS checkout https://github.com/spacenation/swiftui-grid.git at master
========================================
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": "swiftui-grid",
      "name": "Grid",
      "url": "https://github.com/spacenation/swiftui-grid.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-grid",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/spacenation/swiftui-grid.git
[1/1873] Fetching swiftui-grid
Fetched https://github.com/spacenation/swiftui-grid.git from cache (1.87s)
Creating working copy for https://github.com/spacenation/swiftui-grid.git
Working copy of https://github.com/spacenation/swiftui-grid.git resolved at master (623f995)
warning: '.resolve-product-dependencies': dependency 'swiftui-grid' 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/spacenation/swiftui-grid.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling Grid GridStyleKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridStyleKey.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any GridStyle' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | struct GridStyleKey: EnvironmentKey {
5 |     static let defaultValue: GridStyle = ModularGridStyle(columns: .min(100), rows: .fixed(100))
  |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any GridStyle' may have shared mutable state; this is an error in the Swift 6 language mode
  |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridStyle.swift:5:17: note: protocol 'GridStyle' does not conform to the 'Sendable' protocol
 3 | /// A specification for the appearance of a `Grid`.
 4 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
 5 | public protocol GridStyle {
   |                 `- note: protocol 'GridStyle' does not conform to the 'Sendable' protocol
 6 |     var axis: Axis { get }
 7 |     var autoWidth: Bool { get }
[4/18] Compiling Grid GridPreferencesKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridPreferencesKey.swift:5:23: 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
 3 |
 4 | public struct GridPreferencesKey: PreferenceKey {
 5 |     public static var defaultValue: GridPreferences = .init(items: [])
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public static func reduce(value: inout GridPreferences, nextValue: () -> GridPreferences) {
[5/18] Compiling Grid GridPreferencesModifier.swift
[6/18] Compiling Grid GridStyle.swift
[7/18] Compiling Grid GridItem.swift
[8/18] Compiling Grid LayoutMath.swift
[9/18] Compiling Grid GridItemBoundsPreferencesKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridItemBoundsPreferencesKey.swift:4:23: 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
 2 |
 3 | public struct GridItemBoundsPreferencesKey: PreferenceKey {
 4 |     public static var defaultValue: [CGRect] = []
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     public static func reduce(value: inout [CGRect], nextValue: () -> [CGRect]) {
[10/18] Compiling Grid GridPreferences.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridItemBoundsPreferencesKey.swift:4:23: 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
 2 |
 3 | public struct GridItemBoundsPreferencesKey: PreferenceKey {
 4 |     public static var defaultValue: [CGRect] = []
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     public static func reduce(value: inout [CGRect], nextValue: () -> [CGRect]) {
[11/18] Compiling Grid StaggeredGridStyle.swift
[12/18] Compiling Grid EnvironmentValues+GridStyle.swift
[13/18] Compiling Grid Grid+Inits.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:19:72: warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |                             height: self.style.autoHeight ? self.preferences[item.id]?.bounds.height : nil
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
   |                                                                        `- warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:19:112: warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |                             height: self.style.autoHeight ? self.preferences[item.id]?.bounds.height : nil
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
   |                                                                                                                `- warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
/Users/admin/builder/spi-builder-workspace/Sources/Grid/GridItem.swift:4:8: note: consider making struct 'GridItem' conform to the 'Sendable' protocol
2 |
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | struct GridItem: Identifiable {
  |        `- note: consider making struct 'GridItem' conform to the 'Sendable' protocol
5 |     let view: AnyView
6 |     let id: AnyHashable
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:19:100: warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 5 | public struct Grid<Content>: View where Content: View {
 6 |     @Environment(\.gridStyle) private var style
 7 |     @State var preferences: GridPreferences = GridPreferences(size: .zero, items: [])
   |                `- note: property declared here
 8 |     let items: [GridItem]
 9 |
   :
17 |                             height: self.style.autoHeight ? self.preferences[item.id]?.bounds.height : nil
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
   |                                                                                                    `- warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:20:68: warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
   |                                                                    `- warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
22 |                         .anchorPreference(key: GridItemBoundsPreferencesKey.self, value: .bounds) { [geometry[$0]] }
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:20:109: warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
   |                                                                                                             `- warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
22 |                         .anchorPreference(key: GridItemBoundsPreferencesKey.self, value: .bounds) { [geometry[$0]] }
/Users/admin/builder/spi-builder-workspace/Sources/Grid/GridItem.swift:4:8: note: consider making struct 'GridItem' conform to the 'Sendable' protocol
2 |
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | struct GridItem: Identifiable {
  |        `- note: consider making struct 'GridItem' conform to the 'Sendable' protocol
5 |     let view: AnyView
6 |     let id: AnyHashable
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:20:97: warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 5 | public struct Grid<Content>: View where Content: View {
 6 |     @Environment(\.gridStyle) private var style
 7 |     @State var preferences: GridPreferences = GridPreferences(size: .zero, items: [])
   |                `- note: property declared here
 8 |     let items: [GridItem]
 9 |
   :
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
   |                                                                                                 `- warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
22 |                         .anchorPreference(key: GridItemBoundsPreferencesKey.self, value: .bounds) { [geometry[$0]] }
[14/18] Compiling Grid Grid.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:19:72: warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |                             height: self.style.autoHeight ? self.preferences[item.id]?.bounds.height : nil
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
   |                                                                        `- warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:19:112: warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |                             height: self.style.autoHeight ? self.preferences[item.id]?.bounds.height : nil
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
   |                                                                                                                `- warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
/Users/admin/builder/spi-builder-workspace/Sources/Grid/GridItem.swift:4:8: note: consider making struct 'GridItem' conform to the 'Sendable' protocol
2 |
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | struct GridItem: Identifiable {
  |        `- note: consider making struct 'GridItem' conform to the 'Sendable' protocol
5 |     let view: AnyView
6 |     let id: AnyHashable
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:19:100: warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 5 | public struct Grid<Content>: View where Content: View {
 6 |     @Environment(\.gridStyle) private var style
 7 |     @State var preferences: GridPreferences = GridPreferences(size: .zero, items: [])
   |                `- note: property declared here
 8 |     let items: [GridItem]
 9 |
   :
17 |                             height: self.style.autoHeight ? self.preferences[item.id]?.bounds.height : nil
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
   |                                                                                                    `- warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:20:68: warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
   |                                                                    `- warning: capture of 'geometry' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
22 |                         .anchorPreference(key: GridItemBoundsPreferencesKey.self, value: .bounds) { [geometry[$0]] }
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:20:109: warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
   |                                                                                                             `- warning: capture of 'item' with non-sendable type 'GridItem' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
22 |                         .anchorPreference(key: GridItemBoundsPreferencesKey.self, value: .bounds) { [geometry[$0]] }
/Users/admin/builder/spi-builder-workspace/Sources/Grid/GridItem.swift:4:8: note: consider making struct 'GridItem' conform to the 'Sendable' protocol
2 |
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | struct GridItem: Identifiable {
  |        `- note: consider making struct 'GridItem' conform to the 'Sendable' protocol
5 |     let view: AnyView
6 |     let id: AnyHashable
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Grid.swift:20:97: warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 5 | public struct Grid<Content>: View where Content: View {
 6 |     @Environment(\.gridStyle) private var style
 7 |     @State var preferences: GridPreferences = GridPreferences(size: .zero, items: [])
   |                `- note: property declared here
 8 |     let items: [GridItem]
 9 |
   :
18 |                         )
19 |                         .alignmentGuide(.leading, computeValue: { _ in geometry.size.width - (self.preferences[item.id]?.bounds.origin.x ?? 0) })
20 |                         .alignmentGuide(.top, computeValue: { _ in geometry.size.height - (self.preferences[item.id]?.bounds.origin.y ?? 0) })
   |                                                                                                 `- warning: main actor-isolated property 'preferences' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
21 |                         .background(GridPreferencesModifier(id: item.id, bounds: self.preferences[item.id]?.bounds ?? .zero))
22 |                         .anchorPreference(key: GridItemBoundsPreferencesKey.self, value: .bounds) { [geometry[$0]] }
[15/18] Emitting module Grid
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridItemBoundsPreferencesKey.swift:4:23: 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
 2 |
 3 | public struct GridItemBoundsPreferencesKey: PreferenceKey {
 4 |     public static var defaultValue: [CGRect] = []
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |
 6 |     public static func reduce(value: inout [CGRect], nextValue: () -> [CGRect]) {
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridPreferencesKey.swift:5:23: 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
 3 |
 4 | public struct GridPreferencesKey: PreferenceKey {
 5 |     public static var defaultValue: GridPreferences = .init(items: [])
   |                       |- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |
 7 |     public static func reduce(value: inout GridPreferences, nextValue: () -> GridPreferences) {
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridStyleKey.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any GridStyle' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | struct GridStyleKey: EnvironmentKey {
5 |     static let defaultValue: GridStyle = ModularGridStyle(columns: .min(100), rows: .fixed(100))
  |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any GridStyle' may have shared mutable state; this is an error in the Swift 6 language mode
  |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Grid/Styles/Style/GridStyle.swift:5:17: note: protocol 'GridStyle' does not conform to the 'Sendable' protocol
 3 | /// A specification for the appearance of a `Grid`.
 4 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
 5 | public protocol GridStyle {
   |                 `- note: protocol 'GridStyle' does not conform to the 'Sendable' protocol
 6 |     var axis: Axis { get }
 7 |     var autoWidth: Bool { get }
[16/18] Compiling Grid Tracks.swift
[17/18] Compiling Grid ModularGridStyle.swift
[18/18] Compiling Grid View+GridStyle.swift
Build complete! (22.83s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Grid/Demo': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/GridTests/Demo': File not found.
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Grid",
  "name" : "Grid",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Grid",
      "targets" : [
        "Grid"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GridTests",
      "module_type" : "SwiftTarget",
      "name" : "GridTests",
      "path" : "Tests/GridTests",
      "sources" : [
        "GridPreferencesTests.swift",
        "GridTests.swift",
        "ModularGridStyleTests.swift",
        "StaggeredGridStyleTests.swift"
      ],
      "target_dependencies" : [
        "Grid"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Grid",
      "module_type" : "SwiftTarget",
      "name" : "Grid",
      "path" : "Sources/Grid",
      "product_memberships" : [
        "Grid"
      ],
      "sources" : [
        "Grid+Inits.swift",
        "Grid.swift",
        "GridItem.swift",
        "Styles/Layout/LayoutMath.swift",
        "Styles/Layout/Tracks.swift",
        "Styles/ModularGridStyle.swift",
        "Styles/StaggeredGridStyle.swift",
        "Styles/Style/EnvironmentValues+GridStyle.swift",
        "Styles/Style/GridItemBoundsPreferencesKey.swift",
        "Styles/Style/GridPreferences.swift",
        "Styles/Style/GridPreferencesKey.swift",
        "Styles/Style/GridPreferencesModifier.swift",
        "Styles/Style/GridStyle.swift",
        "Styles/Style/GridStyleKey.swift",
        "Styles/Style/View+GridStyle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Sources/Grid/Demo': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/GridTests/Demo': File not found.
Done.