Build Information
Successful build of AdvancedKanban, reference 1.0.0 (17c093), with Swift 6.1 for macOS (SPM) on 20 Aug 2026 20:36:15 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NerdSnipe-Inc/AdvancedKanban.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NerdSnipe-Inc/AdvancedKanban
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 17c0936 Add SPM/Swift/platform/license/release badges to README
Cloned https://github.com/NerdSnipe-Inc/AdvancedKanban.git
Revision (git rev-parse @):
17c093670ca6198c9b86ed22cf9c7b0d5f527df9
SUCCESS checkout https://github.com/NerdSnipe-Inc/AdvancedKanban.git at 1.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/NerdSnipe-Inc/AdvancedKanban.git
https://github.com/NerdSnipe-Inc/AdvancedKanban.git
{
"dependencies" : [
],
"manifest_display_name" : "AdvancedKanban",
"name" : "AdvancedKanban",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "AdvancedKanban",
"targets" : [
"AdvancedKanban"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AdvancedKanbanSwiftData",
"targets" : [
"AdvancedKanbanSwiftData"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AdvancedKanbanTests",
"module_type" : "SwiftTarget",
"name" : "AdvancedKanbanTests",
"path" : "Tests/AdvancedKanbanTests",
"sources" : [
"KanbanAutoscrollTests.swift",
"KanbanDragStateTests.swift",
"KanbanInsertionResolverTests.swift",
"KanbanMoveResolverTests.swift",
"KanbanMoveTests.swift",
"KanbanStoreTests.swift",
"KanbanThemeTests.swift",
"WIPLimitEvaluatorTests.swift"
],
"target_dependencies" : [
"AdvancedKanban",
"AdvancedKanbanSwiftData"
],
"type" : "test"
},
{
"c99name" : "AdvancedKanbanSwiftData",
"module_type" : "SwiftTarget",
"name" : "AdvancedKanbanSwiftData",
"path" : "Sources/AdvancedKanbanSwiftData",
"product_memberships" : [
"AdvancedKanbanSwiftData"
],
"sources" : [
"AdvancedKanbanSwiftData.swift",
"KanbanStore.swift",
"SwiftDataKanbanCard.swift",
"SwiftDataKanbanColumn.swift"
],
"target_dependencies" : [
"AdvancedKanban"
],
"type" : "library"
},
{
"c99name" : "AdvancedKanban",
"module_type" : "SwiftTarget",
"name" : "AdvancedKanban",
"path" : "Sources/AdvancedKanban",
"product_memberships" : [
"AdvancedKanban",
"AdvancedKanbanSwiftData"
],
"sources" : [
"AdvancedKanban.swift",
"Engine/KanbanAutoscroll.swift",
"Engine/KanbanDragState.swift",
"Engine/KanbanFramePreferenceKey.swift",
"Engine/KanbanGeometry.swift",
"Engine/KanbanInsertionResolver.swift",
"Engine/KanbanMoveResolver.swift",
"Engine/WIPLimitEvaluator.swift",
"Environment/EnvironmentValues+KanbanTheme.swift",
"Environment/KanbanTheme.swift",
"Model/KanbanMove.swift",
"Model/WIPLimitBehavior.swift",
"Protocols/KanbanCard.swift",
"Protocols/KanbanColumn.swift",
"Views/KanbanBoard.swift",
"Views/KanbanCardView.swift",
"Views/KanbanColumnView.swift",
"Views/KanbanDragGhostOverlay.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/21] Compiling AdvancedKanban KanbanMove.swift
[5/21] Compiling AdvancedKanban WIPLimitBehavior.swift
[6/21] Compiling AdvancedKanban KanbanGeometry.swift
[7/21] Compiling AdvancedKanban KanbanInsertionResolver.swift
[8/21] Compiling AdvancedKanban KanbanCard.swift
[9/21] Compiling AdvancedKanban KanbanColumn.swift
[10/21] Compiling AdvancedKanban KanbanBoard.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:217:17: warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in a '@Sendable' closure
215 | lastAutoscrollTargetColumnID = targetColumn.id
216 | withAnimation(.easeOut(duration: 0.3)) {
217 | scrollProxy.scrollTo(targetColumn.id, anchor: anchor)
| `- warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in a '@Sendable' closure
218 | }
219 | }
SwiftUI.ScrollViewProxy:2:15: note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | public struct ScrollViewProxy {
| `- note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
3 | public func scrollTo<ID>(_ id: ID, anchor: UnitPoint? = nil) where ID : Hashable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:188:19: warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
6 | public struct KanbanBoard<Column: KanbanColumn, CardContent: View, ColumnHeader: View>: View {
7 | @Environment(\.kanbanTheme) private var theme
8 | @State private var dragState = KanbanDragState<Column.Card.ID, Column.ID>()
| `- note: property declared here
9 | @State private var cardFrames: [KanbanCardFrame<Column.Card.ID>] = []
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
:
186 | guard autoscrollTimer == nil else { return }
187 | autoscrollTimer = Timer.scheduledTimer(withTimeInterval: 1.0 / 3.0, repeats: true) { _ in
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
| `- warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
189 | let currentColumnID = dragState.proposedColumnID,
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:188:51: warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
11 | @State private var draggedCardSize: CGSize = .zero
12 | @State private var boardBounds: CGRect = .zero
| `- note: property declared here
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
:
186 | guard autoscrollTimer == nil else { return }
187 | autoscrollTimer = Timer.scheduledTimer(withTimeInterval: 1.0 / 3.0, repeats: true) { _ in
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
| `- warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
189 | let currentColumnID = dragState.proposedColumnID,
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:189:41: warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
6 | public struct KanbanBoard<Column: KanbanColumn, CardContent: View, ColumnHeader: View>: View {
7 | @Environment(\.kanbanTheme) private var theme
8 | @State private var dragState = KanbanDragState<Column.Card.ID, Column.ID>()
| `- note: property declared here
9 | @State private var cardFrames: [KanbanCardFrame<Column.Card.ID>] = []
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
:
187 | autoscrollTimer = Timer.scheduledTimer(withTimeInterval: 1.0 / 3.0, repeats: true) { _ in
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
189 | let currentColumnID = dragState.proposedColumnID,
| `- warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
191 | else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:190:38: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
189 | let currentColumnID = dragState.proposedColumnID,
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
191 | else { return }
192 |
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:194:34: warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
6 | public struct KanbanBoard<Column: KanbanColumn, CardContent: View, ColumnHeader: View>: View {
7 | @Environment(\.kanbanTheme) private var theme
8 | @State private var dragState = KanbanDragState<Column.Card.ID, Column.ID>()
| `- note: property declared here
9 | @State private var cardFrames: [KanbanCardFrame<Column.Card.ID>] = []
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
:
192 |
193 | let direction = KanbanAutoscrollCalculator.direction(
194 | pointerPosition: dragState.pointerLocation.x,
| `- warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
195 | bounds: boardBounds.minX...boardBounds.maxX,
196 | edgeBand: 60,
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:195:25: warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
11 | @State private var draggedCardSize: CGSize = .zero
12 | @State private var boardBounds: CGRect = .zero
| `- note: property declared here
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
:
193 | let direction = KanbanAutoscrollCalculator.direction(
194 | pointerPosition: dragState.pointerLocation.x,
195 | bounds: boardBounds.minX...boardBounds.maxX,
| `- warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 | edgeBand: 60,
197 | maxSpeed: 12
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:195:44: warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
11 | @State private var draggedCardSize: CGSize = .zero
12 | @State private var boardBounds: CGRect = .zero
| `- note: property declared here
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
:
193 | let direction = KanbanAutoscrollCalculator.direction(
194 | pointerPosition: dragState.pointerLocation.x,
195 | bounds: boardBounds.minX...boardBounds.maxX,
| `- warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 | edgeBand: 60,
197 | maxSpeed: 12
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:207:51: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
205 | anchor = .leading
206 | case .negative:
207 | targetColumn = currentIndex > 0 ? columns[currentIndex - 1] : nil
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
208 | anchor = .leading
209 | case .positive:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:210:47: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
208 | anchor = .leading
209 | case .positive:
210 | targetColumn = currentIndex < columns.count - 1 ? columns[currentIndex + 1] : nil
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 | anchor = .trailing
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:210:67: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
208 | anchor = .leading
209 | case .positive:
210 | targetColumn = currentIndex < columns.count - 1 ? columns[currentIndex + 1] : nil
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 | anchor = .trailing
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:214:56: warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
12 | @State private var boardBounds: CGRect = .zero
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
| `- note: property declared here
15 |
16 | @Binding var columns: [Column]
:
212 | }
213 |
214 | guard let targetColumn, targetColumn.id != lastAutoscrollTargetColumnID else { return }
| `- warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
215 | lastAutoscrollTargetColumnID = targetColumn.id
216 | withAnimation(.easeOut(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:215:13: warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
12 | @State private var boardBounds: CGRect = .zero
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
| `- note: mutation of this property is only permitted within the actor
15 |
16 | @Binding var columns: [Column]
:
213 |
214 | guard let targetColumn, targetColumn.id != lastAutoscrollTargetColumnID else { return }
215 | lastAutoscrollTargetColumnID = targetColumn.id
| `- warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
216 | withAnimation(.easeOut(duration: 0.3)) {
217 | scrollProxy.scrollTo(targetColumn.id, anchor: anchor)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:217:17: warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in an isolated closure; this is an error in the Swift 6 language mode
215 | lastAutoscrollTargetColumnID = targetColumn.id
216 | withAnimation(.easeOut(duration: 0.3)) {
217 | scrollProxy.scrollTo(targetColumn.id, anchor: anchor)
| `- warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in an isolated closure; this is an error in the Swift 6 language mode
218 | }
219 | }
SwiftUI.ScrollViewProxy:2:15: note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | public struct ScrollViewProxy {
| `- note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
3 | public func scrollTo<ID>(_ id: ID, anchor: UnitPoint? = nil) where ID : Hashable
4 | }
[11/21] Compiling AdvancedKanban KanbanCardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:217:17: warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in a '@Sendable' closure
215 | lastAutoscrollTargetColumnID = targetColumn.id
216 | withAnimation(.easeOut(duration: 0.3)) {
217 | scrollProxy.scrollTo(targetColumn.id, anchor: anchor)
| `- warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in a '@Sendable' closure
218 | }
219 | }
SwiftUI.ScrollViewProxy:2:15: note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | public struct ScrollViewProxy {
| `- note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
3 | public func scrollTo<ID>(_ id: ID, anchor: UnitPoint? = nil) where ID : Hashable
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:188:19: warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
6 | public struct KanbanBoard<Column: KanbanColumn, CardContent: View, ColumnHeader: View>: View {
7 | @Environment(\.kanbanTheme) private var theme
8 | @State private var dragState = KanbanDragState<Column.Card.ID, Column.ID>()
| `- note: property declared here
9 | @State private var cardFrames: [KanbanCardFrame<Column.Card.ID>] = []
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
:
186 | guard autoscrollTimer == nil else { return }
187 | autoscrollTimer = Timer.scheduledTimer(withTimeInterval: 1.0 / 3.0, repeats: true) { _ in
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
| `- warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
189 | let currentColumnID = dragState.proposedColumnID,
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:188:51: warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
11 | @State private var draggedCardSize: CGSize = .zero
12 | @State private var boardBounds: CGRect = .zero
| `- note: property declared here
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
:
186 | guard autoscrollTimer == nil else { return }
187 | autoscrollTimer = Timer.scheduledTimer(withTimeInterval: 1.0 / 3.0, repeats: true) { _ in
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
| `- warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
189 | let currentColumnID = dragState.proposedColumnID,
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:189:41: warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
6 | public struct KanbanBoard<Column: KanbanColumn, CardContent: View, ColumnHeader: View>: View {
7 | @Environment(\.kanbanTheme) private var theme
8 | @State private var dragState = KanbanDragState<Column.Card.ID, Column.ID>()
| `- note: property declared here
9 | @State private var cardFrames: [KanbanCardFrame<Column.Card.ID>] = []
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
:
187 | autoscrollTimer = Timer.scheduledTimer(withTimeInterval: 1.0 / 3.0, repeats: true) { _ in
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
189 | let currentColumnID = dragState.proposedColumnID,
| `- warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
191 | else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:190:38: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
188 | guard dragState.draggedCardID != nil, boardBounds.width > 0,
189 | let currentColumnID = dragState.proposedColumnID,
190 | let currentIndex = columns.firstIndex(where: { $0.id == currentColumnID })
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
191 | else { return }
192 |
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:194:34: warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
6 | public struct KanbanBoard<Column: KanbanColumn, CardContent: View, ColumnHeader: View>: View {
7 | @Environment(\.kanbanTheme) private var theme
8 | @State private var dragState = KanbanDragState<Column.Card.ID, Column.ID>()
| `- note: property declared here
9 | @State private var cardFrames: [KanbanCardFrame<Column.Card.ID>] = []
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
:
192 |
193 | let direction = KanbanAutoscrollCalculator.direction(
194 | pointerPosition: dragState.pointerLocation.x,
| `- warning: main actor-isolated property 'dragState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
195 | bounds: boardBounds.minX...boardBounds.maxX,
196 | edgeBand: 60,
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:195:25: warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
11 | @State private var draggedCardSize: CGSize = .zero
12 | @State private var boardBounds: CGRect = .zero
| `- note: property declared here
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
:
193 | let direction = KanbanAutoscrollCalculator.direction(
194 | pointerPosition: dragState.pointerLocation.x,
195 | bounds: boardBounds.minX...boardBounds.maxX,
| `- warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 | edgeBand: 60,
197 | maxSpeed: 12
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:195:44: warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
10 | @State private var columnZones: [KanbanColumnZone<Column.ID>] = []
11 | @State private var draggedCardSize: CGSize = .zero
12 | @State private var boardBounds: CGRect = .zero
| `- note: property declared here
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
:
193 | let direction = KanbanAutoscrollCalculator.direction(
194 | pointerPosition: dragState.pointerLocation.x,
195 | bounds: boardBounds.minX...boardBounds.maxX,
| `- warning: main actor-isolated property 'boardBounds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
196 | edgeBand: 60,
197 | maxSpeed: 12
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:207:51: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
205 | anchor = .leading
206 | case .negative:
207 | targetColumn = currentIndex > 0 ? columns[currentIndex - 1] : nil
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
208 | anchor = .leading
209 | case .positive:
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:210:47: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
208 | anchor = .leading
209 | case .positive:
210 | targetColumn = currentIndex < columns.count - 1 ? columns[currentIndex + 1] : nil
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 | anchor = .trailing
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:210:67: warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
15 |
16 | @Binding var columns: [Column]
| `- note: property declared here
17 | let wipLimitBehavior: WIPLimitBehavior
18 | let onMove: ((KanbanMove<Column.Card.ID, Column.ID>) -> Void)?
:
208 | anchor = .leading
209 | case .positive:
210 | targetColumn = currentIndex < columns.count - 1 ? columns[currentIndex + 1] : nil
| `- warning: main actor-isolated property 'columns' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
211 | anchor = .trailing
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:214:56: warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
12 | @State private var boardBounds: CGRect = .zero
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
| `- note: property declared here
15 |
16 | @Binding var columns: [Column]
:
212 | }
213 |
214 | guard let targetColumn, targetColumn.id != lastAutoscrollTargetColumnID else { return }
| `- warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
215 | lastAutoscrollTargetColumnID = targetColumn.id
216 | withAnimation(.easeOut(duration: 0.3)) {
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:215:13: warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
12 | @State private var boardBounds: CGRect = .zero
13 | @State private var autoscrollTimer: Timer?
14 | @State private var lastAutoscrollTargetColumnID: Column.ID?
| `- note: mutation of this property is only permitted within the actor
15 |
16 | @Binding var columns: [Column]
:
213 |
214 | guard let targetColumn, targetColumn.id != lastAutoscrollTargetColumnID else { return }
215 | lastAutoscrollTargetColumnID = targetColumn.id
| `- warning: main actor-isolated property 'lastAutoscrollTargetColumnID' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
216 | withAnimation(.easeOut(duration: 0.3)) {
217 | scrollProxy.scrollTo(targetColumn.id, anchor: anchor)
/Users/admin/builder/spi-builder-workspace/Sources/AdvancedKanban/Views/KanbanBoard.swift:217:17: warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in an isolated closure; this is an error in the Swift 6 language mode
215 | lastAutoscrollTargetColumnID = targetColumn.id
216 | withAnimation(.easeOut(duration: 0.3)) {
217 | scrollProxy.scrollTo(targetColumn.id, anchor: anchor)
| `- warning: capture of 'scrollProxy' with non-sendable type 'ScrollViewProxy' in an isolated closure; this is an error in the Swift 6 language mode
218 | }
219 | }
SwiftUI.ScrollViewProxy:2:15: note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | public struct ScrollViewProxy {
| `- note: struct 'ScrollViewProxy' does not conform to the 'Sendable' protocol
3 | public func scrollTo<ID>(_ id: ID, anchor: UnitPoint? = nil) where ID : Hashable
4 | }
[12/21] Compiling AdvancedKanban EnvironmentValues+KanbanTheme.swift
[13/21] Compiling AdvancedKanban KanbanTheme.swift
[14/21] Compiling AdvancedKanban KanbanDragState.swift
[15/21] Compiling AdvancedKanban KanbanFramePreferenceKey.swift
[16/21] Compiling AdvancedKanban KanbanMoveResolver.swift
[17/21] Compiling AdvancedKanban WIPLimitEvaluator.swift
[18/21] Emitting module AdvancedKanban
[19/21] Compiling AdvancedKanban KanbanColumnView.swift
[20/21] Compiling AdvancedKanban AdvancedKanban.swift
[21/21] Compiling AdvancedKanban KanbanAutoscroll.swift
[22/22] Compiling AdvancedKanban KanbanDragGhostOverlay.swift
[23/27] Compiling AdvancedKanbanSwiftData SwiftDataKanbanCard.swift
[24/27] Compiling AdvancedKanbanSwiftData SwiftDataKanbanColumn.swift
[25/27] Emitting module AdvancedKanbanSwiftData
[26/27] Compiling AdvancedKanbanSwiftData KanbanStore.swift
[27/27] Compiling AdvancedKanbanSwiftData AdvancedKanbanSwiftData.swift
Build complete! (10.88s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AdvancedKanban",
"name" : "AdvancedKanban",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "AdvancedKanban",
"targets" : [
"AdvancedKanban"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AdvancedKanbanSwiftData",
"targets" : [
"AdvancedKanbanSwiftData"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AdvancedKanbanTests",
"module_type" : "SwiftTarget",
"name" : "AdvancedKanbanTests",
"path" : "Tests/AdvancedKanbanTests",
"sources" : [
"KanbanAutoscrollTests.swift",
"KanbanDragStateTests.swift",
"KanbanInsertionResolverTests.swift",
"KanbanMoveResolverTests.swift",
"KanbanMoveTests.swift",
"KanbanStoreTests.swift",
"KanbanThemeTests.swift",
"WIPLimitEvaluatorTests.swift"
],
"target_dependencies" : [
"AdvancedKanban",
"AdvancedKanbanSwiftData"
],
"type" : "test"
},
{
"c99name" : "AdvancedKanbanSwiftData",
"module_type" : "SwiftTarget",
"name" : "AdvancedKanbanSwiftData",
"path" : "Sources/AdvancedKanbanSwiftData",
"product_memberships" : [
"AdvancedKanbanSwiftData"
],
"sources" : [
"AdvancedKanbanSwiftData.swift",
"KanbanStore.swift",
"SwiftDataKanbanCard.swift",
"SwiftDataKanbanColumn.swift"
],
"target_dependencies" : [
"AdvancedKanban"
],
"type" : "library"
},
{
"c99name" : "AdvancedKanban",
"module_type" : "SwiftTarget",
"name" : "AdvancedKanban",
"path" : "Sources/AdvancedKanban",
"product_memberships" : [
"AdvancedKanban",
"AdvancedKanbanSwiftData"
],
"sources" : [
"AdvancedKanban.swift",
"Engine/KanbanAutoscroll.swift",
"Engine/KanbanDragState.swift",
"Engine/KanbanFramePreferenceKey.swift",
"Engine/KanbanGeometry.swift",
"Engine/KanbanInsertionResolver.swift",
"Engine/KanbanMoveResolver.swift",
"Engine/WIPLimitEvaluator.swift",
"Environment/EnvironmentValues+KanbanTheme.swift",
"Environment/KanbanTheme.swift",
"Model/KanbanMove.swift",
"Model/WIPLimitBehavior.swift",
"Protocols/KanbanCard.swift",
"Protocols/KanbanColumn.swift",
"Views/KanbanBoard.swift",
"Views/KanbanCardView.swift",
"Views/KanbanColumnView.swift",
"Views/KanbanDragGhostOverlay.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.