The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Bridges, reference 1.0.0-rc.4.13.6 (7ae80c), with Swift 6.0 for Linux on 28 Nov 2024 08:46:00 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

246 |     ) -> EventLoopFuture<Self> {
247 |         conn.eventLoop.future().flatMapThrowing {
248 |             try preActions(self)
    |                            `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
249 |         }.flatMap {
250 |             self.update(on: keyColumn, on: conn)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |             try preActions(self)
249 |         }.flatMap {
250 |             self.update(on: keyColumn, on: conn)
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 |         }
252 |     }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |             try preActions(self)
249 |         }.flatMap {
250 |             self.update(on: keyColumn, on: conn)
    |                             `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 |         }
252 |     }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:250:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
248 |             try preActions(self)
249 |         }.flatMap {
250 |             self.update(on: keyColumn, on: conn)
    |                                            `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
251 |         }
252 |     }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 |     ) -> EventLoopFuture<Void> {
261 |         preActions().flatMap { _ in
262 |             self.updateNonReturning(on: keyColumn, on: conn)
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 |         }
264 |     }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 |     ) -> EventLoopFuture<Void> {
261 |         preActions().flatMap { _ in
262 |             self.updateNonReturning(on: keyColumn, on: conn)
    |                                         `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 |         }
264 |     }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:262:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 |     ) -> EventLoopFuture<Void> {
261 |         preActions().flatMap { _ in
262 |             self.updateNonReturning(on: keyColumn, on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
263 |         }
264 |     }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:271:22: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
269 |         preActions: () -> EventLoopFuture<T>
270 |     ) -> EventLoopFuture<Self> {
271 |         preActions().flatMap { _ in
    |                      `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
272 |             self.update(on: keyColumn, on: conn)
273 |         }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 |     ) -> EventLoopFuture<Self> {
271 |         preActions().flatMap { _ in
272 |             self.update(on: keyColumn, on: conn)
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 |         }
274 |     }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 |     ) -> EventLoopFuture<Self> {
271 |         preActions().flatMap { _ in
272 |             self.update(on: keyColumn, on: conn)
    |                             `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 |         }
274 |     }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:272:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
270 |     ) -> EventLoopFuture<Self> {
271 |         preActions().flatMap { _ in
272 |             self.update(on: keyColumn, on: conn)
    |                                            `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
273 |         }
274 |     }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 |     ) -> EventLoopFuture<Void> {
283 |         preActions(self).flatMap { _ in
284 |             self.updateNonReturning(on: keyColumn, on: conn)
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |         }
286 |     }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:41: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 |     ) -> EventLoopFuture<Void> {
283 |         preActions(self).flatMap { _ in
284 |             self.updateNonReturning(on: keyColumn, on: conn)
    |                                         `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |         }
286 |     }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:284:56: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
282 |     ) -> EventLoopFuture<Void> {
283 |         preActions(self).flatMap { _ in
284 |             self.updateNonReturning(on: keyColumn, on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
285 |         }
286 |     }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:293:26: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
291 |         preActions: (Self) -> EventLoopFuture<T>
292 |     ) -> EventLoopFuture<Self> {
293 |         preActions(self).flatMap { _ in
    |                          `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
294 |             self.update(on: keyColumn, on: conn)
295 |         }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:13: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 |     ) -> EventLoopFuture<Self> {
293 |         preActions(self).flatMap { _ in
294 |             self.update(on: keyColumn, on: conn)
    |             `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 |         }
296 |     }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:29: warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 |     ) -> EventLoopFuture<Self> {
293 |         preActions(self).flatMap { _ in
294 |             self.update(on: keyColumn, on: conn)
    |                             `- warning: capture of 'keyColumn' with non-sendable type 'KeyPath<Self, Column>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 |         }
296 |     }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     deinit
3 | }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:294:44: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
292 |     ) -> EventLoopFuture<Self> {
293 |         preActions(self).flatMap { _ in
294 |             self.update(on: keyColumn, on: conn)
    |                                            `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 |         }
296 |     }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpdate.swift:324:35: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 |         guard items.0.count > 0 else {
323 |             conn.logger.debug("\(Self.tableName) update has been skipped cause nothing to update")
324 |             return conn.eventLoop.makeSucceededFuture(self)
    |                                   `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
325 |         }
326 |         let query = buildUpdateQuery(items: items.0, where: items.1 == items.2, returning: true)
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:211:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
209 |         .all(decoding: Self.self)
210 |         .flatMapThrowing { rows in
211 |             guard let row = rows.first else { return self }
    |                                                      `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 |             return row
213 |         }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:361:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 |         .all(decoding: Self.self)
360 |         .flatMapThrowing { rows in
361 |             guard let row = rows.first else { return self }
    |                                                      `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
362 |             return row
363 |         }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:504:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 |         )
503 |         return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
504 |             guard let row = rows.first else { return self }
    |                                                      `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
505 |             return row
506 |         }
/host/spi-builder-workspace/Sources/Bridges/Helpers/TableUpsert.swift:641:54: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
639 |         )
640 |         return conn.query(sql: query, decoding: Self.self).flatMapThrowing { rows in
641 |             guard let row = rows.first else { return self }
    |                                                      `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
642 |             return row
643 |         }
[1279/1290] Compiling Bridges Connection.swift
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:80:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |                 createBuilder
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:81:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |                     .column(\.$batch, .int)
 83 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:82:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 83 |                     .execute(on: conn)
 84 |             }
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:98:17: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
 96 |         return bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
    |                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
100 |                     : conn.eventLoop.future()
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:99:56: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:102:56: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
    |                                                        `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:107:34: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
    |                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:104:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:105:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:106:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:86: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                                                                      `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:112:38: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
112 |                     var migrations = self.migrations
    |                                      `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     migrations.removeAll { m in completedMigrations.contains { $0.name == m.migrationName } }
114 |                     return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:121:50: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
121 |                                     .execute(on: conn)
    |                                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |                             }
123 |                         }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:140:31: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
139 |             guard let lastBatch = completedMigrations.map({ $0.batch }).max()
140 |                 else { return conn.eventLoop.future(false) }
    |                               `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:142:30: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
140 |                 else { return conn.eventLoop.future(false) }
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
    |                              `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |             migrations.removeAll { m in migrationsToRevert.contains { $0.name != m.migrationName } }
144 |             return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:150:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 |                             .delete(from: self.m.table)
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |                     }
152 |                 }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:165:29: warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                     case .success(let reverted):
164 |                         if reverted {
165 |                             revert()
    |                             |- warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
166 |                         } else {
167 |                             promise.succeed(())
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:160:18: warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 |         bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
159 |             let promise = conn.eventLoop.makePromise(of: Void.self)
160 |             func revert() {
    |                  `- warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 |                 self._revertLast(on: conn).whenComplete { res in
162 |                     switch res {
[1280/1290] Compiling Bridges DatabaseHost.swift
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:80:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |                 createBuilder
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:81:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |                     .column(\.$batch, .int)
 83 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:82:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 83 |                     .execute(on: conn)
 84 |             }
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:98:17: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
 96 |         return bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
    |                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
100 |                     : conn.eventLoop.future()
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:99:56: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:102:56: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
    |                                                        `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:107:34: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
    |                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:104:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:105:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:106:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:86: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                                                                      `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:112:38: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
112 |                     var migrations = self.migrations
    |                                      `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     migrations.removeAll { m in completedMigrations.contains { $0.name == m.migrationName } }
114 |                     return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:121:50: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
121 |                                     .execute(on: conn)
    |                                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |                             }
123 |                         }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:140:31: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
139 |             guard let lastBatch = completedMigrations.map({ $0.batch }).max()
140 |                 else { return conn.eventLoop.future(false) }
    |                               `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:142:30: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
140 |                 else { return conn.eventLoop.future(false) }
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
    |                              `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |             migrations.removeAll { m in migrationsToRevert.contains { $0.name != m.migrationName } }
144 |             return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:150:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 |                             .delete(from: self.m.table)
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |                     }
152 |                 }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:165:29: warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                     case .success(let reverted):
164 |                         if reverted {
165 |                             revert()
    |                             |- warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
166 |                         } else {
167 |                             promise.succeed(())
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:160:18: warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 |         bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
159 |             let promise = conn.eventLoop.makePromise(of: Void.self)
160 |             func revert() {
    |                  `- warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 |                 self._revertLast(on: conn).whenComplete { res in
162 |                     switch res {
[1281/1290] Compiling Bridges DatabaseIdentifier.swift
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:80:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |                 createBuilder
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:81:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |                     .column(\.$batch, .int)
 83 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:82:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 83 |                     .execute(on: conn)
 84 |             }
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:98:17: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
 96 |         return bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
    |                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
100 |                     : conn.eventLoop.future()
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:99:56: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:102:56: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
    |                                                        `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:107:34: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
    |                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:104:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:105:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:106:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:86: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                                                                      `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:112:38: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
112 |                     var migrations = self.migrations
    |                                      `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     migrations.removeAll { m in completedMigrations.contains { $0.name == m.migrationName } }
114 |                     return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:121:50: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
121 |                                     .execute(on: conn)
    |                                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |                             }
123 |                         }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:140:31: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
139 |             guard let lastBatch = completedMigrations.map({ $0.batch }).max()
140 |                 else { return conn.eventLoop.future(false) }
    |                               `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:142:30: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
140 |                 else { return conn.eventLoop.future(false) }
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
    |                              `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |             migrations.removeAll { m in migrationsToRevert.contains { $0.name != m.migrationName } }
144 |             return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:150:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 |                             .delete(from: self.m.table)
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |                     }
152 |                 }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:165:29: warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                     case .success(let reverted):
164 |                         if reverted {
165 |                             revert()
    |                             |- warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
166 |                         } else {
167 |                             promise.succeed(())
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:160:18: warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 |         bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
159 |             let promise = conn.eventLoop.makePromise(of: Void.self)
160 |             func revert() {
    |                  `- warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 |                 self._revertLast(on: conn).whenComplete { res in
162 |                     switch res {
[1282/1290] Compiling Bridges DatabaseMigrations.swift
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:80:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |                 createBuilder
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:81:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |                     .column(\.$batch, .int)
 83 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:82:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 83 |                     .execute(on: conn)
 84 |             }
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:98:17: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
 96 |         return bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
    |                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
100 |                     : conn.eventLoop.future()
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:99:56: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:102:56: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
    |                                                        `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:107:34: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
    |                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:104:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:105:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:106:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:86: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                                                                      `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:112:38: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
112 |                     var migrations = self.migrations
    |                                      `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     migrations.removeAll { m in completedMigrations.contains { $0.name == m.migrationName } }
114 |                     return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:121:50: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
121 |                                     .execute(on: conn)
    |                                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |                             }
123 |                         }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:140:31: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
139 |             guard let lastBatch = completedMigrations.map({ $0.batch }).max()
140 |                 else { return conn.eventLoop.future(false) }
    |                               `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:142:30: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
140 |                 else { return conn.eventLoop.future(false) }
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
    |                              `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |             migrations.removeAll { m in migrationsToRevert.contains { $0.name != m.migrationName } }
144 |             return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:150:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 |                             .delete(from: self.m.table)
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |                     }
152 |                 }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:165:29: warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                     case .success(let reverted):
164 |                         if reverted {
165 |                             revert()
    |                             |- warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
166 |                         } else {
167 |                             promise.succeed(())
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:160:18: warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 |         bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
159 |             let promise = conn.eventLoop.makePromise(of: Void.self)
160 |             func revert() {
    |                  `- warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 |                 self._revertLast(on: conn).whenComplete { res in
162 |                     switch res {
[1283/1290] Compiling Bridges Enum.swift
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:80:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |                 createBuilder
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:81:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |                     .column(\.$batch, .int)
 83 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:82:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 83 |                     .execute(on: conn)
 84 |             }
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:98:17: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
 96 |         return bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
    |                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
100 |                     : conn.eventLoop.future()
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:99:56: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:102:56: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
    |                                                        `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:107:34: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
    |                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:104:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:105:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:106:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:86: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                                                                      `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:112:38: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
112 |                     var migrations = self.migrations
    |                                      `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     migrations.removeAll { m in completedMigrations.contains { $0.name == m.migrationName } }
114 |                     return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:121:50: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
121 |                                     .execute(on: conn)
    |                                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |                             }
123 |                         }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:140:31: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
139 |             guard let lastBatch = completedMigrations.map({ $0.batch }).max()
140 |                 else { return conn.eventLoop.future(false) }
    |                               `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:142:30: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
140 |                 else { return conn.eventLoop.future(false) }
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
    |                              `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |             migrations.removeAll { m in migrationsToRevert.contains { $0.name != m.migrationName } }
144 |             return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:150:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 |                             .delete(from: self.m.table)
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |                     }
152 |                 }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:165:29: warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                     case .success(let reverted):
164 |                         if reverted {
165 |                             revert()
    |                             |- warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
166 |                         } else {
167 |                             promise.succeed(())
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:160:18: warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 |         bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
159 |             let promise = conn.eventLoop.makePromise(of: Void.self)
160 |             func revert() {
    |                  `- warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 |                 self._revertLast(on: conn).whenComplete { res in
162 |                     switch res {
[1284/1290] Compiling Bridges Exports.swift
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:80:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 78 |                 createBuilder
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:81:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 79 |                     .checkIfNotExists()
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 82 |                     .column(\.$batch, .int)
 83 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:82:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 |                     .column(\.$id, .bigserial, .primaryKey)
 81 |                     .column(\.$name, .text, .unique)
 82 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 83 |                     .execute(on: conn)
 84 |             }
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:98:17: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
 96 |         return bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
    |                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
100 |                     : conn.eventLoop.future()
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:99:56: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |             conn.eventLoop.future().flatMap {
 98 |                 self.dedicatedSchema
 99 |                     ? BridgesSchema.Create.prepare(on: conn)
    |                                                        `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:102:56: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
100 |                     : conn.eventLoop.future()
101 |             }.flatMap {
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
    |                                                        `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:107:34: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
    |                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:104:37: warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
102 |                 CreateTableBuilder<Migrations>(schema: self.schemaName)
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
    |                                     `- warning: reference to static property 'bigserial' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:108:23: note: static property declared here
106 |
107 |     /// autoincrementing eight-byte integer
108 |     public static var bigserial: Type = .init("bigserial")
    |                       `- note: static property declared here
109 |     public static var bigserialArray: Type = .init("bigserial[]")
110 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:105:39: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
103 |                     .checkIfNotExists()
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
    |                                       `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
106 |                     .column(\.$batch, .int)
107 |                     .execute(on: conn)
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:129:23: note: static property declared here
127 |
128 |     /// variable-length character string
129 |     public static var text: Type = .init("text")
    |                       `- note: static property declared here
130 |     public static var textArray: Type = .init("text[]")
131 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:106:40: warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 |                     .column(\.$id, .bigserial, .primaryKey)
105 |                     .column(\.$name, .text, .unique)
106 |                     .column(\.$batch, .int)
    |                                        `- warning: reference to static property 'int' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:46:23: note: static property declared here
 44 |
 45 |     /// signed four-byte integer
 46 |     public static var int: Type = .init("int")
    |                       `- note: static property declared here
 47 |     public static var intArray: Type = .init("int[]")
 48 |
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:109:86: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                     .execute(on: conn)
108 |             }.flatMap {
109 |                 let query = SwifQL.select(self.m.table.*).from(self.m.table).prepare(conn.dialect).plain
    |                                                                                      `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:112:38: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
110 |                 return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
111 |                     let batch = completedMigrations.map { $0.batch }.max() ?? 0
112 |                     var migrations = self.migrations
    |                                      `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     migrations.removeAll { m in completedMigrations.contains { $0.name == m.migrationName } }
114 |                     return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:116:51: warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
114 |                     return migrations.map { migration in
115 |                         {
116 |                             migration.prepare(on: conn).flatMap {
    |                                                   `- warning: capture of 'conn' with non-sendable type 'B.Connection' in an isolated closure; this is an error in the Swift 6 language mode
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:118:49: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
116 |                             migration.prepare(on: conn).flatMap {
117 |                                 SwifQL
118 |                                     .insertInto(self.m.table, fields: self.m.$name, self.m.$batch)
    |                                                 `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:121:50: warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                                     .values
120 |                                     .values(migration.migrationName, batch + 1)
121 |                                     .execute(on: conn)
    |                                                  `- warning: capture of 'conn' with non-sendable type 'B.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |                             }
123 |                         }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:140:31: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 |         return conn.query(raw: query, decoding: Migrations.self).flatMap { completedMigrations in
139 |             guard let lastBatch = completedMigrations.map({ $0.batch }).max()
140 |                 else { return conn.eventLoop.future(false) }
    |                               `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:142:30: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
140 |                 else { return conn.eventLoop.future(false) }
141 |             let migrationsToRevert = completedMigrations.filter { $0.batch == lastBatch }
142 |             var migrations = self.migrations
    |                              `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
143 |             migrations.removeAll { m in migrationsToRevert.contains { $0.name != m.migrationName } }
144 |             return migrations.map { migration in
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:146:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
144 |             return migrations.map { migration in
145 |                 {
146 |                     migration.revert(on: conn).flatMap {
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in an isolated closure; this is an error in the Swift 6 language mode
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in an isolated closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:148:43: warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public class BridgeDatabaseMigrations<B: Bridgeable>: Migrator {
    |              `- note: generic class 'BridgeDatabaseMigrations' does not conform to the 'Sendable' protocol
 23 |     var migrations: [AnyMigration.Type] = []
 24 |     let bridge: B
    :
146 |                     migration.revert(on: conn).flatMap {
147 |                         SwifQL
148 |                             .delete(from: self.m.table)
    |                                           `- warning: capture of 'self' with non-sendable type 'BridgeDatabaseMigrations<B>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:150:42: warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 |                             .delete(from: self.m.table)
149 |                             .where(self.m.$name == migration.migrationName)
150 |                             .execute(on: conn)
    |                                          `- warning: capture of 'conn' with non-sendable type 'any BridgeConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |                     }
152 |                 }
/host/spi-builder-workspace/Sources/Bridges/Connection.swift:12:17: note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
10 | import SwifQL
11 |
12 | public protocol BridgeConnection {
   |                 `- note: protocol 'BridgeConnection' does not conform to the 'Sendable' protocol
13 |     var eventLoop: EventLoop { get }
14 |     var logger: Logger { get }
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:165:29: warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |                     case .success(let reverted):
164 |                         if reverted {
165 |                             revert()
    |                             |- warning: capture of 'revert()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
166 |                         } else {
167 |                             promise.succeed(())
/host/spi-builder-workspace/Sources/Bridges/DatabaseMigrations.swift:160:18: warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
158 |         bridge.transaction(to: db, on: bridge.eventLoopGroup.next()) { conn in
159 |             let promise = conn.eventLoop.makePromise(of: Void.self)
160 |             func revert() {
    |                  `- warning: concurrently-executed local function 'revert()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
161 |                 self._revertLast(on: conn).whenComplete { res in
162 |                     switch res {
[1285/1290] Compiling Bridges Bridges.swift
/host/spi-builder-workspace/Sources/Bridges/Builders/CreateEnumBuilder.swift:15:18: warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |             .create
14 |             .type((Enum.self as? Schemable.Type)?.schemaName ?? nil, Enum.name)
15 |             .as(.enum)
   |                  `- warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |             .values(values.count > 0 ? values : Enum.allCases.map { $0.rawValue })
17 |             .semicolon
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:20:23: note: static property declared here
 18 |
 19 |     /// enum
 20 |     public static var `enum`: Type = .init("ENUM")
    |                       `- note: static property declared here
 21 |
 22 |     /// range
[1286/1290] Compiling Bridges BridgesError.swift
/host/spi-builder-workspace/Sources/Bridges/Builders/CreateEnumBuilder.swift:15:18: warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |             .create
14 |             .type((Enum.self as? Schemable.Type)?.schemaName ?? nil, Enum.name)
15 |             .as(.enum)
   |                  `- warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |             .values(values.count > 0 ? values : Enum.allCases.map { $0.rawValue })
17 |             .semicolon
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:20:23: note: static property declared here
 18 |
 19 |     /// enum
 20 |     public static var `enum`: Type = .init("ENUM")
    |                       `- note: static property declared here
 21 |
 22 |     /// range
[1287/1290] Compiling Bridges BridgesRow.swift
/host/spi-builder-workspace/Sources/Bridges/Builders/CreateEnumBuilder.swift:15:18: warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |             .create
14 |             .type((Enum.self as? Schemable.Type)?.schemaName ?? nil, Enum.name)
15 |             .as(.enum)
   |                  `- warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |             .values(values.count > 0 ? values : Enum.allCases.map { $0.rawValue })
17 |             .semicolon
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:20:23: note: static property declared here
 18 |
 19 |     /// enum
 20 |     public static var `enum`: Type = .init("ENUM")
    |                       `- note: static property declared here
 21 |
 22 |     /// range
[1288/1290] Compiling Bridges CreateEnumBuilder.swift
/host/spi-builder-workspace/Sources/Bridges/Builders/CreateEnumBuilder.swift:15:18: warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |             .create
14 |             .type((Enum.self as? Schemable.Type)?.schemaName ?? nil, Enum.name)
15 |             .as(.enum)
   |                  `- warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |             .values(values.count > 0 ? values : Enum.allCases.map { $0.rawValue })
17 |             .semicolon
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:20:23: note: static property declared here
 18 |
 19 |     /// enum
 20 |     public static var `enum`: Type = .init("ENUM")
    |                       `- note: static property declared here
 21 |
 22 |     /// range
[1289/1290] Compiling Bridges DropEnumBuilder.swift
/host/spi-builder-workspace/Sources/Bridges/Builders/CreateEnumBuilder.swift:15:18: warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |             .create
14 |             .type((Enum.self as? Schemable.Type)?.schemaName ?? nil, Enum.name)
15 |             .as(.enum)
   |                  `- warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |             .values(values.count > 0 ? values : Enum.allCases.map { $0.rawValue })
17 |             .semicolon
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:20:23: note: static property declared here
 18 |
 19 |     /// enum
 20 |     public static var `enum`: Type = .init("ENUM")
    |                       `- note: static property declared here
 21 |
 22 |     /// range
[1290/1290] Compiling Bridges UpdateEnumBuilder.swift
/host/spi-builder-workspace/Sources/Bridges/Builders/CreateEnumBuilder.swift:15:18: warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
13 |             .create
14 |             .type((Enum.self as? Schemable.Type)?.schemaName ?? nil, Enum.name)
15 |             .as(.enum)
   |                  `- warning: reference to static property 'enum' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
16 |             .values(values.count > 0 ? values : Enum.allCases.map { $0.rawValue })
17 |             .semicolon
/host/spi-builder-workspace/.build/checkouts/SwifQL/Sources/SwifQL/Type.swift:20:23: note: static property declared here
 18 |
 19 |     /// enum
 20 |     public static var `enum`: Type = .init("ENUM")
    |                       `- note: static property declared here
 21 |
 22 |     /// range
Build complete! (144.21s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.