Build Information
Successful build of Bridges with Swift 6.0 (beta) for macOS (SPM).
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 | return row
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
362 | return row
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | )
503 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
504 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
505 | return row
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
639 | )
640 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
641 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
642 | return row
643 | }
[1294/1300] Compiling Bridges TableInsert.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/SwifQL.swift:10:12: warning: let 'SwifQL' is not concurrency-safe because non-'Sendable' type 'any SwifQLable' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public let SwifQL: SwifQLable = _SwifQL()
| |- warning: let 'SwifQL' is not concurrency-safe because non-'Sendable' type 'any SwifQLable' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SwifQL' 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
11 |
12 | public func SwifQL(_ query: SwifQLable) -> SwifQLable {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/SwifQLable.swift:10:17: note: protocol 'SwifQLable' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public protocol SwifQLable: CustomStringConvertible {
| `- note: protocol 'SwifQLable' does not conform to the 'Sendable' protocol
11 | var parts: [SwifQLPart] { get }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:31:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | ) -> EventLoopFuture<Void> {
30 | container.eventLoop.future().flatMapThrowing {
31 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:44:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | ) -> EventLoopFuture<Self> {
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:210:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
208 | ) -> EventLoopFuture<Void> {
209 | conn.eventLoop.future().flatMapThrowing {
210 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:222:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 | ) -> EventLoopFuture<Self> {
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 | return row
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
362 | return row
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | )
503 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
504 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
505 | return row
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
639 | )
640 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
641 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
642 | return row
643 | }
[1295/1300] Compiling Bridges TableUpdate.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/SwifQL.swift:10:12: warning: let 'SwifQL' is not concurrency-safe because non-'Sendable' type 'any SwifQLable' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public let SwifQL: SwifQLable = _SwifQL()
| |- warning: let 'SwifQL' is not concurrency-safe because non-'Sendable' type 'any SwifQLable' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SwifQL' 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
11 |
12 | public func SwifQL(_ query: SwifQLable) -> SwifQLable {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/SwifQLable.swift:10:17: note: protocol 'SwifQLable' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public protocol SwifQLable: CustomStringConvertible {
| `- note: protocol 'SwifQLable' does not conform to the 'Sendable' protocol
11 | var parts: [SwifQLPart] { get }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:31:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | ) -> EventLoopFuture<Void> {
30 | container.eventLoop.future().flatMapThrowing {
31 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:44:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | ) -> EventLoopFuture<Self> {
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:210:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
208 | ) -> EventLoopFuture<Void> {
209 | conn.eventLoop.future().flatMapThrowing {
210 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:222:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 | ) -> EventLoopFuture<Self> {
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 | return row
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
362 | return row
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | )
503 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
504 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
505 | return row
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
639 | )
640 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
641 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
642 | return row
643 | }
[1296/1300] Compiling Bridges TableUpsert.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/SwifQL.swift:10:12: warning: let 'SwifQL' is not concurrency-safe because non-'Sendable' type 'any SwifQLable' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public let SwifQL: SwifQLable = _SwifQL()
| |- warning: let 'SwifQL' is not concurrency-safe because non-'Sendable' type 'any SwifQLable' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'SwifQL' 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
11 |
12 | public func SwifQL(_ query: SwifQLable) -> SwifQLable {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/SwifQLable.swift:10:17: note: protocol 'SwifQLable' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public protocol SwifQLable: CustomStringConvertible {
| `- note: protocol 'SwifQLable' does not conform to the 'Sendable' protocol
11 | var parts: [SwifQLPart] { get }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:31:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | ) -> EventLoopFuture<Void> {
30 | container.eventLoop.future().flatMapThrowing {
31 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 | }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:44:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | ) -> EventLoopFuture<Self> {
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | }
100 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:56: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:64: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 | }
113 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:44: warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'db' with non-sendable type 'DatabaseIdentifier' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/DatabaseIdentifier.swift:10:12: note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | open class DatabaseIdentifier {
| `- note: class 'DatabaseIdentifier' does not conform to the 'Sendable' protocol
11 | public let name: String?
12 | public let host: DatabaseHost
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:52: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridgesObject.swift:11:17: note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyBridgesObject {
| `- note: protocol 'AnyBridgesObject' does not conform to the 'Sendable' protocol
12 | var logger: Logger { get }
13 | var bridges: Bridges { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:210:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
208 | ) -> EventLoopFuture<Void> {
209 | conn.eventLoop.future().flatMapThrowing {
210 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
213 | }
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:222:17: warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
220 | ) -> EventLoopFuture<Self> {
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
| |- warning: capture of 'preActions' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 | }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| |- warning: capture of 'preActions' with non-sendable type '(Self) throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 | }
252 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 | }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 | }
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 | }
296 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
| `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 | var eventLoop: EventLoop { get }
14 | var logger: Logger { get }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 | return row
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
362 | return row
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | )
503 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
504 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
505 | return row
506 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
639 | )
640 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
641 | guard let row = rows.first else { return self }
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
642 | return row
643 | }
[1297/1300] Compiling Bridges ConnectionSource.swift
[1298/1300] Compiling Bridges ContextBridgeable.swift
[1299/1300] Compiling Bridges EnumMigration.swift
[1300/1300] Compiling Bridges Extension.swift
Build complete! (89.69s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/SwifQL/SwifQL.git
Fetching https://github.com/vapor/async-kit.git
[1/2335] Fetching async-kit
[72/5696] Fetching async-kit, swift-log
[331/8002] Fetching async-kit, swift-log, swifql
[3193/20270] Fetching async-kit, swift-log, swifql, swift-nio-ssl
[9966/85880] Fetching async-kit, swift-log, swifql, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.80s)
[27407/82519] Fetching async-kit, swifql, swift-nio-ssl, swift-nio
Fetched https://github.com/SwifQL/SwifQL.git from cache (3.79s)
Fetched https://github.com/apple/swift-nio.git from cache (3.79s)
Fetched https://github.com/vapor/async-kit.git from cache (3.79s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.70s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.19.0 (0.66s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/5228] Fetching swift-algorithms
[106/19257] Fetching swift-algorithms, swift-collections
Fetched https://github.com/apple/swift-algorithms.git from cache (1.78s)
Fetched https://github.com/apple/swift-collections.git from cache (1.78s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.67s)
Fetching https://github.com/apple/swift-numerics.git
[1/5472] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.11s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.80s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.65.0 (0.66s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1563] Fetching swift-atomics
[48/5086] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.10s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.10s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.51s)
Computing version for https://github.com/SwifQL/SwifQL.git
Computed https://github.com/SwifQL/SwifQL.git at 2.0.0-beta.3.21.2 (0.64s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (0.69s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.65.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.26.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/SwifQL/SwifQL.git
Working copy of https://github.com/SwifQL/SwifQL.git resolved at 2.0.0-beta.3.21.2
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.19.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
Build complete.
{
"dependencies" : [
{
"identity" : "async-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/async-kit.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swifql",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0-beta",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwifQL/SwifQL.git"
}
],
"manifest_display_name" : "Bridges",
"name" : "Bridges",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Bridges",
"targets" : [
"Bridges"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BridgesTests",
"module_type" : "SwiftTarget",
"name" : "BridgesTests",
"path" : "Tests/BridgesTests",
"sources" : [
"BridgesTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Bridges"
],
"type" : "test"
},
{
"c99name" : "Bridges",
"module_type" : "SwiftTarget",
"name" : "Bridges",
"path" : "Sources/Bridges",
"product_dependencies" : [
"AsyncKit",
"NIO",
"NIOSSL",
"Logging",
"SwifQL"
],
"product_memberships" : [
"Bridges"
],
"sources" : [
"Bridges.swift",
"BridgesError.swift",
"BridgesRow.swift",
"Builders/CreateEnumBuilder.swift",
"Builders/DropEnumBuilder.swift",
"Builders/UpdateEnumBuilder.swift",
"Connection.swift",
"DatabaseHost.swift",
"DatabaseIdentifier.swift",
"DatabaseMigrations.swift",
"Enum.swift",
"Exports.swift",
"Extensions/Bridgeable+Transaction.swift",
"Extensions/Dictionary+SwifQLable.swift",
"Extensions/Encodable+SwifQLable.swift",
"Extensions/EventLoopFuture+SyncFlatten.swift",
"Extensions/SwifQLable+Execute.swift",
"Extensions/Table+Conveniences.swift",
"Helpers/DateFormatter.swift",
"Helpers/Table+AllColumns.swift",
"Helpers/TableDelete.swift",
"Helpers/TableInsert.swift",
"Helpers/TableUpdate.swift",
"Helpers/TableUpsert.swift",
"Protocols/AnyBridge.swift",
"Protocols/AnyBridgesObject.swift",
"Protocols/AnyDatabaseIdentifiable.swift",
"Protocols/AnyMigration.swift",
"Protocols/AutoCreateTableMigration.swift",
"Protocols/Bridgeable.swift",
"Protocols/BridgesApplication.swift",
"Protocols/BridgesRequest.swift",
"Protocols/ConnectionSource.swift",
"Protocols/ContextBridgeable.swift",
"Protocols/EnumMigration.swift",
"Protocols/Extension.swift",
"Protocols/Function.swift",
"Protocols/Migration.swift",
"Protocols/PoolSource.swift",
"Protocols/SchemaMigration.swift",
"Protocols/TableMigration.swift",
"Protocols/Trigger.swift",
"Protocols/View.swift",
"Table.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.