Build Information
Successful build of Bridges, reference master (7ae80c
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 06:20:23 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
626 |
627 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
628 | conflictConstraint: KeyPathLastPath,
629 | excluding: [KeyPathLastPath],
[1273/1277] Compiling Bridges Table+AllColumns.swift
/host/spi-builder-workspace/Sources/Bridges/Helpers/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableDelete.swift:47:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 | .all(decoding: Self.self)
46 | .flatMapThrowing { rows in
47 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
48 | return row
49 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:81:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
79 | .all(decoding: Self.self)
80 | .flatMapThrowing { rows in
81 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | return row
83 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:116:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
114 | let query = buildInsertQuery(schema: schema, items: allColumns(logger: conn.logger), returning: true)
115 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
116 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
117 | return row
118 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:24:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
22 | // MARK: Standalone
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
25 | on keyColumn: KeyPath<Self, Column>,
26 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:25:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
25 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
26 | on db: DatabaseIdentifier,
27 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:37:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
35 | }
36 |
37 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
38 | on keyColumn: KeyPath<Self, Column>,
39 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:38:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
36 |
37 | public func update<Column: ColumnRepresentable>(
38 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
39 | on db: DatabaseIdentifier,
40 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:56:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
56 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:52:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
50 | ///
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
53 | on keyColumn: KeyPath<Self, Column>,
54 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:53:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
53 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:69:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
69 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:65:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
63 | }
64 |
65 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
66 | on keyColumn: KeyPath<Self, Column>,
67 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:66:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
64 |
65 | public func update<Column: ColumnRepresentable>(
66 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:80:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
78 | ///
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
81 | on keyColumn: KeyPath<Self, Column>,
82 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:81:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
81 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
82 | on db: DatabaseIdentifier,
83 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:91:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
89 | }
90 |
91 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
92 | on keyColumn: KeyPath<Self, Column>,
93 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:92:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
90 |
91 | public func update<Column: ColumnRepresentable, T>(
92 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
93 | on db: DatabaseIdentifier,
94 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:104:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
102 | ///
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
105 | on keyColumn: KeyPath<Self, Column>,
106 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:105:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
105 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
106 | on db: DatabaseIdentifier,
107 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:115:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
113 | }
114 |
115 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
116 | on keyColumn: KeyPath<Self, Column>,
117 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:116:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
114 |
115 | public func update<Column: ColumnRepresentable, T>(
116 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
117 | on db: DatabaseIdentifier,
118 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:161:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
159 | .all(decoding: Self.self)
160 | .flatMapThrowing { rows in
161 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
162 | return row
163 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:197:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
195 | .all(decoding: Self.self)
196 | .flatMapThrowing { rows in
197 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
198 | return row
199 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:204:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
202 | // MARK: On connection
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
205 | on keyColumn: KeyPath<Self, Column>,
206 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:205:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
205 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
206 | on conn: BridgeConnection,
207 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:216:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
214 | }
215 |
216 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
217 | on keyColumn: KeyPath<Self, Column>,
218 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:217:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
215 |
216 | public func update<Column: ColumnRepresentable>(
217 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
218 | on conn: BridgeConnection,
219 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:233:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:230:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
228 | ///
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:231:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
231 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:245:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:242:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
240 | }
241 |
242 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:243:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
241 |
242 | public func update<Column: ColumnRepresentable>(
243 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:256:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | ///
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
257 | on keyColumn: KeyPath<Self, Column>,
258 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:257:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
257 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
258 | on conn: BridgeConnection,
259 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:266:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
264 | }
265 |
266 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
267 | on keyColumn: KeyPath<Self, Column>,
268 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:267:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
265 |
266 | public func update<Column: ColumnRepresentable, T>(
267 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
268 | on conn: BridgeConnection,
269 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:278:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
276 | ///
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
279 | on keyColumn: KeyPath<Self, Column>,
280 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:279:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
279 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
280 | on conn: BridgeConnection,
281 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:288:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
286 | }
287 |
288 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
289 | on keyColumn: KeyPath<Self, Column>,
290 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:289:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
287 |
288 | public func update<Column: ColumnRepresentable, T>(
289 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
290 | on conn: BridgeConnection,
291 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:328:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
327 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
328 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
329 | return row
330 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
212 | return row
213 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:191:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
189 | }
190 |
191 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
192 | conflictColumn: KeyPath<Self, Column>,
193 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
362 | return row
363 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:344:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
342 | }
343 |
344 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
345 | conflictConstraint: KeyPathLastPath,
346 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
505 | return row
506 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:487:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
485 | }
486 |
487 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
488 | conflictColumn: KeyPath<Self, Column>,
489 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
642 | return row
643 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:627:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
625 | }
626 |
627 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
628 | conflictConstraint: KeyPathLastPath,
629 | excluding: [KeyPathLastPath],
[1274/1277] Compiling Bridges TableDelete.swift
/host/spi-builder-workspace/Sources/Bridges/Helpers/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableDelete.swift:47:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 | .all(decoding: Self.self)
46 | .flatMapThrowing { rows in
47 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
48 | return row
49 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:81:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
79 | .all(decoding: Self.self)
80 | .flatMapThrowing { rows in
81 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | return row
83 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:116:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
114 | let query = buildInsertQuery(schema: schema, items: allColumns(logger: conn.logger), returning: true)
115 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
116 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
117 | return row
118 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:24:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
22 | // MARK: Standalone
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
25 | on keyColumn: KeyPath<Self, Column>,
26 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:25:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
25 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
26 | on db: DatabaseIdentifier,
27 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:37:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
35 | }
36 |
37 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
38 | on keyColumn: KeyPath<Self, Column>,
39 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:38:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
36 |
37 | public func update<Column: ColumnRepresentable>(
38 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
39 | on db: DatabaseIdentifier,
40 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:56:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
56 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:52:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
50 | ///
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
53 | on keyColumn: KeyPath<Self, Column>,
54 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:53:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
53 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:69:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
69 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:65:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
63 | }
64 |
65 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
66 | on keyColumn: KeyPath<Self, Column>,
67 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:66:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
64 |
65 | public func update<Column: ColumnRepresentable>(
66 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:80:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
78 | ///
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
81 | on keyColumn: KeyPath<Self, Column>,
82 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:81:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
81 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
82 | on db: DatabaseIdentifier,
83 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:91:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
89 | }
90 |
91 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
92 | on keyColumn: KeyPath<Self, Column>,
93 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:92:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
90 |
91 | public func update<Column: ColumnRepresentable, T>(
92 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
93 | on db: DatabaseIdentifier,
94 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:104:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
102 | ///
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
105 | on keyColumn: KeyPath<Self, Column>,
106 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:105:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
105 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
106 | on db: DatabaseIdentifier,
107 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:115:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
113 | }
114 |
115 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
116 | on keyColumn: KeyPath<Self, Column>,
117 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:116:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
114 |
115 | public func update<Column: ColumnRepresentable, T>(
116 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
117 | on db: DatabaseIdentifier,
118 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:161:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
159 | .all(decoding: Self.self)
160 | .flatMapThrowing { rows in
161 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
162 | return row
163 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:197:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
195 | .all(decoding: Self.self)
196 | .flatMapThrowing { rows in
197 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
198 | return row
199 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:204:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
202 | // MARK: On connection
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
205 | on keyColumn: KeyPath<Self, Column>,
206 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:205:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
205 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
206 | on conn: BridgeConnection,
207 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:216:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
214 | }
215 |
216 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
217 | on keyColumn: KeyPath<Self, Column>,
218 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:217:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
215 |
216 | public func update<Column: ColumnRepresentable>(
217 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
218 | on conn: BridgeConnection,
219 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:233:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:230:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
228 | ///
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:231:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
231 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:245:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:242:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
240 | }
241 |
242 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:243:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
241 |
242 | public func update<Column: ColumnRepresentable>(
243 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:256:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | ///
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
257 | on keyColumn: KeyPath<Self, Column>,
258 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:257:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
257 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
258 | on conn: BridgeConnection,
259 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:266:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
264 | }
265 |
266 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
267 | on keyColumn: KeyPath<Self, Column>,
268 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:267:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
265 |
266 | public func update<Column: ColumnRepresentable, T>(
267 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
268 | on conn: BridgeConnection,
269 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:278:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
276 | ///
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
279 | on keyColumn: KeyPath<Self, Column>,
280 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:279:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
279 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
280 | on conn: BridgeConnection,
281 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:288:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
286 | }
287 |
288 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
289 | on keyColumn: KeyPath<Self, Column>,
290 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:289:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
287 |
288 | public func update<Column: ColumnRepresentable, T>(
289 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
290 | on conn: BridgeConnection,
291 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:328:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
327 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
328 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
329 | return row
330 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
212 | return row
213 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:191:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
189 | }
190 |
191 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
192 | conflictColumn: KeyPath<Self, Column>,
193 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
362 | return row
363 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:344:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
342 | }
343 |
344 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
345 | conflictConstraint: KeyPathLastPath,
346 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
505 | return row
506 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:487:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
485 | }
486 |
487 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
488 | conflictColumn: KeyPath<Self, Column>,
489 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
642 | return row
643 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:627:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
625 | }
626 |
627 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
628 | conflictConstraint: KeyPathLastPath,
629 | excluding: [KeyPathLastPath],
[1275/1277] Compiling Bridges TableInsert.swift
/host/spi-builder-workspace/Sources/Bridges/Helpers/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableDelete.swift:47:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 | .all(decoding: Self.self)
46 | .flatMapThrowing { rows in
47 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
48 | return row
49 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:81:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
79 | .all(decoding: Self.self)
80 | .flatMapThrowing { rows in
81 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | return row
83 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:116:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
114 | let query = buildInsertQuery(schema: schema, items: allColumns(logger: conn.logger), returning: true)
115 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
116 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
117 | return row
118 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:24:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
22 | // MARK: Standalone
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
25 | on keyColumn: KeyPath<Self, Column>,
26 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:25:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
25 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
26 | on db: DatabaseIdentifier,
27 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:37:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
35 | }
36 |
37 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
38 | on keyColumn: KeyPath<Self, Column>,
39 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:38:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
36 |
37 | public func update<Column: ColumnRepresentable>(
38 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
39 | on db: DatabaseIdentifier,
40 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:56:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
56 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:52:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
50 | ///
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
53 | on keyColumn: KeyPath<Self, Column>,
54 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:53:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
53 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:69:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
69 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:65:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
63 | }
64 |
65 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
66 | on keyColumn: KeyPath<Self, Column>,
67 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:66:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
64 |
65 | public func update<Column: ColumnRepresentable>(
66 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:80:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
78 | ///
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
81 | on keyColumn: KeyPath<Self, Column>,
82 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:81:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
81 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
82 | on db: DatabaseIdentifier,
83 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:91:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
89 | }
90 |
91 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
92 | on keyColumn: KeyPath<Self, Column>,
93 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:92:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
90 |
91 | public func update<Column: ColumnRepresentable, T>(
92 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
93 | on db: DatabaseIdentifier,
94 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:104:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
102 | ///
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
105 | on keyColumn: KeyPath<Self, Column>,
106 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:105:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
105 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
106 | on db: DatabaseIdentifier,
107 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:115:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
113 | }
114 |
115 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
116 | on keyColumn: KeyPath<Self, Column>,
117 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:116:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
114 |
115 | public func update<Column: ColumnRepresentable, T>(
116 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
117 | on db: DatabaseIdentifier,
118 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:161:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
159 | .all(decoding: Self.self)
160 | .flatMapThrowing { rows in
161 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
162 | return row
163 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:197:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
195 | .all(decoding: Self.self)
196 | .flatMapThrowing { rows in
197 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
198 | return row
199 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:204:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
202 | // MARK: On connection
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
205 | on keyColumn: KeyPath<Self, Column>,
206 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:205:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
205 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
206 | on conn: BridgeConnection,
207 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:216:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
214 | }
215 |
216 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
217 | on keyColumn: KeyPath<Self, Column>,
218 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:217:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
215 |
216 | public func update<Column: ColumnRepresentable>(
217 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
218 | on conn: BridgeConnection,
219 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:233:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:230:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
228 | ///
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:231:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
231 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:245:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:242:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
240 | }
241 |
242 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:243:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
241 |
242 | public func update<Column: ColumnRepresentable>(
243 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:256:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | ///
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
257 | on keyColumn: KeyPath<Self, Column>,
258 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:257:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
257 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
258 | on conn: BridgeConnection,
259 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:266:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
264 | }
265 |
266 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
267 | on keyColumn: KeyPath<Self, Column>,
268 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:267:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
265 |
266 | public func update<Column: ColumnRepresentable, T>(
267 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
268 | on conn: BridgeConnection,
269 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:278:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
276 | ///
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
279 | on keyColumn: KeyPath<Self, Column>,
280 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:279:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
279 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
280 | on conn: BridgeConnection,
281 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:288:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
286 | }
287 |
288 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
289 | on keyColumn: KeyPath<Self, Column>,
290 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:289:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
287 |
288 | public func update<Column: ColumnRepresentable, T>(
289 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
290 | on conn: BridgeConnection,
291 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:328:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
327 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
328 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
329 | return row
330 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
212 | return row
213 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:191:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
189 | }
190 |
191 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
192 | conflictColumn: KeyPath<Self, Column>,
193 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
362 | return row
363 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:344:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
342 | }
343 |
344 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
345 | conflictConstraint: KeyPathLastPath,
346 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
505 | return row
506 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:487:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
485 | }
486 |
487 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
488 | conflictColumn: KeyPath<Self, Column>,
489 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
642 | return row
643 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:627:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
625 | }
626 |
627 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
628 | conflictConstraint: KeyPathLastPath,
629 | excluding: [KeyPathLastPath],
[1276/1277] Compiling Bridges TableUpdate.swift
/host/spi-builder-workspace/Sources/Bridges/Helpers/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableDelete.swift:47:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 | .all(decoding: Self.self)
46 | .flatMapThrowing { rows in
47 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
48 | return row
49 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:81:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
79 | .all(decoding: Self.self)
80 | .flatMapThrowing { rows in
81 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | return row
83 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:116:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
114 | let query = buildInsertQuery(schema: schema, items: allColumns(logger: conn.logger), returning: true)
115 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
116 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
117 | return row
118 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:24:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
22 | // MARK: Standalone
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
25 | on keyColumn: KeyPath<Self, Column>,
26 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:25:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
25 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
26 | on db: DatabaseIdentifier,
27 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:37:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
35 | }
36 |
37 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
38 | on keyColumn: KeyPath<Self, Column>,
39 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:38:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
36 |
37 | public func update<Column: ColumnRepresentable>(
38 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
39 | on db: DatabaseIdentifier,
40 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:56:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
56 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:52:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
50 | ///
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
53 | on keyColumn: KeyPath<Self, Column>,
54 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:53:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
53 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:69:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
69 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:65:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
63 | }
64 |
65 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
66 | on keyColumn: KeyPath<Self, Column>,
67 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:66:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
64 |
65 | public func update<Column: ColumnRepresentable>(
66 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:80:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
78 | ///
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
81 | on keyColumn: KeyPath<Self, Column>,
82 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:81:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
81 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
82 | on db: DatabaseIdentifier,
83 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:91:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
89 | }
90 |
91 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
92 | on keyColumn: KeyPath<Self, Column>,
93 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:92:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
90 |
91 | public func update<Column: ColumnRepresentable, T>(
92 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
93 | on db: DatabaseIdentifier,
94 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:104:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
102 | ///
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
105 | on keyColumn: KeyPath<Self, Column>,
106 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:105:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
105 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
106 | on db: DatabaseIdentifier,
107 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:115:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
113 | }
114 |
115 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
116 | on keyColumn: KeyPath<Self, Column>,
117 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:116:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
114 |
115 | public func update<Column: ColumnRepresentable, T>(
116 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
117 | on db: DatabaseIdentifier,
118 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:161:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
159 | .all(decoding: Self.self)
160 | .flatMapThrowing { rows in
161 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
162 | return row
163 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:197:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
195 | .all(decoding: Self.self)
196 | .flatMapThrowing { rows in
197 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
198 | return row
199 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:204:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
202 | // MARK: On connection
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
205 | on keyColumn: KeyPath<Self, Column>,
206 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:205:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
205 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
206 | on conn: BridgeConnection,
207 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:216:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
214 | }
215 |
216 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
217 | on keyColumn: KeyPath<Self, Column>,
218 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:217:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
215 |
216 | public func update<Column: ColumnRepresentable>(
217 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
218 | on conn: BridgeConnection,
219 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:233:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:230:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
228 | ///
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:231:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
231 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:245:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:242:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
240 | }
241 |
242 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:243:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
241 |
242 | public func update<Column: ColumnRepresentable>(
243 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:256:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | ///
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
257 | on keyColumn: KeyPath<Self, Column>,
258 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:257:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
257 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
258 | on conn: BridgeConnection,
259 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:266:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
264 | }
265 |
266 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
267 | on keyColumn: KeyPath<Self, Column>,
268 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:267:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
265 |
266 | public func update<Column: ColumnRepresentable, T>(
267 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
268 | on conn: BridgeConnection,
269 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:278:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
276 | ///
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
279 | on keyColumn: KeyPath<Self, Column>,
280 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:279:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
279 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
280 | on conn: BridgeConnection,
281 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:288:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
286 | }
287 |
288 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
289 | on keyColumn: KeyPath<Self, Column>,
290 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:289:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
287 |
288 | public func update<Column: ColumnRepresentable, T>(
289 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
290 | on conn: BridgeConnection,
291 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:328:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
327 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
328 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
329 | return row
330 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
212 | return row
213 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:191:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
189 | }
190 |
191 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
192 | conflictColumn: KeyPath<Self, Column>,
193 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
362 | return row
363 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:344:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
342 | }
343 |
344 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
345 | conflictConstraint: KeyPathLastPath,
346 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
505 | return row
506 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:487:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
485 | }
486 |
487 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
488 | conflictColumn: KeyPath<Self, Column>,
489 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
642 | return row
643 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:627:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
625 | }
626 |
627 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
628 | conflictConstraint: KeyPathLastPath,
629 | excluding: [KeyPathLastPath],
[1277/1277] Compiling Bridges TableUpsert.swift
/host/spi-builder-workspace/Sources/Bridges/Helpers/DateFormatter.swift:12:14: warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
10 | /// Custom DateFormatter to parse dates both with milliseconds and without, with timezone and without
11 | /// credits to https://stackoverflow.com/questions/48371082/swift-dateformatter-optional-milliseconds
12 | public class BridgesDateFormatter: DateFormatter {
| `- warning: class 'BridgesDateFormatter' must restate inherited '@unchecked Sendable' conformance
13 | override public init() {
14 | super.init()
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableDelete.swift:47:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
45 | .all(decoding: Self.self)
46 | .flatMapThrowing { rows in
47 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
48 | return row
49 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:81:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
79 | .all(decoding: Self.self)
80 | .flatMapThrowing { rows in
81 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | return row
83 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableInsert.swift:116:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
114 | let query = buildInsertQuery(schema: schema, items: allColumns(logger: conn.logger), returning: true)
115 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
116 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
117 | return row
118 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:33:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
31 | try preActions()
32 | }.flatMap {
33 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
34 | }
35 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:24:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
22 | // MARK: Standalone
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
25 | on keyColumn: KeyPath<Self, Column>,
26 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:25:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
23 |
24 | public func updateNonReturning<Column: ColumnRepresentable>(
25 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
26 | on db: DatabaseIdentifier,
27 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:46:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
44 | try preActions()
45 | }.flatMap {
46 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
47 | }
48 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:37:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
35 | }
36 |
37 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
38 | on keyColumn: KeyPath<Self, Column>,
39 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:38:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
36 |
37 | public func update<Column: ColumnRepresentable>(
38 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
39 | on db: DatabaseIdentifier,
40 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:59:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
59 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:56:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
56 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
57 | ) -> EventLoopFuture<Void> {
58 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:61:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
59 | try preActions(self)
60 | }.flatMap {
61 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
62 | }
63 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:52:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
50 | ///
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
53 | on keyColumn: KeyPath<Self, Column>,
54 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:53:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
51 |
52 | public func updateNonReturning<Column: ColumnRepresentable>(
53 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
54 | on db: DatabaseIdentifier,
55 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:72:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
72 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:69:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
69 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
70 | ) -> EventLoopFuture<Self> {
71 | container.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:74:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
72 | try preActions(self)
73 | }.flatMap {
74 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
75 | }
76 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:65:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
63 | }
64 |
65 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
66 | on keyColumn: KeyPath<Self, Column>,
67 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:66:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
64 |
65 | public func update<Column: ColumnRepresentable>(
66 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
67 | on db: DatabaseIdentifier,
68 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:87:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
85 | ) -> EventLoopFuture<Void> {
86 | preActions().flatMap { _ in
87 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
88 | }
89 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:80:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
78 | ///
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
81 | on keyColumn: KeyPath<Self, Column>,
82 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:81:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
79 |
80 | public func updateNonReturning<Column: ColumnRepresentable, T>(
81 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
82 | on db: DatabaseIdentifier,
83 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:98:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
96 | ) -> EventLoopFuture<Self> {
97 | preActions().flatMap { _ in
98 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
99 | }
100 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:91:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
89 | }
90 |
91 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
92 | on keyColumn: KeyPath<Self, Column>,
93 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:92:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
90 |
91 | public func update<Column: ColumnRepresentable, T>(
92 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
93 | on db: DatabaseIdentifier,
94 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:111:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
109 | ) -> EventLoopFuture<Void> {
110 | preActions(self).flatMap { _ in
111 | self.updateNonReturning(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
112 | }
113 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:104:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
102 | ///
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
105 | on keyColumn: KeyPath<Self, Column>,
106 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:105:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
103 |
104 | public func updateNonReturning<Column: ColumnRepresentable, T>(
105 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
106 | on db: DatabaseIdentifier,
107 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:122:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
120 | ) -> EventLoopFuture<Self> {
121 | preActions(self).flatMap { _ in
122 | self.update(on: keyColumn, on: db, on: container)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
123 | }
124 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:115:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
113 | }
114 |
115 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
116 | on keyColumn: KeyPath<Self, Column>,
117 | on db: DatabaseIdentifier,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:116:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
114 |
115 | public func update<Column: ColumnRepresentable, T>(
116 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
117 | on db: DatabaseIdentifier,
118 | on container: AnyBridgesObject,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:161:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
159 | .all(decoding: Self.self)
160 | .flatMapThrowing { rows in
161 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
162 | return row
163 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:197:38: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
195 | .all(decoding: Self.self)
196 | .flatMapThrowing { rows in
197 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
198 | return row
199 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:212:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
210 | try preActions()
211 | }.flatMap {
212 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
213 | }
214 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:204:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
202 | // MARK: On connection
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
205 | on keyColumn: KeyPath<Self, Column>,
206 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:205:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
203 |
204 | public func updateNonReturning<Column: ColumnRepresentable>(
205 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
206 | on conn: BridgeConnection,
207 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:224:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
222 | try preActions()
223 | }.flatMap {
224 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
225 | }
226 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:216:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
214 | }
215 |
216 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
217 | on keyColumn: KeyPath<Self, Column>,
218 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:217:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
215 |
216 | public func update<Column: ColumnRepresentable>(
217 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
218 | on conn: BridgeConnection,
219 | preActions: @escaping () throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:236:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
236 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:233:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | ) -> EventLoopFuture<Void> {
235 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:238:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
236 | try preActions(self)
237 | }.flatMap {
238 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
239 | }
240 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:230:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
228 | ///
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
231 | on keyColumn: KeyPath<Self, Column>,
232 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:231:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
229 |
230 | public func updateNonReturning<Column: ColumnRepresentable>(
231 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
232 | on conn: BridgeConnection,
233 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:248:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
248 | try preActions(self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:245:9: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
246 | ) -> EventLoopFuture<Self> {
247 | conn.eventLoop.future().flatMapThrowing {
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
248 | try preActions(self)
249 | }.flatMap {
250 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
251 | }
252 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:242:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
240 | }
241 |
242 | public func update<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
243 | on keyColumn: KeyPath<Self, Column>,
244 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:243:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
241 |
242 | public func update<Column: ColumnRepresentable>(
243 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
244 | on conn: BridgeConnection,
245 | preActions: @escaping (Self) throws -> Void
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
260 | ) -> EventLoopFuture<Void> {
261 | preActions().flatMap { _ in
262 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
263 | }
264 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:256:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | ///
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
257 | on keyColumn: KeyPath<Self, Column>,
258 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:257:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
255 |
256 | public func updateNonReturning<Column: ColumnRepresentable, T>(
257 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
258 | on conn: BridgeConnection,
259 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
270 | ) -> EventLoopFuture<Self> {
271 | preActions().flatMap { _ in
272 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
273 | }
274 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:266:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
264 | }
265 |
266 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
267 | on keyColumn: KeyPath<Self, Column>,
268 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:267:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
265 |
266 | public func update<Column: ColumnRepresentable, T>(
267 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
268 | on conn: BridgeConnection,
269 | preActions: () -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
282 | ) -> EventLoopFuture<Void> {
283 | preActions(self).flatMap { _ in
284 | self.updateNonReturning(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
285 | }
286 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:278:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
276 | ///
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
279 | on keyColumn: KeyPath<Self, Column>,
280 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:279:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
277 |
278 | public func updateNonReturning<Column: ColumnRepresentable, T>(
279 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
280 | on conn: BridgeConnection,
281 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:18: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
292 | ) -> EventLoopFuture<Self> {
293 | preActions(self).flatMap { _ in
294 | self.update(on: keyColumn, on: conn)
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
295 | }
296 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:288:17: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
286 | }
287 |
288 | public func update<Column: ColumnRepresentable, T>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
289 | on keyColumn: KeyPath<Self, Column>,
290 | on conn: BridgeConnection,
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:289:12: warning: capture of non-Sendable type 'Column.Type' in an isolated closure
287 |
288 | public func update<Column: ColumnRepresentable, T>(
289 | on keyColumn: KeyPath<Self, Column>,
| `- warning: capture of non-Sendable type 'Column.Type' in an isolated closure
290 | on conn: BridgeConnection,
291 | preActions: (Self) -> EventLoopFuture<T>
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:328:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
326 | let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
327 | return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
328 | guard let row = rows.first else { throw BridgesError.failedToDecodeWithReturning }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
329 | return row
330 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
209 | .all(decoding: Self.self)
210 | .flatMapThrowing { rows in
211 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
212 | return row
213 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:191:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
189 | }
190 |
191 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
192 | conflictColumn: KeyPath<Self, Column>,
193 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:34: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
359 | .all(decoding: Self.self)
360 | .flatMapThrowing { rows in
361 | guard let row = rows.first else { return self }
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
362 | return row
363 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:344:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
342 | }
343 |
344 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
345 | conflictConstraint: KeyPathLastPath,
346 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
505 | return row
506 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:487:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
485 | }
486 |
487 | private func _upsert<Column: ColumnRepresentable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
488 | conflictColumn: KeyPath<Self, Column>,
489 | excluding: [KeyPathLastPath],
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:34: warning: capture of non-Sendable type 'Self.Type' in an isolated 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 non-Sendable type 'Self.Type' in an isolated closure
642 | return row
643 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:627:18: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
625 | }
626 |
627 | private func _upsert(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
628 | conflictConstraint: KeyPathLastPath,
629 | excluding: [KeyPathLastPath],
Build complete! (337.44s)
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" : "/host/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"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.