Build Information
Successful build of Bridges, reference 1.0.0-rc.4.13.6 (7ae80c
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 08:54:11 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
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:121:26: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
119 | preActions: (Self) -> EventLoopFuture<T>
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | self.update(on: keyColumn, on: db, on: container)
123 | }
/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 | @objc 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:155:40: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 | guard items.0.count > 0 else {
154 | container.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
155 | return container.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | }
157 | return buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:191:40: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
189 | guard items.count > 0 else {
190 | container.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
191 | return container.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
192 | }
193 | return buildUpdateQuery(items: items, where: predicates, returning: true)
/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 | @objc 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:223:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
223 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | self.update(on: keyColumn, on: conn)
225 | }
/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 | @objc 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 | @objc 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:249:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
249 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
250 | self.update(on: keyColumn, on: conn)
251 | }
/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 | @objc 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 | @objc 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:271:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
269 | preActions: () -> EventLoopFuture<T>
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
272 | self.update(on: keyColumn, on: conn)
273 | }
/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 | @objc 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 | @objc 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:293:26: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
291 | preActions: (Self) -> EventLoopFuture<T>
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
294 | self.update(on: keyColumn, on: conn)
295 | }
/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 | @objc 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/TableUpdate.swift:324:35: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 | guard items.0.count > 0 else {
323 | conn.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
324 | return conn.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
325 | }
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
/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 | }
[1265/1271] Compiling Bridges TableUpdate.swift
/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 | @objc 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:45:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
45 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | self.update(on: keyColumn, on: db, on: container)
47 | }
/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 | @objc 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 | @objc 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:73:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
73 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
74 | self.update(on: keyColumn, on: db, on: container)
75 | }
/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 | @objc 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 | @objc 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:97:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | preActions: () -> EventLoopFuture<T>
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
98 | self.update(on: keyColumn, on: db, on: container)
99 | }
/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 | @objc 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 | @objc 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:121:26: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
119 | preActions: (Self) -> EventLoopFuture<T>
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | self.update(on: keyColumn, on: db, on: container)
123 | }
/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 | @objc 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:155:40: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 | guard items.0.count > 0 else {
154 | container.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
155 | return container.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | }
157 | return buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:191:40: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
189 | guard items.count > 0 else {
190 | container.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
191 | return container.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
192 | }
193 | return buildUpdateQuery(items: items, where: predicates, returning: true)
/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 | @objc 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:223:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
223 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | self.update(on: keyColumn, on: conn)
225 | }
/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 | @objc 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 | @objc 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:249:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
249 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
250 | self.update(on: keyColumn, on: conn)
251 | }
/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 | @objc 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 | @objc 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:271:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
269 | preActions: () -> EventLoopFuture<T>
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
272 | self.update(on: keyColumn, on: conn)
273 | }
/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 | @objc 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 | @objc 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:293:26: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
291 | preActions: (Self) -> EventLoopFuture<T>
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
294 | self.update(on: keyColumn, on: conn)
295 | }
/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 | @objc 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/TableUpdate.swift:324:35: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 | guard items.0.count > 0 else {
323 | conn.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
324 | return conn.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
325 | }
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
/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 | }
[1266/1271] Compiling Bridges TableUpsert.swift
/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 | @objc 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:45:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
45 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
46 | self.update(on: keyColumn, on: db, on: container)
47 | }
/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 | @objc 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 | @objc 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:73:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
73 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
74 | self.update(on: keyColumn, on: db, on: container)
75 | }
/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 | @objc 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 | @objc 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:97:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | preActions: () -> EventLoopFuture<T>
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
98 | self.update(on: keyColumn, on: db, on: container)
99 | }
/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 | @objc 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 | @objc 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:121:26: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
119 | preActions: (Self) -> EventLoopFuture<T>
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | self.update(on: keyColumn, on: db, on: container)
123 | }
/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 | @objc 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:155:40: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
153 | guard items.0.count > 0 else {
154 | container.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
155 | return container.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
156 | }
157 | return buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:191:40: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
189 | guard items.count > 0 else {
190 | container.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
191 | return container.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
192 | }
193 | return buildUpdateQuery(items: items, where: predicates, returning: true)
/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 | @objc 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:223:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
223 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
224 | self.update(on: keyColumn, on: conn)
225 | }
/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 | @objc 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 | @objc 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:249:11: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
249 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
250 | self.update(on: keyColumn, on: conn)
251 | }
/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 | @objc 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 | @objc 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:271:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
269 | preActions: () -> EventLoopFuture<T>
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
272 | self.update(on: keyColumn, on: conn)
273 | }
/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 | @objc 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 | @objc 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:293:26: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
291 | preActions: (Self) -> EventLoopFuture<T>
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
294 | self.update(on: keyColumn, on: conn)
295 | }
/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 | @objc 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/TableUpdate.swift:324:35: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 | guard items.0.count > 0 else {
323 | conn.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
324 | return conn.eventLoop.makeSucceededFuture(self)
| `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
325 | }
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
/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 | }
[1267/1271] Compiling Bridges EventLoopFuture+SyncFlatten.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| |- warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' 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'
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:20:25: warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<Void>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | case .success:
19 | if let next = iterator.next() {
20 | handle(next)
| |- warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<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'
21 | } else {
22 | promise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:15:14: warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
13 |
14 | var iterator = self.makeIterator()
15 | func handle(_ future: () -> EventLoopFuture<Void>) {
| `- warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
16 | future().whenComplete { res in
17 | switch res {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:62: warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyDatabaseIdentifiable.swift:11:17: note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyDatabaseIdentifiable {
| `- note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
12 | func all<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<[T]> where T: Table
13 | func first<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<T?> where T: Table
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:77: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- 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 | }
60 | }
/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/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
[1268/1271] Compiling Bridges SwifQLable+Execute.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| |- warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' 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'
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:20:25: warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<Void>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | case .success:
19 | if let next = iterator.next() {
20 | handle(next)
| |- warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<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'
21 | } else {
22 | promise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:15:14: warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
13 |
14 | var iterator = self.makeIterator()
15 | func handle(_ future: () -> EventLoopFuture<Void>) {
| `- warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
16 | future().whenComplete { res in
17 | switch res {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:62: warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyDatabaseIdentifiable.swift:11:17: note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyDatabaseIdentifiable {
| `- note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
12 | func all<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<[T]> where T: Table
13 | func first<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<T?> where T: Table
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:77: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- 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 | }
60 | }
/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/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
[1269/1271] Compiling Bridges Table+Conveniences.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| |- warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' 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'
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:20:25: warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<Void>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | case .success:
19 | if let next = iterator.next() {
20 | handle(next)
| |- warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<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'
21 | } else {
22 | promise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:15:14: warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
13 |
14 | var iterator = self.makeIterator()
15 | func handle(_ future: () -> EventLoopFuture<Void>) {
| `- warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
16 | future().whenComplete { res in
17 | switch res {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:62: warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyDatabaseIdentifiable.swift:11:17: note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyDatabaseIdentifiable {
| `- note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
12 | func all<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<[T]> where T: Table
13 | func first<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<T?> where T: Table
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:77: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- 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 | }
60 | }
/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/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
[1270/1271] Compiling Bridges DateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| |- warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' 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'
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:20:25: warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<Void>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | case .success:
19 | if let next = iterator.next() {
20 | handle(next)
| |- warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<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'
21 | } else {
22 | promise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:15:14: warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
13 |
14 | var iterator = self.makeIterator()
15 | func handle(_ future: () -> EventLoopFuture<Void>) {
| `- warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
16 | future().whenComplete { res in
17 | switch res {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:62: warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyDatabaseIdentifiable.swift:11:17: note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyDatabaseIdentifiable {
| `- note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
12 | func all<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<[T]> where T: Table
13 | func first<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<T?> where T: Table
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:77: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- 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 | }
60 | }
/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/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
[1271/1271] Compiling Bridges Table+AllColumns.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| |- warning: capture of 'iterator' with non-sendable type 'IndexingIterator<[() -> EventLoopFuture<()>]>' 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'
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:20:25: warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<Void>) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | case .success:
19 | if let next = iterator.next() {
20 | handle(next)
| |- warning: capture of 'handle' with non-sendable type '(() -> EventLoopFuture<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'
21 | } else {
22 | promise.succeed(())
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:19:35: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | switch res {
18 | case .success:
19 | if let next = iterator.next() {
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | handle(next)
21 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/EventLoopFuture+SyncFlatten.swift:15:14: warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
13 |
14 | var iterator = self.makeIterator()
15 | func handle(_ future: () -> EventLoopFuture<Void>) {
| `- warning: concurrently-executed local function 'handle' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
16 | future().whenComplete { res in
17 | switch res {
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:62: warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- warning: capture of 'db' with non-sendable type 'any AnyDatabaseIdentifiable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyDatabaseIdentifiable.swift:11:17: note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | public protocol AnyDatabaseIdentifiable {
| `- note: protocol 'AnyDatabaseIdentifiable' does not conform to the 'Sendable' protocol
12 | func all<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<[T]> where T: Table
13 | func first<T>(_ table: T.Type, on bridges: AnyBridgesObject) -> EventLoopFuture<T?> where T: Table
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Extensions/SwifQLable+Execute.swift:58:77: warning: capture of 'container' with non-sendable type 'any AnyBridgesObject' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | return container.eventLoop.makeFailedFuture(BridgesError.nonGenericDatabaseIdentifier)
57 | }
58 | return db.query(self, on: container).map { .init(db: db, container: container, rows: $0) }
| `- 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 | }
60 | }
/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/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
Build complete! (62.14s)
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.