Build Information
Successful build of ExyteGrid, reference 1.5.0 (653295
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 11:41:46 UTC.
Swift 6 data race errors: 24
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
100 | var views: [GridElement] = []
101 | views.append(contentsOf: c0.extractContentViews())
:
107 | views.append(contentsOf: c6.extractContentViews())
108 | views.append(contentsOf: c7.extractContentViews())
109 | views.append(contentsOf: c8.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | return GridBuilderResult(contentViews: views)
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:110:12: warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | import SwiftUI
11 |
12 | public struct GridBuilderResult: View {
| `- note: calls to initializer 'init(body:contentViews:)' from outside of its actor context are implicitly asynchronous
13 | public var body = EmptyView()
14 | var contentViews: [GridElement]
:
97 | }
98 |
99 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
100 | var views: [GridElement] = []
101 | views.append(contentsOf: c0.extractContentViews())
:
108 | views.append(contentsOf: c7.extractContentViews())
109 | views.append(contentsOf: c8.extractContentViews())
110 | return GridBuilderResult(contentViews: views)
| `- warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:115:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | views.append(contentsOf: c1.extractContentViews())
117 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:116:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
116 | views.append(contentsOf: c1.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | views.append(contentsOf: c2.extractContentViews())
118 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:117:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
116 | views.append(contentsOf: c1.extractContentViews())
117 | views.append(contentsOf: c2.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | views.append(contentsOf: c3.extractContentViews())
119 | views.append(contentsOf: c4.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:118:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
116 | views.append(contentsOf: c1.extractContentViews())
117 | views.append(contentsOf: c2.extractContentViews())
118 | views.append(contentsOf: c3.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 | views.append(contentsOf: c4.extractContentViews())
120 | views.append(contentsOf: c5.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:119:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
:
117 | views.append(contentsOf: c2.extractContentViews())
118 | views.append(contentsOf: c3.extractContentViews())
119 | views.append(contentsOf: c4.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
120 | views.append(contentsOf: c5.extractContentViews())
121 | views.append(contentsOf: c6.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:120:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
:
118 | views.append(contentsOf: c3.extractContentViews())
119 | views.append(contentsOf: c4.extractContentViews())
120 | views.append(contentsOf: c5.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 | views.append(contentsOf: c6.extractContentViews())
122 | views.append(contentsOf: c7.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:121:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
:
119 | views.append(contentsOf: c4.extractContentViews())
120 | views.append(contentsOf: c5.extractContentViews())
121 | views.append(contentsOf: c6.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 | views.append(contentsOf: c7.extractContentViews())
123 | views.append(contentsOf: c8.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:122:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
:
120 | views.append(contentsOf: c5.extractContentViews())
121 | views.append(contentsOf: c6.extractContentViews())
122 | views.append(contentsOf: c7.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
123 | views.append(contentsOf: c8.extractContentViews())
124 | views.append(contentsOf: c9.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:123:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
:
121 | views.append(contentsOf: c6.extractContentViews())
122 | views.append(contentsOf: c7.extractContentViews())
123 | views.append(contentsOf: c8.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
124 | views.append(contentsOf: c9.extractContentViews())
125 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:124:33: warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
:
122 | views.append(contentsOf: c7.extractContentViews())
123 | views.append(contentsOf: c8.extractContentViews())
124 | views.append(contentsOf: c9.extractContentViews())
| `- warning: call to main actor-isolated instance method 'extractContentViews()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 | return GridBuilderResult(contentViews: views)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridElement+asGridElements.swift:33:8: note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
31 |
32 | extension View {
33 | func extractContentViews() -> [GridElement] {
| `- note: calls to instance method 'extractContentViews()' from outside of its actor context are implicitly asynchronous
34 | if let container = self as? GridForEachRangeInt {
35 | return container.contentViews
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:125:12: warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | import SwiftUI
11 |
12 | public struct GridBuilderResult: View {
| `- note: calls to initializer 'init(body:contentViews:)' from outside of its actor context are implicitly asynchronous
13 | public var body = EmptyView()
14 | var contentViews: [GridElement]
:
111 | }
112 |
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
| `- note: add '@MainActor' to make static method 'buildBlock' part of global actor 'MainActor'
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
:
123 | views.append(contentsOf: c8.extractContentViews())
124 | views.append(contentsOf: c9.extractContentViews())
125 | return GridBuilderResult(contentViews: views)
| `- warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:133:16: warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | import SwiftUI
11 |
12 | public struct GridBuilderResult: View {
| `- note: calls to initializer 'init(body:contentViews:)' from outside of its actor context are implicitly asynchronous
13 | public var body = EmptyView()
14 | var contentViews: [GridElement]
:
131 |
132 | public static func buildIf(_ content: GridBuilderResult?) -> GridBuilderResult {
133 | content ?? GridBuilderResult(contentViews: [])
| `- warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
134 | }
135 |
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:137:18: warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | import SwiftUI
11 |
12 | public struct GridBuilderResult: View {
| `- note: calls to initializer 'init(body:contentViews:)' from outside of its actor context are implicitly asynchronous
13 | public var body = EmptyView()
14 | var contentViews: [GridElement]
:
135 |
136 | public static func buildOptional(_ component: GridBuilderResult?) -> GridBuilderResult {
137 | component ?? GridBuilderResult(contentViews: [])
| `- warning: call to main actor-isolated initializer 'init(body:contentViews:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/ForEach+GridViewsContaining.swift:23:19: warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
21 | self.data.enumerated().flatMap { (_, dataElement: Data.Element) -> [GridElement] in
22 | let view = self.content(dataElement)
23 | return view.extractContentViews().enumerated().map {
| |- warning: sending 'view' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'view' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
24 | var identifiedView = $0.element
25 | if let identifiedHash = identifiedView.id {
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/ForEach+GridViewsContaining.swift:45:24: warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
43 | var contentViews: [GridElement] {
44 | self.data.flatMap {
45 | self.content($0).extractContentViews()
| `- warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:25:38: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
23 | public static func buildBlock<C0: View>(_ content: C0) -> GridBuilderResult {
24 | var views: [GridElement] = []
25 | views.append(contentsOf: content.extractContentViews())
| |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
26 | return GridBuilderResult(contentViews: views)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:31:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
29 | public static func buildBlock<C0, C1>(_ c0: C0, _ c1: C1) -> GridBuilderResult where C0: View, C1: View {
30 | var views: [GridElement] = []
31 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
32 | views.append(contentsOf: c1.extractContentViews())
33 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:32:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
30 | var views: [GridElement] = []
31 | views.append(contentsOf: c0.extractContentViews())
32 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | return GridBuilderResult(contentViews: views)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:38:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
36 | public static func buildBlock<C0, C1, C2>(_ c0: C0, _ c1: C1, _ c2: C2) -> GridBuilderResult where C0: View, C1: View, C2: View {
37 | var views: [GridElement] = []
38 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
39 | views.append(contentsOf: c1.extractContentViews())
40 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:39:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
37 | var views: [GridElement] = []
38 | views.append(contentsOf: c0.extractContentViews())
39 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
40 | views.append(contentsOf: c2.extractContentViews())
41 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:40:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
38 | views.append(contentsOf: c0.extractContentViews())
39 | views.append(contentsOf: c1.extractContentViews())
40 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
41 | return GridBuilderResult(contentViews: views)
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:46:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
44 | public static func buildBlock<C0, C1, C2, C3>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View {
45 | var views: [GridElement] = []
46 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
47 | views.append(contentsOf: c1.extractContentViews())
48 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:47:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
45 | var views: [GridElement] = []
46 | views.append(contentsOf: c0.extractContentViews())
47 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
48 | views.append(contentsOf: c2.extractContentViews())
49 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:48:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
46 | views.append(contentsOf: c0.extractContentViews())
47 | views.append(contentsOf: c1.extractContentViews())
48 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
49 | views.append(contentsOf: c3.extractContentViews())
50 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:49:33: warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
47 | views.append(contentsOf: c1.extractContentViews())
48 | views.append(contentsOf: c2.extractContentViews())
49 | views.append(contentsOf: c3.extractContentViews())
| |- warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c3' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | return GridBuilderResult(contentViews: views)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:55:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
53 | public static func buildBlock<C0, C1, C2, C3, C4>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View {
54 | var views: [GridElement] = []
55 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
56 | views.append(contentsOf: c1.extractContentViews())
57 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:56:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
54 | var views: [GridElement] = []
55 | views.append(contentsOf: c0.extractContentViews())
56 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | views.append(contentsOf: c2.extractContentViews())
58 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:57:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
55 | views.append(contentsOf: c0.extractContentViews())
56 | views.append(contentsOf: c1.extractContentViews())
57 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | views.append(contentsOf: c3.extractContentViews())
59 | views.append(contentsOf: c4.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:58:33: warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
56 | views.append(contentsOf: c1.extractContentViews())
57 | views.append(contentsOf: c2.extractContentViews())
58 | views.append(contentsOf: c3.extractContentViews())
| |- warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c3' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
59 | views.append(contentsOf: c4.extractContentViews())
60 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:59:33: warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
57 | views.append(contentsOf: c2.extractContentViews())
58 | views.append(contentsOf: c3.extractContentViews())
59 | views.append(contentsOf: c4.extractContentViews())
| |- warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c4' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
60 | return GridBuilderResult(contentViews: views)
61 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:65:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
63 | public static func buildBlock<C0, C1, C2, C3, C4, C5>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View {
64 | var views: [GridElement] = []
65 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
66 | views.append(contentsOf: c1.extractContentViews())
67 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:66:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
64 | var views: [GridElement] = []
65 | views.append(contentsOf: c0.extractContentViews())
66 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
67 | views.append(contentsOf: c2.extractContentViews())
68 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:67:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
65 | views.append(contentsOf: c0.extractContentViews())
66 | views.append(contentsOf: c1.extractContentViews())
67 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | views.append(contentsOf: c3.extractContentViews())
69 | views.append(contentsOf: c4.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:68:33: warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
66 | views.append(contentsOf: c1.extractContentViews())
67 | views.append(contentsOf: c2.extractContentViews())
68 | views.append(contentsOf: c3.extractContentViews())
| |- warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c3' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | views.append(contentsOf: c4.extractContentViews())
70 | views.append(contentsOf: c5.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:69:33: warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
67 | views.append(contentsOf: c2.extractContentViews())
68 | views.append(contentsOf: c3.extractContentViews())
69 | views.append(contentsOf: c4.extractContentViews())
| |- warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c4' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
70 | views.append(contentsOf: c5.extractContentViews())
71 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:70:33: warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
68 | views.append(contentsOf: c3.extractContentViews())
69 | views.append(contentsOf: c4.extractContentViews())
70 | views.append(contentsOf: c5.extractContentViews())
| |- warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c5' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
71 | return GridBuilderResult(contentViews: views)
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:76:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
74 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View {
75 | var views: [GridElement] = []
76 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
77 | views.append(contentsOf: c1.extractContentViews())
78 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:77:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
75 | var views: [GridElement] = []
76 | views.append(contentsOf: c0.extractContentViews())
77 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
78 | views.append(contentsOf: c2.extractContentViews())
79 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:78:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
76 | views.append(contentsOf: c0.extractContentViews())
77 | views.append(contentsOf: c1.extractContentViews())
78 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
79 | views.append(contentsOf: c3.extractContentViews())
80 | views.append(contentsOf: c4.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:79:33: warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
77 | views.append(contentsOf: c1.extractContentViews())
78 | views.append(contentsOf: c2.extractContentViews())
79 | views.append(contentsOf: c3.extractContentViews())
| |- warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c3' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
80 | views.append(contentsOf: c4.extractContentViews())
81 | views.append(contentsOf: c5.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:80:33: warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
78 | views.append(contentsOf: c2.extractContentViews())
79 | views.append(contentsOf: c3.extractContentViews())
80 | views.append(contentsOf: c4.extractContentViews())
| |- warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c4' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
81 | views.append(contentsOf: c5.extractContentViews())
82 | views.append(contentsOf: c6.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:81:33: warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
79 | views.append(contentsOf: c3.extractContentViews())
80 | views.append(contentsOf: c4.extractContentViews())
81 | views.append(contentsOf: c5.extractContentViews())
| |- warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c5' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
82 | views.append(contentsOf: c6.extractContentViews())
83 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:82:33: warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
80 | views.append(contentsOf: c4.extractContentViews())
81 | views.append(contentsOf: c5.extractContentViews())
82 | views.append(contentsOf: c6.extractContentViews())
| |- warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c6' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
83 | return GridBuilderResult(contentViews: views)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:88:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
86 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View {
87 | var views: [GridElement] = []
88 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
89 | views.append(contentsOf: c1.extractContentViews())
90 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:89:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
87 | var views: [GridElement] = []
88 | views.append(contentsOf: c0.extractContentViews())
89 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
90 | views.append(contentsOf: c2.extractContentViews())
91 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:90:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
88 | views.append(contentsOf: c0.extractContentViews())
89 | views.append(contentsOf: c1.extractContentViews())
90 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
91 | views.append(contentsOf: c3.extractContentViews())
92 | views.append(contentsOf: c4.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:91:33: warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
89 | views.append(contentsOf: c1.extractContentViews())
90 | views.append(contentsOf: c2.extractContentViews())
91 | views.append(contentsOf: c3.extractContentViews())
| |- warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c3' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
92 | views.append(contentsOf: c4.extractContentViews())
93 | views.append(contentsOf: c5.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:92:33: warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
90 | views.append(contentsOf: c2.extractContentViews())
91 | views.append(contentsOf: c3.extractContentViews())
92 | views.append(contentsOf: c4.extractContentViews())
| |- warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c4' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
93 | views.append(contentsOf: c5.extractContentViews())
94 | views.append(contentsOf: c6.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:93:33: warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
91 | views.append(contentsOf: c3.extractContentViews())
92 | views.append(contentsOf: c4.extractContentViews())
93 | views.append(contentsOf: c5.extractContentViews())
| |- warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c5' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
94 | views.append(contentsOf: c6.extractContentViews())
95 | views.append(contentsOf: c7.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:94:33: warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
92 | views.append(contentsOf: c4.extractContentViews())
93 | views.append(contentsOf: c5.extractContentViews())
94 | views.append(contentsOf: c6.extractContentViews())
| |- warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c6' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
95 | views.append(contentsOf: c7.extractContentViews())
96 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:95:33: warning: sending 'c7' risks causing data races; this is an error in the Swift 6 language mode
93 | views.append(contentsOf: c5.extractContentViews())
94 | views.append(contentsOf: c6.extractContentViews())
95 | views.append(contentsOf: c7.extractContentViews())
| |- warning: sending 'c7' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c7' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
96 | return GridBuilderResult(contentViews: views)
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:101:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
99 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View {
100 | var views: [GridElement] = []
101 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
102 | views.append(contentsOf: c1.extractContentViews())
103 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:102:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
100 | var views: [GridElement] = []
101 | views.append(contentsOf: c0.extractContentViews())
102 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
103 | views.append(contentsOf: c2.extractContentViews())
104 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:103:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
101 | views.append(contentsOf: c0.extractContentViews())
102 | views.append(contentsOf: c1.extractContentViews())
103 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
104 | views.append(contentsOf: c3.extractContentViews())
105 | views.append(contentsOf: c4.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:104:33: warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
102 | views.append(contentsOf: c1.extractContentViews())
103 | views.append(contentsOf: c2.extractContentViews())
104 | views.append(contentsOf: c3.extractContentViews())
| |- warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c3' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
105 | views.append(contentsOf: c4.extractContentViews())
106 | views.append(contentsOf: c5.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:105:33: warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
103 | views.append(contentsOf: c2.extractContentViews())
104 | views.append(contentsOf: c3.extractContentViews())
105 | views.append(contentsOf: c4.extractContentViews())
| |- warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c4' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
106 | views.append(contentsOf: c5.extractContentViews())
107 | views.append(contentsOf: c6.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:106:33: warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
104 | views.append(contentsOf: c3.extractContentViews())
105 | views.append(contentsOf: c4.extractContentViews())
106 | views.append(contentsOf: c5.extractContentViews())
| |- warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c5' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
107 | views.append(contentsOf: c6.extractContentViews())
108 | views.append(contentsOf: c7.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:107:33: warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
105 | views.append(contentsOf: c4.extractContentViews())
106 | views.append(contentsOf: c5.extractContentViews())
107 | views.append(contentsOf: c6.extractContentViews())
| |- warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c6' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
108 | views.append(contentsOf: c7.extractContentViews())
109 | views.append(contentsOf: c8.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:108:33: warning: sending 'c7' risks causing data races; this is an error in the Swift 6 language mode
106 | views.append(contentsOf: c5.extractContentViews())
107 | views.append(contentsOf: c6.extractContentViews())
108 | views.append(contentsOf: c7.extractContentViews())
| |- warning: sending 'c7' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c7' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
109 | views.append(contentsOf: c8.extractContentViews())
110 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:109:33: warning: sending 'c8' risks causing data races; this is an error in the Swift 6 language mode
107 | views.append(contentsOf: c6.extractContentViews())
108 | views.append(contentsOf: c7.extractContentViews())
109 | views.append(contentsOf: c8.extractContentViews())
| |- warning: sending 'c8' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c8' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
110 | return GridBuilderResult(contentViews: views)
111 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:115:33: warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
113 | public static func buildBlock<C0, C1, C2, C3, C4, C5, C6, C7, C8, C9>(_ c0: C0, _ c1: C1, _ c2: C2, _ c3: C3, _ c4: C4, _ c5: C5, _ c6: C6, _ c7: C7, _ c8: C8, _ c9: C9) -> GridBuilderResult where C0: View, C1: View, C2: View, C3: View, C4: View, C5: View, C6: View, C7: View, C8: View, C9: View {
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
| |- warning: sending 'c0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c0' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
116 | views.append(contentsOf: c1.extractContentViews())
117 | views.append(contentsOf: c2.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:116:33: warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
114 | var views: [GridElement] = []
115 | views.append(contentsOf: c0.extractContentViews())
116 | views.append(contentsOf: c1.extractContentViews())
| |- warning: sending 'c1' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c1' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
117 | views.append(contentsOf: c2.extractContentViews())
118 | views.append(contentsOf: c3.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:117:33: warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
115 | views.append(contentsOf: c0.extractContentViews())
116 | views.append(contentsOf: c1.extractContentViews())
117 | views.append(contentsOf: c2.extractContentViews())
| |- warning: sending 'c2' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c2' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | views.append(contentsOf: c3.extractContentViews())
119 | views.append(contentsOf: c4.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:118:33: warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
116 | views.append(contentsOf: c1.extractContentViews())
117 | views.append(contentsOf: c2.extractContentViews())
118 | views.append(contentsOf: c3.extractContentViews())
| |- warning: sending 'c3' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c3' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
119 | views.append(contentsOf: c4.extractContentViews())
120 | views.append(contentsOf: c5.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:119:33: warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
117 | views.append(contentsOf: c2.extractContentViews())
118 | views.append(contentsOf: c3.extractContentViews())
119 | views.append(contentsOf: c4.extractContentViews())
| |- warning: sending 'c4' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c4' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
120 | views.append(contentsOf: c5.extractContentViews())
121 | views.append(contentsOf: c6.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:120:33: warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
118 | views.append(contentsOf: c3.extractContentViews())
119 | views.append(contentsOf: c4.extractContentViews())
120 | views.append(contentsOf: c5.extractContentViews())
| |- warning: sending 'c5' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c5' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
121 | views.append(contentsOf: c6.extractContentViews())
122 | views.append(contentsOf: c7.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:121:33: warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
119 | views.append(contentsOf: c4.extractContentViews())
120 | views.append(contentsOf: c5.extractContentViews())
121 | views.append(contentsOf: c6.extractContentViews())
| |- warning: sending 'c6' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c6' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
122 | views.append(contentsOf: c7.extractContentViews())
123 | views.append(contentsOf: c8.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:122:33: warning: sending 'c7' risks causing data races; this is an error in the Swift 6 language mode
120 | views.append(contentsOf: c5.extractContentViews())
121 | views.append(contentsOf: c6.extractContentViews())
122 | views.append(contentsOf: c7.extractContentViews())
| |- warning: sending 'c7' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c7' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
123 | views.append(contentsOf: c8.extractContentViews())
124 | views.append(contentsOf: c9.extractContentViews())
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:123:33: warning: sending 'c8' risks causing data races; this is an error in the Swift 6 language mode
121 | views.append(contentsOf: c6.extractContentViews())
122 | views.append(contentsOf: c7.extractContentViews())
123 | views.append(contentsOf: c8.extractContentViews())
| |- warning: sending 'c8' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c8' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
124 | views.append(contentsOf: c9.extractContentViews())
125 | return GridBuilderResult(contentViews: views)
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridBuilder.swift:124:33: warning: sending 'c9' risks causing data races; this is an error in the Swift 6 language mode
122 | views.append(contentsOf: c7.extractContentViews())
123 | views.append(contentsOf: c8.extractContentViews())
124 | views.append(contentsOf: c9.extractContentViews())
| |- warning: sending 'c9' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'c9' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
125 | return GridBuilderResult(contentViews: views)
126 | }
[19/41] Compiling ExyteGrid CGSize+Hashable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/CGSize+Hashable.swift:11:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
9 | import CoreGraphics
10 |
11 | extension CGSize: Hashable {
| |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public func hash(into hasher: inout Hasher) {
13 | hasher.combine(width)
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
[20/41] Compiling ExyteGrid LayoutArrangement+description.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/CGSize+Hashable.swift:11:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
9 | import CoreGraphics
10 |
11 | extension CGSize: Hashable {
| |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public func hash(into hasher: inout Hasher) {
13 | hasher.combine(width)
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
[21/41] Compiling ExyteGrid View+If.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/CGSize+Hashable.swift:11:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
9 | import CoreGraphics
10 |
11 | extension CGSize: Hashable {
| |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public func hash(into hasher: inout Hasher) {
13 | hasher.combine(width)
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
[22/41] Compiling ExyteGrid LayoutArranging.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/CGSize+Hashable.swift:11:1: warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
9 | import CoreGraphics
10 |
11 | extension CGSize: Hashable {
| |- warning: extension declares a conformance of imported type 'CGSize' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'CoreFoundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 | public func hash(into hasher: inout Hasher) {
13 | hasher.combine(width)
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
[23/41] Compiling ExyteGrid GridOverlayPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridOverlayPreference.swift:18:14: 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
16 | typealias Value = GridOverlayPreference
17 |
18 | static var defaultValue = GridOverlayPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridOverlayPreference, nextValue: () -> GridOverlayPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:17:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct GridPreference: Equatable {
11 | struct ItemInfo: Equatable {
| `- note: consider making struct 'ItemInfo' conform to the 'Sendable' protocol
12 | var positionedItem: PositionedItem?
13 | var span: GridSpan?
:
15 | var alignment: GridAlignment?
16 |
17 | static let empty = ItemInfo()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:31:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct GridPreference: Equatable {
| `- note: consider making struct 'GridPreference' conform to the 'Sendable' protocol
11 | struct ItemInfo: Equatable {
12 | var positionedItem: PositionedItem?
:
29 | var environment: Environment?
30 |
31 | static let `default` = GridPreference(itemsInfo: [])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:35:14: 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
33 |
34 | struct GridPreferenceKey: PreferenceKey {
35 | static var defaultValue = GridPreference.default
| |- 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
36 |
37 | static func reduce(value: inout GridPreference, nextValue: () -> GridPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:19:21: warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
| |- warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFlow' 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
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridFlow.swift:11:13: note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
9 | import CoreGraphics
10 |
11 | public enum GridFlow {
| `- note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
12 | case rows
13 | case columns
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:20:21: warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
| |- warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPacking' 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
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridPacking.swift:11:13: note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridPacking {
| `- note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
12 | case sparse
13 | case dense
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:18:21: warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let defaultSpacing: GridSpacing = 5.0
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
| |- warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentMode' 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
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridContentMode.swift:12:13: note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
10 |
11 | /// Grid behaviour inside its parent
12 | public enum GridContentMode {
| `- note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
13 | /// Scrolls inside parent container
14 | case scroll
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:21:21: warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
| |- warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCacheMode' 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
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Cache/GridCacheMode.swift:11:13: note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridCacheMode {
| `- note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
12 | case inMemoryCache
13 | case noCache
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:22:21: warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
| |- warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCommonItemsAlignment' 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
23 | public static let defaultContentAlignment: GridAlignment = .center
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:23:21: warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
| |- warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentAlignment' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:84: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:65: warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
:
210 | }
211 |
212 | private func leadingGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'leadingGuide(item:)' from outside of its actor context are implicitly asynchronous
213 | -(self.positions[item]?.bounds.origin.x ?? CGFloat(-self.spacing.horizontal) / 2.0)
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:76: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:61: warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
:
214 | }
215 |
216 | private func topGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'topGuide(item:)' from outside of its actor context are implicitly asynchronous
217 | -(self.positions[item]?.bounds.origin.y ?? CGFloat(-self.spacing.vertical) / 2.0)
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/GridGroup.swift:15:7: warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | public struct GridGroup: View, GridGroupContaining {
| `- note: add '@preconcurrency' to the 'GridGroupContaining' conformance to defer isolation checking to run time
12 |
13 | public static var empty = GridGroup(contentViews: [])
14 |
15 | var contentViews: [GridElement]
| `- warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | public var body = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridContentViewsProtocols.swift:24:7: note: 'contentViews' declared here
22 |
23 | protocol GridGroupContaining {
24 | var contentViews: [GridElement] { get }
| `- note: 'contentViews' declared here
25 | }
26 |
[24/41] Compiling ExyteGrid GridPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridOverlayPreference.swift:18:14: 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
16 | typealias Value = GridOverlayPreference
17 |
18 | static var defaultValue = GridOverlayPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridOverlayPreference, nextValue: () -> GridOverlayPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:17:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct GridPreference: Equatable {
11 | struct ItemInfo: Equatable {
| `- note: consider making struct 'ItemInfo' conform to the 'Sendable' protocol
12 | var positionedItem: PositionedItem?
13 | var span: GridSpan?
:
15 | var alignment: GridAlignment?
16 |
17 | static let empty = ItemInfo()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:31:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct GridPreference: Equatable {
| `- note: consider making struct 'GridPreference' conform to the 'Sendable' protocol
11 | struct ItemInfo: Equatable {
12 | var positionedItem: PositionedItem?
:
29 | var environment: Environment?
30 |
31 | static let `default` = GridPreference(itemsInfo: [])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:35:14: 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
33 |
34 | struct GridPreferenceKey: PreferenceKey {
35 | static var defaultValue = GridPreference.default
| |- 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
36 |
37 | static func reduce(value: inout GridPreference, nextValue: () -> GridPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:19:21: warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
| |- warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFlow' 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
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridFlow.swift:11:13: note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
9 | import CoreGraphics
10 |
11 | public enum GridFlow {
| `- note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
12 | case rows
13 | case columns
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:20:21: warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
| |- warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPacking' 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
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridPacking.swift:11:13: note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridPacking {
| `- note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
12 | case sparse
13 | case dense
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:18:21: warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let defaultSpacing: GridSpacing = 5.0
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
| |- warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentMode' 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
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridContentMode.swift:12:13: note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
10 |
11 | /// Grid behaviour inside its parent
12 | public enum GridContentMode {
| `- note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
13 | /// Scrolls inside parent container
14 | case scroll
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:21:21: warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
| |- warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCacheMode' 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
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Cache/GridCacheMode.swift:11:13: note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridCacheMode {
| `- note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
12 | case inMemoryCache
13 | case noCache
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:22:21: warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
| |- warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCommonItemsAlignment' 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
23 | public static let defaultContentAlignment: GridAlignment = .center
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:23:21: warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
| |- warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentAlignment' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:84: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:65: warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
:
210 | }
211 |
212 | private func leadingGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'leadingGuide(item:)' from outside of its actor context are implicitly asynchronous
213 | -(self.positions[item]?.bounds.origin.x ?? CGFloat(-self.spacing.horizontal) / 2.0)
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:76: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:61: warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
:
214 | }
215 |
216 | private func topGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'topGuide(item:)' from outside of its actor context are implicitly asynchronous
217 | -(self.positions[item]?.bounds.origin.y ?? CGFloat(-self.spacing.vertical) / 2.0)
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/GridGroup.swift:15:7: warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | public struct GridGroup: View, GridGroupContaining {
| `- note: add '@preconcurrency' to the 'GridGroupContaining' conformance to defer isolation checking to run time
12 |
13 | public static var empty = GridGroup(contentViews: [])
14 |
15 | var contentViews: [GridElement]
| `- warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | public var body = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridContentViewsProtocols.swift:24:7: note: 'contentViews' declared here
22 |
23 | protocol GridGroupContaining {
24 | var contentViews: [GridElement] { get }
| `- note: 'contentViews' declared here
25 | }
26 |
[25/41] Compiling ExyteGrid Grid.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridOverlayPreference.swift:18:14: 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
16 | typealias Value = GridOverlayPreference
17 |
18 | static var defaultValue = GridOverlayPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridOverlayPreference, nextValue: () -> GridOverlayPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:17:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct GridPreference: Equatable {
11 | struct ItemInfo: Equatable {
| `- note: consider making struct 'ItemInfo' conform to the 'Sendable' protocol
12 | var positionedItem: PositionedItem?
13 | var span: GridSpan?
:
15 | var alignment: GridAlignment?
16 |
17 | static let empty = ItemInfo()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:31:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct GridPreference: Equatable {
| `- note: consider making struct 'GridPreference' conform to the 'Sendable' protocol
11 | struct ItemInfo: Equatable {
12 | var positionedItem: PositionedItem?
:
29 | var environment: Environment?
30 |
31 | static let `default` = GridPreference(itemsInfo: [])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:35:14: 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
33 |
34 | struct GridPreferenceKey: PreferenceKey {
35 | static var defaultValue = GridPreference.default
| |- 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
36 |
37 | static func reduce(value: inout GridPreference, nextValue: () -> GridPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:19:21: warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
| |- warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFlow' 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
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridFlow.swift:11:13: note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
9 | import CoreGraphics
10 |
11 | public enum GridFlow {
| `- note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
12 | case rows
13 | case columns
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:20:21: warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
| |- warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPacking' 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
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridPacking.swift:11:13: note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridPacking {
| `- note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
12 | case sparse
13 | case dense
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:18:21: warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let defaultSpacing: GridSpacing = 5.0
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
| |- warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentMode' 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
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridContentMode.swift:12:13: note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
10 |
11 | /// Grid behaviour inside its parent
12 | public enum GridContentMode {
| `- note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
13 | /// Scrolls inside parent container
14 | case scroll
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:21:21: warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
| |- warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCacheMode' 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
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Cache/GridCacheMode.swift:11:13: note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridCacheMode {
| `- note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
12 | case inMemoryCache
13 | case noCache
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:22:21: warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
| |- warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCommonItemsAlignment' 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
23 | public static let defaultContentAlignment: GridAlignment = .center
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:23:21: warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
| |- warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentAlignment' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:84: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:65: warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
:
210 | }
211 |
212 | private func leadingGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'leadingGuide(item:)' from outside of its actor context are implicitly asynchronous
213 | -(self.positions[item]?.bounds.origin.x ?? CGFloat(-self.spacing.horizontal) / 2.0)
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:76: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:61: warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
:
214 | }
215 |
216 | private func topGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'topGuide(item:)' from outside of its actor context are implicitly asynchronous
217 | -(self.positions[item]?.bounds.origin.y ?? CGFloat(-self.spacing.vertical) / 2.0)
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/GridGroup.swift:15:7: warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | public struct GridGroup: View, GridGroupContaining {
| `- note: add '@preconcurrency' to the 'GridGroupContaining' conformance to defer isolation checking to run time
12 |
13 | public static var empty = GridGroup(contentViews: [])
14 |
15 | var contentViews: [GridElement]
| `- warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | public var body = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridContentViewsProtocols.swift:24:7: note: 'contentViews' declared here
22 |
23 | protocol GridGroupContaining {
24 | var contentViews: [GridElement] { get }
| `- note: 'contentViews' declared here
25 | }
26 |
[26/41] Compiling ExyteGrid GridGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridOverlayPreference.swift:18:14: 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
16 | typealias Value = GridOverlayPreference
17 |
18 | static var defaultValue = GridOverlayPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridOverlayPreference, nextValue: () -> GridOverlayPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:17:16: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | struct GridPreference: Equatable {
11 | struct ItemInfo: Equatable {
| `- note: consider making struct 'ItemInfo' conform to the 'Sendable' protocol
12 | var positionedItem: PositionedItem?
13 | var span: GridSpan?
:
15 | var alignment: GridAlignment?
16 |
17 | static let empty = ItemInfo()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'GridPreference.ItemInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:31:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import SwiftUI
9 |
10 | struct GridPreference: Equatable {
| `- note: consider making struct 'GridPreference' conform to the 'Sendable' protocol
11 | struct ItemInfo: Equatable {
12 | var positionedItem: PositionedItem?
:
29 | var environment: Environment?
30 |
31 | static let `default` = GridPreference(itemsInfo: [])
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridPreference' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridPreference.swift:35:14: 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
33 |
34 | struct GridPreferenceKey: PreferenceKey {
35 | static var defaultValue = GridPreference.default
| |- 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
36 |
37 | static func reduce(value: inout GridPreference, nextValue: () -> GridPreference) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:19:21: warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
| |- warning: static property 'defaultFlow' is not concurrency-safe because non-'Sendable' type 'GridFlow' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultFlow' 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
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridFlow.swift:11:13: note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
9 | import CoreGraphics
10 |
11 | public enum GridFlow {
| `- note: consider making enum 'GridFlow' conform to the 'Sendable' protocol
12 | case rows
13 | case columns
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:20:21: warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let defaultContentMode: GridContentMode = .fill
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
| |- warning: static property 'defaultPacking' is not concurrency-safe because non-'Sendable' type 'GridPacking' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPacking' 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
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridPacking.swift:11:13: note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridPacking {
| `- note: consider making enum 'GridPacking' conform to the 'Sendable' protocol
12 | case sparse
13 | case dense
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:18:21: warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let defaultSpacing: GridSpacing = 5.0
17 | public static let defaultFractionSize = 1.0 as CGFloat
18 | public static let defaultContentMode: GridContentMode = .fill
| |- warning: static property 'defaultContentMode' is not concurrency-safe because non-'Sendable' type 'GridContentMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentMode' 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
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridContentMode.swift:12:13: note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
10 |
11 | /// Grid behaviour inside its parent
12 | public enum GridContentMode {
| `- note: consider making enum 'GridContentMode' conform to the 'Sendable' protocol
13 | /// Scrolls inside parent container
14 | case scroll
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:21:21: warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let defaultFlow: GridFlow = .rows
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
| |- warning: static property 'defaultCacheMode' is not concurrency-safe because non-'Sendable' type 'GridCacheMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCacheMode' 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
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
/Users/admin/builder/spi-builder-workspace/Sources/Cache/GridCacheMode.swift:11:13: note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public enum GridCacheMode {
| `- note: consider making enum 'GridCacheMode' conform to the 'Sendable' protocol
12 | case inMemoryCache
13 | case noCache
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:22:21: warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let defaultPacking: GridPacking = .sparse
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
| |- warning: static property 'defaultCommonItemsAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultCommonItemsAlignment' 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
23 | public static let defaultContentAlignment: GridAlignment = .center
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/Configuration/Constants.swift:23:21: warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let defaultCacheMode: GridCacheMode = .inMemoryCache
22 | public static let defaultCommonItemsAlignment: GridAlignment = .center
23 | public static let defaultContentAlignment: GridAlignment = .center
| |- warning: static property 'defaultContentAlignment' is not concurrency-safe because non-'Sendable' type 'GridAlignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultContentAlignment' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridAlignment.swift:11:13: note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
9 | import SwiftUI
10 |
11 | public enum GridAlignment: Hashable {
| `- note: consider making enum 'GridAlignment' conform to the 'Sendable' protocol
12 | case top, bottom, center
13 | case leading, trailing
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:84: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:116:65: warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 | self.cellPreferenceView(item: item, preference: preference)
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'leadingGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
118 | }
:
210 | }
211 |
212 | private func leadingGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'leadingGuide(item:)' from outside of its actor context are implicitly asynchronous
213 | -(self.positions[item]?.bounds.origin.x ?? CGFloat(-self.spacing.horizontal) / 2.0)
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:76: warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: capture of 'item' with non-sendable type 'GridElement' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 | }
119 | }
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridElement.swift:12:15: note: consider making struct 'GridElement' conform to the 'Sendable' protocol
10 |
11 | /// Fundamental identifiable element in a grid view
12 | public struct GridElement: Identifiable {
| `- note: consider making struct 'GridElement' conform to the 'Sendable' protocol
13 | public var id: AnyHashable?
14 | public let view: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/View/Grid.swift:117:61: warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 | }
116 | .alignmentGuide(.leading, computeValue: { _ in self.leadingGuide(item: item) })
117 | .alignmentGuide(.top, computeValue: { _ in self.topGuide(item: item) })
| `- warning: call to main actor-isolated instance method 'topGuide(item:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 | }
:
214 | }
215 |
216 | private func topGuide(item: GridElement) -> CGFloat {
| `- note: calls to instance method 'topGuide(item:)' from outside of its actor context are implicitly asynchronous
217 | -(self.positions[item]?.bounds.origin.y ?? CGFloat(-self.spacing.vertical) / 2.0)
218 | }
/Users/admin/builder/spi-builder-workspace/Sources/View/GridGroup.swift:15:7: warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | import SwiftUI
10 |
11 | public struct GridGroup: View, GridGroupContaining {
| `- note: add '@preconcurrency' to the 'GridGroupContaining' conformance to defer isolation checking to run time
12 |
13 | public static var empty = GridGroup(contentViews: [])
14 |
15 | var contentViews: [GridElement]
| `- warning: main actor-isolated property 'contentViews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | public var body = EmptyView()
/Users/admin/builder/spi-builder-workspace/Sources/View/Inits/GridContentViewsProtocols.swift:24:7: note: 'contentViews' declared here
22 |
23 | protocol GridGroupContaining {
24 | var contentViews: [GridElement] { get }
| `- note: 'contentViews' declared here
25 | }
26 |
[27/41] Compiling ExyteGrid GridContentViewsProtocols.swift
[28/41] Compiling ExyteGrid GridElement+asGridElements.swift
[29/41] Compiling ExyteGrid GridGroup+Init.swift
[30/41] Compiling ExyteGrid GridSpacing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpacing.swift:14:14: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct GridSpacing: Hashable {
| `- note: consider making struct 'GridSpacing' conform to the 'Sendable' protocol
12 | let horizontal: CGFloat
13 | let vertical: CGFloat
14 | static let zero = GridSpacing(horizontal: 0, vertical: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
15 |
16 | public init(horizontal: CGFloat, vertical: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridTrack.swift:44:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
42 | }
43 |
44 | extension Array: ExpressibleByIntegerLiteral where Element == GridTrack {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
45 | public typealias IntegerLiteralType = Int
46 | public init(integerLiteral value: Self.IntegerLiteralType) {
[31/41] Compiling ExyteGrid GridSpan.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpacing.swift:14:14: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct GridSpacing: Hashable {
| `- note: consider making struct 'GridSpacing' conform to the 'Sendable' protocol
12 | let horizontal: CGFloat
13 | let vertical: CGFloat
14 | static let zero = GridSpacing(horizontal: 0, vertical: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
15 |
16 | public init(horizontal: CGFloat, vertical: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridTrack.swift:44:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
42 | }
43 |
44 | extension Array: ExpressibleByIntegerLiteral where Element == GridTrack {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
45 | public typealias IntegerLiteralType = Int
46 | public init(integerLiteral value: Self.IntegerLiteralType) {
[32/41] Compiling ExyteGrid GridStart.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpacing.swift:14:14: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct GridSpacing: Hashable {
| `- note: consider making struct 'GridSpacing' conform to the 'Sendable' protocol
12 | let horizontal: CGFloat
13 | let vertical: CGFloat
14 | static let zero = GridSpacing(horizontal: 0, vertical: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
15 |
16 | public init(horizontal: CGFloat, vertical: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridTrack.swift:44:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
42 | }
43 |
44 | extension Array: ExpressibleByIntegerLiteral where Element == GridTrack {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
45 | public typealias IntegerLiteralType = Int
46 | public init(integerLiteral value: Self.IntegerLiteralType) {
[33/41] Compiling ExyteGrid GridTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpacing.swift:14:14: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import CoreGraphics
10 |
11 | public struct GridSpacing: Hashable {
| `- note: consider making struct 'GridSpacing' conform to the 'Sendable' protocol
12 | let horizontal: CGFloat
13 | let vertical: CGFloat
14 | static let zero = GridSpacing(horizontal: 0, vertical: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'GridSpacing' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
15 |
16 | public init(horizontal: CGFloat, vertical: CGFloat) {
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridSpan.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridSpan: Equatable, Hashable {
| `- note: consider making struct 'GridSpan' conform to the 'Sendable' protocol
12 | var column: Int = Constants.defaultColumnSpan
13 | var row: Int = Constants.defaultRowSpan
14 |
15 | static let `default` = GridSpan()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridSpan' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridStart.swift:15:14: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public struct GridStart: Equatable, Hashable {
| `- note: consider making struct 'GridStart' conform to the 'Sendable' protocol
12 | var column: Int?
13 | var row: Int?
14 |
15 | static let `default` = GridStart(column: nil, row: nil)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GridStart' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Models/GridTrack.swift:44:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
42 | }
43 |
44 | extension Array: ExpressibleByIntegerLiteral where Element == GridTrack {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
45 | public typealias IntegerLiteralType = Int
46 | public init(integerLiteral value: Self.IntegerLiteralType) {
[34/41] Compiling ExyteGrid LayoutPositioning.swift
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
[35/41] Compiling ExyteGrid ArrangedItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
[36/41] Compiling ExyteGrid GridAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
[37/41] Compiling ExyteGrid GridContentMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/GridLayoutMath/LayoutPositioning.swift:32:14: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
26 | }
27 |
28 | struct PositionedLayout: Equatable {
| `- note: consider making struct 'PositionedLayout' conform to the 'Sendable' protocol
29 | let items: [PositionedItem]
30 | let totalSize: CGSize?
31 |
32 | static let empty = PositionedLayout(items: [], totalSize: nil)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'PositionedLayout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
33 |
34 | subscript(gridElement: GridElement) -> PositionedItem? {
[38/41] Compiling ExyteGrid LayoutArrangement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridBackgroundPreference.swift:18:14: 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
16 | typealias Value = GridBackgroundPreference
17 |
18 | static var defaultValue = GridBackgroundPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridBackgroundPreference, nextValue: () -> GridBackgroundPreference) {
[39/41] Compiling ExyteGrid PositionedItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridBackgroundPreference.swift:18:14: 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
16 | typealias Value = GridBackgroundPreference
17 |
18 | static var defaultValue = GridBackgroundPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridBackgroundPreference, nextValue: () -> GridBackgroundPreference) {
[40/41] Compiling ExyteGrid GridBackgroundPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridBackgroundPreference.swift:18:14: 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
16 | typealias Value = GridBackgroundPreference
17 |
18 | static var defaultValue = GridBackgroundPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridBackgroundPreference, nextValue: () -> GridBackgroundPreference) {
[41/41] Compiling ExyteGrid GridCellPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/Models/LayoutArrangement.swift:17:14: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | let items: [ArrangedItem]
16 |
17 | static var zero = LayoutArrangement(columnsCount: 0, rowsCount: 0, items: [])
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
18 |
19 | subscript(gridElement: GridElement) -> ArrangedItem? {
/Users/admin/builder/spi-builder-workspace/Sources/Models/Preferences/GridBackgroundPreference.swift:18:14: 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
16 | typealias Value = GridBackgroundPreference
17 |
18 | static var defaultValue = GridBackgroundPreference(content: { _ in AnyView(EmptyView())})
| |- 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
19 |
20 | static func reduce(value: inout GridBackgroundPreference, nextValue: () -> GridBackgroundPreference) {
Build complete! (25.63s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ExyteGrid",
"name" : "ExyteGrid",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ExyteGrid",
"targets" : [
"ExyteGrid"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ExyteGrid",
"module_type" : "SwiftTarget",
"name" : "ExyteGrid",
"path" : "Sources",
"product_memberships" : [
"ExyteGrid"
],
"sources" : [
"Cache/Cache.swift",
"Cache/GridCacheMode.swift",
"Configuration/Constants.swift",
"Extensions/CGRect+Hashable.swift",
"Extensions/CGSize+Hashable.swift",
"Extensions/LayoutArrangement+description.swift",
"Extensions/View+If.swift",
"GridLayoutMath/LayoutArranging.swift",
"GridLayoutMath/LayoutPositioning.swift",
"Models/ArrangedItem.swift",
"Models/GridAlignment.swift",
"Models/GridContentMode.swift",
"Models/GridElement.swift",
"Models/GridFlow.swift",
"Models/GridIndex.swift",
"Models/GridPacking.swift",
"Models/GridSpacing.swift",
"Models/GridSpan.swift",
"Models/GridStart.swift",
"Models/GridTrack.swift",
"Models/LayoutArrangement.swift",
"Models/PositionedItem.swift",
"Models/Preferences/GridBackgroundPreference.swift",
"Models/Preferences/GridCellPreference.swift",
"Models/Preferences/GridOverlayPreference.swift",
"Models/Preferences/GridPreference.swift",
"View/Grid.swift",
"View/GridGroup.swift",
"View/Inits/ForEach+GridViewsContaining.swift",
"View/Inits/Grid+Init.swift",
"View/Inits/Grid+Inits_Data.swift",
"View/Inits/GridBuilder.swift",
"View/Inits/GridContentViewsProtocols.swift",
"View/Inits/GridElement+asGridElements.swift",
"View/Inits/GridGroup+Init.swift",
"View/Inits/GridGroup+Inits_Data.swift",
"View/View+Environment.swift",
"View/View+GridPreferences.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.