Build Information
Successful build of SQLite.swift, reference 0.15.4 (392dd6
), with Swift 6.1 for Linux on 13 Jun 2025 22:13:59 UTC.
Swift 6 data race errors: 42
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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
57 |
58 | public typealias UnderlyingType = Datatype
:
136 | }
137 |
138 | public let rowid = Expression<Int64>("ROWID")
| |- warning: let 'rowid' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rowid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | public func cast<T: Value, U: Value>(_ expression: Expression<T>) -> Expression<U> {
[27/40] Compiling SQLite Query+with.swift
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:138:12: warning: let 'rowid' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
:
136 | }
137 |
138 | public let rowid = Expression<Int64>("ROWID")
| |- warning: let 'rowid' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'rowid' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | public func cast<T: Value, U: Value>(_ expression: Expression<T>) -> Expression<U> {
[28/40] Compiling SQLite FTS5.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[29/40] Compiling SQLite RTree.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[30/40] Compiling SQLite Foundation.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[31/40] Compiling SQLite Helpers.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[32/40] Compiling SQLite Connection+Schema.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | /// If multiple date formats are used in an application’s database(s), use a
63 | /// custom `Value` type per additional format.
64 | public var dateFormatter: DateFormatter = {
| |- warning: var 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'dateFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | let formatter = DateFormatter()
66 | formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS"
[33/40] Compiling SQLite SchemaChanger.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:154:24: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:155:24: warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
155 | private static let tempName = Table("sqlite_schema", database: "temp")
| |- warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:157:24: warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
| |- warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'masterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private static let tempMasterName = Table("sqlite_temp_master")
159 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:158:24: warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
158 | private static let tempMasterName = Table("sqlite_temp_master")
| |- warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempMasterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | static func get(for connection: Connection, temp: Bool = false) -> Table {
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:169:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | // columns
169 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:170:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
168 | // columns
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:171:16: warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
| |- warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableNameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:172:16: warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
| |- warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootPageColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | static let sqlColumn = Expression<String?>("sql")
174 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:173:16: warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
| |- warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sqlColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | }
175 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:177:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:178:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:179:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:180:16: warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
| |- warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notNullColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:181:16: warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
| |- warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
183 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:182:16: warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
| |- warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryKeyColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | }
184 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:187:16: warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
185 | private enum IndexInfoTable {
186 | // The rank of the column within the index. (0 means left-most.)
187 | static let seqnoColumn = Expression<Int>("seqno")
| |- warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqnoColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:190:16: warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
190 | static let cidColumn = Expression<Int>("cid")
| |- warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cidColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:193:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
193 | static let nameColumn = Expression<String?>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | }
195 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:198:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
196 | private enum IndexListTable {
197 | // A sequence number assigned to each index for internal tracking purposes.
198 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:200:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
198 | static let seqColumn = Expression<Int64>("seq")
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:202:16: warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
200 | static let nameColumn = Expression<String>("name")
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
| |- warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uniqueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | // "c" if the index was created by a CREATE INDEX statement,
204 | // "u" if the index was created by a UNIQUE constraint, or
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:206:16: warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
204 | // "u" if the index was created by a UNIQUE constraint, or
205 | // "pk" if the index was created by a PRIMARY KEY constraint.
206 | static let originColumn = Expression<String>("origin")
| |- warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'originColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:208:16: warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
206 | static let originColumn = Expression<String>("origin")
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
| |- warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'partialColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | }
210 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:212:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:213:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:214:16: warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
| |- warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:215:16: warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
| |- warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fromColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:216:16: warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
| |- warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'toColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:217:16: warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
| |- warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onUpdateColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:218:16: warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
| |- warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onDeleteColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | static let matchColumn = Expression<String>("match")
220 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:219:16: warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
| |- warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'matchColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | }
221 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
[34/40] Compiling SQLite SchemaDefinitions.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:154:24: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:155:24: warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
155 | private static let tempName = Table("sqlite_schema", database: "temp")
| |- warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:157:24: warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
| |- warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'masterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private static let tempMasterName = Table("sqlite_temp_master")
159 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:158:24: warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
158 | private static let tempMasterName = Table("sqlite_temp_master")
| |- warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempMasterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | static func get(for connection: Connection, temp: Bool = false) -> Table {
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:169:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | // columns
169 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:170:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
168 | // columns
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:171:16: warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
| |- warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableNameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:172:16: warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
| |- warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootPageColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | static let sqlColumn = Expression<String?>("sql")
174 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:173:16: warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
| |- warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sqlColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | }
175 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:177:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:178:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:179:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:180:16: warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
| |- warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notNullColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:181:16: warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
| |- warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
183 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:182:16: warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
| |- warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryKeyColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | }
184 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:187:16: warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
185 | private enum IndexInfoTable {
186 | // The rank of the column within the index. (0 means left-most.)
187 | static let seqnoColumn = Expression<Int>("seqno")
| |- warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqnoColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:190:16: warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
190 | static let cidColumn = Expression<Int>("cid")
| |- warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cidColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:193:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
193 | static let nameColumn = Expression<String?>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | }
195 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:198:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
196 | private enum IndexListTable {
197 | // A sequence number assigned to each index for internal tracking purposes.
198 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:200:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
198 | static let seqColumn = Expression<Int64>("seq")
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:202:16: warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
200 | static let nameColumn = Expression<String>("name")
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
| |- warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uniqueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | // "c" if the index was created by a CREATE INDEX statement,
204 | // "u" if the index was created by a UNIQUE constraint, or
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:206:16: warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
204 | // "u" if the index was created by a UNIQUE constraint, or
205 | // "pk" if the index was created by a PRIMARY KEY constraint.
206 | static let originColumn = Expression<String>("origin")
| |- warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'originColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:208:16: warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
206 | static let originColumn = Expression<String>("origin")
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
| |- warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'partialColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | }
210 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:212:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:213:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:214:16: warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
| |- warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:215:16: warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
| |- warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fromColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:216:16: warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
| |- warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'toColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:217:16: warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
| |- warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onUpdateColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:218:16: warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
| |- warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onDeleteColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | static let matchColumn = Expression<String>("match")
220 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:219:16: warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
| |- warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'matchColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | }
221 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
[35/40] Compiling SQLite SchemaReader.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:154:24: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:155:24: warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
155 | private static let tempName = Table("sqlite_schema", database: "temp")
| |- warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:157:24: warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
| |- warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'masterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private static let tempMasterName = Table("sqlite_temp_master")
159 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:158:24: warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
158 | private static let tempMasterName = Table("sqlite_temp_master")
| |- warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempMasterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | static func get(for connection: Connection, temp: Bool = false) -> Table {
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:169:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | // columns
169 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:170:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
168 | // columns
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:171:16: warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
| |- warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableNameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:172:16: warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
| |- warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootPageColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | static let sqlColumn = Expression<String?>("sql")
174 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:173:16: warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
| |- warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sqlColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | }
175 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:177:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:178:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:179:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:180:16: warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
| |- warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notNullColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:181:16: warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
| |- warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
183 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:182:16: warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
| |- warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryKeyColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | }
184 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:187:16: warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
185 | private enum IndexInfoTable {
186 | // The rank of the column within the index. (0 means left-most.)
187 | static let seqnoColumn = Expression<Int>("seqno")
| |- warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqnoColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:190:16: warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
190 | static let cidColumn = Expression<Int>("cid")
| |- warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cidColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:193:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
193 | static let nameColumn = Expression<String?>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | }
195 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:198:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
196 | private enum IndexListTable {
197 | // A sequence number assigned to each index for internal tracking purposes.
198 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:200:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
198 | static let seqColumn = Expression<Int64>("seq")
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:202:16: warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
200 | static let nameColumn = Expression<String>("name")
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
| |- warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uniqueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | // "c" if the index was created by a CREATE INDEX statement,
204 | // "u" if the index was created by a UNIQUE constraint, or
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:206:16: warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
204 | // "u" if the index was created by a UNIQUE constraint, or
205 | // "pk" if the index was created by a PRIMARY KEY constraint.
206 | static let originColumn = Expression<String>("origin")
| |- warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'originColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:208:16: warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
206 | static let originColumn = Expression<String>("origin")
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
| |- warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'partialColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | }
210 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:212:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:213:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:214:16: warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
| |- warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:215:16: warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
| |- warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fromColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:216:16: warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
| |- warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'toColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:217:16: warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
| |- warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onUpdateColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:218:16: warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
| |- warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onDeleteColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | static let matchColumn = Expression<String>("match")
220 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:219:16: warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
| |- warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'matchColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | }
221 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
[36/40] Compiling SQLite AggregateFunctions.swift
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaChanger.swift:32:14: warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
30 | public enum Error: LocalizedError {
31 | case invalidColumnDefinition(String)
32 | case foreignKeyError([ForeignKeyError])
| `- warning: associated value 'foreignKeyError' of 'Sendable'-conforming enum 'Error' has non-sendable type 'ForeignKeyError'; this is an error in the Swift 6 language mode
33 |
34 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:343:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
341 | }
342 |
343 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
344 | public let from: String
345 | public let rowId: Int64
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:154:24: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:155:24: warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
153 | private enum SchemaTable {
154 | private static let name = Table("sqlite_schema", database: "main")
155 | private static let tempName = Table("sqlite_schema", database: "temp")
| |- warning: static property 'tempName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:157:24: warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
155 | private static let tempName = Table("sqlite_schema", database: "temp")
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
| |- warning: static property 'masterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'masterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private static let tempMasterName = Table("sqlite_temp_master")
159 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:158:24: warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
156 | // legacy names (< 3.33.0)
157 | private static let masterName = Table("sqlite_master")
158 | private static let tempMasterName = Table("sqlite_temp_master")
| |- warning: static property 'tempMasterName' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tempMasterName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | static func get(for connection: Connection, temp: Bool = false) -> Table {
/host/spi-builder-workspace/Sources/SQLite/Typed/Query.swift:880:15: note: consider making struct 'Table' conform to the 'Sendable' protocol
878 | /// Queries a collection of chainable helper functions and expressions to build
879 | /// executable SQL statements.
880 | public struct Table: SchemaType {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
881 |
882 | public static let identifier = "TABLE"
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:169:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
167 |
168 | // columns
169 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:170:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
168 | // columns
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:171:16: warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
169 | static let typeColumn = Expression<String>("type")
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
| |- warning: static property 'tableNameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableNameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:172:16: warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
170 | static let nameColumn = Expression<String>("name")
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
| |- warning: static property 'rootPageColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootPageColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | static let sqlColumn = Expression<String?>("sql")
174 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:173:16: warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
171 | static let tableNameColumn = Expression<String>("tbl_name")
172 | static let rootPageColumn = Expression<Int64?>("rootpage")
173 | static let sqlColumn = Expression<String?>("sql")
| |- warning: static property 'sqlColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sqlColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | }
175 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:177:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
175 |
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:178:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
176 | private enum TableInfoTable {
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:179:16: warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let idColumn = Expression<Int64>("cid")
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
| |- warning: static property 'typeColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'typeColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:180:16: warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let nameColumn = Expression<String>("name")
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
| |- warning: static property 'notNullColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notNullColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:181:16: warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let typeColumn = Expression<String>("type")
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
| |- warning: static property 'defaultValueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
183 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:182:16: warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let notNullColumn = Expression<Int64>("notnull")
181 | static let defaultValueColumn = Expression<String?>("dflt_value")
182 | static let primaryKeyColumn = Expression<Int64?>("pk")
| |- warning: static property 'primaryKeyColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'primaryKeyColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | }
184 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:187:16: warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
185 | private enum IndexInfoTable {
186 | // The rank of the column within the index. (0 means left-most.)
187 | static let seqnoColumn = Expression<Int>("seqno")
| |- warning: static property 'seqnoColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqnoColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:190:16: warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
188 | // The rank of the column within the table being indexed.
189 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
190 | static let cidColumn = Expression<Int>("cid")
| |- warning: static property 'cidColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cidColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:193:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | // The name of the column being indexed.
192 | // This columns is NULL if the column is the rowid or an expression.
193 | static let nameColumn = Expression<String?>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | }
195 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:198:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
196 | private enum IndexListTable {
197 | // A sequence number assigned to each index for internal tracking purposes.
198 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:200:16: warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
198 | static let seqColumn = Expression<Int64>("seq")
199 | // The name of the index
200 | static let nameColumn = Expression<String>("name")
| |- warning: static property 'nameColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nameColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:202:16: warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
200 | static let nameColumn = Expression<String>("name")
201 | // "1" if the index is UNIQUE and "0" if not.
202 | static let uniqueColumn = Expression<Int64>("unique")
| |- warning: static property 'uniqueColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uniqueColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | // "c" if the index was created by a CREATE INDEX statement,
204 | // "u" if the index was created by a UNIQUE constraint, or
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:206:16: warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
204 | // "u" if the index was created by a UNIQUE constraint, or
205 | // "pk" if the index was created by a PRIMARY KEY constraint.
206 | static let originColumn = Expression<String>("origin")
| |- warning: static property 'originColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'originColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:208:16: warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
206 | static let originColumn = Expression<String>("origin")
207 | // "1" if the index is a partial index and "0" if not.
208 | static let partialColumn = Expression<Int64>("partial")
| |- warning: static property 'partialColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'partialColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 | }
210 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:212:16: warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
| |- warning: static property 'idColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'idColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:213:16: warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
211 | private enum ForeignKeyListTable {
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
| |- warning: static property 'seqColumn' is not concurrency-safe because non-'Sendable' type 'Expression<Int64>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'seqColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:214:16: warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
212 | static let idColumn = Expression<Int64>("id")
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
| |- warning: static property 'tableColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tableColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:215:16: warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | static let seqColumn = Expression<Int64>("seq")
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
| |- warning: static property 'fromColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fromColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:216:16: warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
214 | static let tableColumn = Expression<String>("table")
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
| |- warning: static property 'toColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'toColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:217:16: warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | static let fromColumn = Expression<String>("from")
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
| |- warning: static property 'onUpdateColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onUpdateColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:218:16: warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
216 | static let toColumn = Expression<String?>("to") // when null, use primary key
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
| |- warning: static property 'onDeleteColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'onDeleteColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 | static let matchColumn = Expression<String>("match")
220 | }
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:219:16: warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | static let onUpdateColumn = Expression<String>("on_update")
218 | static let onDeleteColumn = Expression<String>("on_delete")
219 | static let matchColumn = Expression<String>("match")
| |- warning: static property 'matchColumn' is not concurrency-safe because non-'Sendable' type 'Expression<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'matchColumn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 | }
221 |
/host/spi-builder-workspace/Sources/SQLite/Typed/Expression.swift:56:15: note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
54 |
55 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
56 | public struct Expression<Datatype>: ExpressionType {
| `- note: consider making generic struct 'Expression' conform to the 'Sendable' protocol
57 |
58 | public typealias UnderlyingType = Datatype
[37/40] Compiling SQLite Query.swift
[38/40] Compiling SQLite Schema.swift
[39/40] Compiling SQLite Setter.swift
[40/40] Compiling SQLite WindowFunctions.swift
Build complete! (30.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-toolchain-sqlite",
"requirement" : {
"exact" : [
"1.0.4"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-toolchain-sqlite"
}
],
"manifest_display_name" : "SQLite.swift",
"name" : "SQLite.swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SQLite",
"targets" : [
"SQLite"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SQLiteTests",
"module_type" : "SwiftTarget",
"name" : "SQLiteTests",
"path" : "Tests/SQLiteTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SQLiteTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Core/BlobTests.swift",
"Core/Connection+AttachTests.swift",
"Core/Connection+PragmaTests.swift",
"Core/ConnectionTests.swift",
"Core/CoreFunctionsTests.swift",
"Core/ResultTests.swift",
"Core/StatementTests.swift",
"Core/ValueTests.swift",
"Extensions/CipherTests.swift",
"Extensions/FTS4Tests.swift",
"Extensions/FTS5Tests.swift",
"Extensions/FTSIntegrationTests.swift",
"Extensions/RTreeTests.swift",
"Fixtures.swift",
"FoundationTests.swift",
"Schema/Connection+SchemaTests.swift",
"Schema/SchemaChangerTests.swift",
"Schema/SchemaDefinitionsTests.swift",
"Schema/SchemaReaderTests.swift",
"Schema/SchemaTests.swift",
"TestHelpers.swift",
"Typed/AggregateFunctionsTests.swift",
"Typed/CustomAggregationTests.swift",
"Typed/CustomFunctionsTests.swift",
"Typed/DateAndTimeFunctionTests.swift",
"Typed/ExpressionTests.swift",
"Typed/OperatorsTests.swift",
"Typed/QueryIntegrationTests.swift",
"Typed/QueryTests.swift",
"Typed/RowTests.swift",
"Typed/SelectTests.swift",
"Typed/SetterTests.swift",
"Typed/WindowFunctionsTests.swift"
],
"target_dependencies" : [
"SQLite"
],
"type" : "test"
},
{
"c99name" : "SQLite",
"module_type" : "SwiftTarget",
"name" : "SQLite",
"path" : "Sources/SQLite",
"product_dependencies" : [
"SwiftToolchainCSQLite"
],
"product_memberships" : [
"SQLite"
],
"sources" : [
"Core/Backup.swift",
"Core/Blob.swift",
"Core/Connection+Aggregation.swift",
"Core/Connection+Attach.swift",
"Core/Connection+Pragmas.swift",
"Core/Connection.swift",
"Core/Errors.swift",
"Core/Result.swift",
"Core/SQLiteFeature.swift",
"Core/SQLiteVersion.swift",
"Core/Statement.swift",
"Core/URIQueryParameter.swift",
"Core/Value.swift",
"Extensions/Cipher.swift",
"Extensions/FTS4.swift",
"Extensions/FTS5.swift",
"Extensions/RTree.swift",
"Foundation.swift",
"Helpers.swift",
"Schema/Connection+Schema.swift",
"Schema/SchemaChanger.swift",
"Schema/SchemaDefinitions.swift",
"Schema/SchemaReader.swift",
"Typed/AggregateFunctions.swift",
"Typed/Coding.swift",
"Typed/Collation.swift",
"Typed/CoreFunctions.swift",
"Typed/CustomFunctions.swift",
"Typed/DateAndTimeFunctions.swift",
"Typed/Expression.swift",
"Typed/Operators.swift",
"Typed/Query+with.swift",
"Typed/Query.swift",
"Typed/Schema.swift",
"Typed/Setter.swift",
"Typed/WindowFunctions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:96978cfc7c1f56c0b12d561b3402e65f41ab79b9797a4fd5965b5c0d586dcecc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.