Build Information
Successful build of Bridges, reference 1.0.0-rc.4.13.6 (7ae80c
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 17:56:32 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
223 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
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
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
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
249 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
269 | preActions: () -> EventLoopFuture<T>
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
291 | preActions: (Self) -> EventLoopFuture<T>
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
642 | return row
643 | }
[1247/1262] Compiling Bridges TableInsert.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
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
| `- 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
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
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
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
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
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
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
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
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
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
45 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
73 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
95 | preActions: () -> EventLoopFuture<T>
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
119 | preActions: (Self) -> EventLoopFuture<T>
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
223 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
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
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
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
249 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
269 | preActions: () -> EventLoopFuture<T>
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
291 | preActions: (Self) -> EventLoopFuture<T>
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
642 | return row
643 | }
[1248/1262] 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
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
| `- 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
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
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
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
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
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
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
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
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
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
45 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
73 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
95 | preActions: () -> EventLoopFuture<T>
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
119 | preActions: (Self) -> EventLoopFuture<T>
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
223 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
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
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
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
249 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
269 | preActions: () -> EventLoopFuture<T>
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
291 | preActions: (Self) -> EventLoopFuture<T>
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
642 | return row
643 | }
[1249/1262] 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
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
| `- 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
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
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
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
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
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
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
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
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
43 | container.eventLoop.future().flatMapThrowing {
44 | try preActions()
45 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
73 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
95 | preActions: () -> EventLoopFuture<T>
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
119 | preActions: (Self) -> EventLoopFuture<T>
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
221 | conn.eventLoop.future().flatMapThrowing {
222 | try preActions()
223 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
| `- 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
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
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
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
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
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
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
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
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
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
249 | }.flatMap {
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
| `- 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
269 | preActions: () -> EventLoopFuture<T>
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
291 | preActions: (Self) -> EventLoopFuture<T>
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
| `- warning: type 'Self' does not conform to the 'Sendable' protocol
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
642 | return row
643 | }
[1250/1262] Compiling Bridges Bridges.swift
[1251/1262] Compiling Bridges BridgesError.swift
[1252/1262] Compiling Bridges BridgesRow.swift
[1253/1262] Compiling Bridges CreateEnumBuilder.swift
[1254/1262] Compiling Bridges DropEnumBuilder.swift
[1255/1262] Compiling Bridges AnyBridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridge.swift:11:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Logging
10 |
11 | public protocol AnyBridge: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | static var name: String { get }
13 |
[1256/1262] Compiling Bridges AnyBridgesObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridge.swift:11:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Logging
10 |
11 | public protocol AnyBridge: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | static var name: String { get }
13 |
[1257/1262] Compiling Bridges AnyDatabaseIdentifiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridge.swift:11:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Logging
10 |
11 | public protocol AnyBridge: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | static var name: String { get }
13 |
[1258/1262] Compiling Bridges AnyMigration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Bridges/Protocols/AnyBridge.swift:11:28: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Logging
10 |
11 | public protocol AnyBridge: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | static var name: String { get }
13 |
[1259/1262] Compiling Bridges AutoCreateTableMigration.swift
[1260/1262] Compiling Bridges Bridgeable.swift
[1261/1262] Compiling Bridges BridgesApplication.swift
[1262/1262] Compiling Bridges BridgesRequest.swift
Build complete! (33.09s)
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.