Build Information
Successful build of SQLite.swift with Swift 6.0 for Linux.
Swift 6 data race errors: 48
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| |- note: annotate 'uniqueColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 | // "c" if the index was created by a CREATE INDEX statement,
178 | // "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:180: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
178 | // "u" if the index was created by a UNIQUE constraint, or
179 | // "pk" if the index was created by a PRIMARY KEY constraint.
180 | 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: annotate 'originColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | // "1" if the index is a partial index and "0" if not.
182 | 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:182: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
180 | static let originColumn = Expression<String>("origin")
181 | // "1" if the index is a partial index and "0" if not.
182 | 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: annotate 'partialColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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:186: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
184 |
185 | private enum ForeignKeyListTable {
186 | 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: annotate 'idColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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:187: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
185 | private enum ForeignKeyListTable {
186 | static let idColumn = Expression<Int64>("id")
187 | 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: annotate 'seqColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | static let tableColumn = Expression<String>("table")
189 | 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:188: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
186 | static let idColumn = Expression<Int64>("id")
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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: annotate 'tableColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | static let fromColumn = Expression<String>("from")
190 | 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:189: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
187 | static let seqColumn = Expression<Int64>("seq")
188 | static let tableColumn = Expression<String>("table")
189 | 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: annotate 'fromColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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:190: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
188 | static let tableColumn = Expression<String>("table")
189 | static let fromColumn = Expression<String>("from")
190 | 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: annotate 'toColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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:191: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
189 | static let fromColumn = Expression<String>("from")
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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: annotate 'onUpdateColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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:192: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
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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: annotate 'onDeleteColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | static let matchColumn = Expression<String>("match")
194 | }
/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 '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
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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: annotate 'matchColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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
[25/39] 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:307:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
305 | }
306 |
307 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
308 | public let from: String
309 | public let rowId: Int64
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:94:20: warning: static property 'pattern' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | // swiftlint:disable:next force_try
94 | static let pattern = try! NSRegularExpression(pattern: "PRIMARY KEY\\s*(?:ASC|DESC)?\\s*(?:ON CONFLICT (\\w+)?)?\\s*(AUTOINCREMENT)?")
| `- warning: static property 'pattern' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | init(autoIncrement: Bool = true, onConflict: OnConflict? = nil) {
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | struct TableDefinition: Equatable {
:
92 |
93 | // swiftlint:disable:next force_try
94 | static let pattern = try! NSRegularExpression(pattern: "PRIMARY KEY\\s*(?:ASC|DESC)?\\s*(?:ON CONFLICT (\\w+)?)?\\s*(AUTOINCREMENT)?")
| |- note: annotate 'pattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | init(autoIncrement: Bool = true, onConflict: OnConflict? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:156:24: warning: static property 'singleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
154 | public enum LiteralValue: Equatable, CustomStringConvertible {
155 | // swiftlint:disable force_try
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
| |- warning: static property 'singleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleQuote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:157:24: warning: static property 'doubleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
155 | // swiftlint:disable force_try
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
| |- warning: static property 'doubleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleQuote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
159 | // swiftlint:enable force_try
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:158:24: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | // swiftlint:enable force_try
160 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:241:16: warning: static property 'whereRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
239 |
240 | // swiftlint:disable force_try
241 | static let whereRe = try! NSRegularExpression(pattern: "\\sWHERE\\s+(.+)$")
| |- warning: static property 'whereRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whereRe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static let orderRe = try! NSRegularExpression(pattern: "\"?(\\w+)\"? DESC")
243 | // swiftlint:enable force_try
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:242:16: warning: static property 'orderRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
240 | // swiftlint:disable force_try
241 | static let whereRe = try! NSRegularExpression(pattern: "\\sWHERE\\s+(.+)$")
242 | static let orderRe = try! NSRegularExpression(pattern: "\"?(\\w+)\"? DESC")
| |- warning: static property 'orderRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orderRe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 | // swiftlint:enable force_try
244 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:129: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
127 |
128 | private enum SchemaTable {
129 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | private static let tempName = Table("sqlite_schema", database: "temp")
131 | // 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:130: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
128 | private enum SchemaTable {
129 | private static let name = Table("sqlite_schema", database: "main")
130 | 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: annotate 'tempName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | // legacy names (< 3.33.0)
132 | 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:132: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
130 | private static let tempName = Table("sqlite_schema", database: "temp")
131 | // legacy names (< 3.33.0)
132 | 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: annotate 'masterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | private static let tempMasterName = Table("sqlite_temp_master")
134 |
/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:133: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
131 | // legacy names (< 3.33.0)
132 | private static let masterName = Table("sqlite_master")
133 | 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: annotate 'tempMasterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | 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:144: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
142 |
143 | // columns
144 | 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: annotate 'typeColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | static let nameColumn = Expression<String>("name")
146 | 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:145: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
143 | // columns
144 | static let typeColumn = Expression<String>("type")
145 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | 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:146: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
144 | static let typeColumn = Expression<String>("type")
145 | static let nameColumn = Expression<String>("name")
146 | 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: annotate 'tableNameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | static let rootPageColumn = Expression<Int64?>("rootpage")
148 | 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:147: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
145 | static let nameColumn = Expression<String>("name")
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | 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: annotate 'rootPageColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static let sqlColumn = Expression<String?>("sql")
149 | }
/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:148: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
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | static let rootPageColumn = Expression<Int64?>("rootpage")
148 | 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: annotate 'sqlColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/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:152: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
150 |
151 | private enum TableInfoTable {
152 | 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: annotate 'idColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | static let nameColumn = Expression<String>("name")
154 | 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:153: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
151 | private enum TableInfoTable {
152 | static let idColumn = Expression<Int64>("cid")
153 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | static let typeColumn = Expression<String>("type")
155 | 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:154: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
152 | static let idColumn = Expression<Int64>("cid")
153 | static let nameColumn = Expression<String>("name")
154 | 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: annotate 'typeColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | 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:155: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
153 | static let nameColumn = Expression<String>("name")
154 | static let typeColumn = Expression<String>("type")
155 | 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: annotate 'notNullColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | static let defaultValueColumn = Expression<String?>("dflt_value")
157 | 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:156: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
154 | static let typeColumn = Expression<String>("type")
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | 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: annotate 'defaultValueColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | static let primaryKeyColumn = Expression<Int64?>("pk")
158 | }
/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:157: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
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | static let defaultValueColumn = Expression<String?>("dflt_value")
157 | 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: annotate 'primaryKeyColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | }
159 |
/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:162:16: warning: static property 'seqnoColumn' 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
160 | private enum IndexInfoTable {
161 | // The rank of the column within the index. (0 means left-most.)
162 | static let seqnoColumn = Expression<Int64>("seqno")
| |- warning: static property 'seqnoColumn' 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: annotate 'seqnoColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | // The rank of the column within the table being indexed.
164 | // 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:165:16: warning: static property 'cidColumn' 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
163 | // The rank of the column within the table being indexed.
164 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
165 | static let cidColumn = Expression<Int64>("cid")
| |- warning: static property 'cidColumn' 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: annotate 'cidColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | // The name of the column being indexed. This columns is NULL if the column is the rowid or an expression.
167 | 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:167: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
165 | static let cidColumn = Expression<Int64>("cid")
166 | // The name of the column being indexed. This columns is NULL if the column is the rowid or an expression.
167 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/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 '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
170 | private enum IndexListTable {
171 | // A sequence number assigned to each index for internal tracking purposes.
172 | 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: annotate 'seqColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | // The name of the index
174 | 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:174: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
172 | static let seqColumn = Expression<Int64>("seq")
173 | // The name of the index
174 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | // "1" if the index is UNIQUE and "0" if not.
176 | 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:176: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
174 | static let nameColumn = Expression<String>("name")
175 | // "1" if the index is UNIQUE and "0" if not.
176 | 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: annotate 'uniqueColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 | // "c" if the index was created by a CREATE INDEX statement,
178 | // "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:180: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
178 | // "u" if the index was created by a UNIQUE constraint, or
179 | // "pk" if the index was created by a PRIMARY KEY constraint.
180 | 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: annotate 'originColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | // "1" if the index is a partial index and "0" if not.
182 | 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:182: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
180 | static let originColumn = Expression<String>("origin")
181 | // "1" if the index is a partial index and "0" if not.
182 | 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: annotate 'partialColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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:186: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
184 |
185 | private enum ForeignKeyListTable {
186 | 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: annotate 'idColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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:187: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
185 | private enum ForeignKeyListTable {
186 | static let idColumn = Expression<Int64>("id")
187 | 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: annotate 'seqColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | static let tableColumn = Expression<String>("table")
189 | 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:188: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
186 | static let idColumn = Expression<Int64>("id")
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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: annotate 'tableColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | static let fromColumn = Expression<String>("from")
190 | 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:189: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
187 | static let seqColumn = Expression<Int64>("seq")
188 | static let tableColumn = Expression<String>("table")
189 | 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: annotate 'fromColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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:190: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
188 | static let tableColumn = Expression<String>("table")
189 | static let fromColumn = Expression<String>("from")
190 | 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: annotate 'toColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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:191: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
189 | static let fromColumn = Expression<String>("from")
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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: annotate 'onUpdateColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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:192: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
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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: annotate 'onDeleteColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | static let matchColumn = Expression<String>("match")
194 | }
/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 '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
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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: annotate 'matchColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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
[26/39] 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:307:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
305 | }
306 |
307 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
308 | public let from: String
309 | public let rowId: Int64
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:94:20: warning: static property 'pattern' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | // swiftlint:disable:next force_try
94 | static let pattern = try! NSRegularExpression(pattern: "PRIMARY KEY\\s*(?:ASC|DESC)?\\s*(?:ON CONFLICT (\\w+)?)?\\s*(AUTOINCREMENT)?")
| `- warning: static property 'pattern' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | init(autoIncrement: Bool = true, onConflict: OnConflict? = nil) {
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | struct TableDefinition: Equatable {
:
92 |
93 | // swiftlint:disable:next force_try
94 | static let pattern = try! NSRegularExpression(pattern: "PRIMARY KEY\\s*(?:ASC|DESC)?\\s*(?:ON CONFLICT (\\w+)?)?\\s*(AUTOINCREMENT)?")
| |- note: annotate 'pattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | init(autoIncrement: Bool = true, onConflict: OnConflict? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:156:24: warning: static property 'singleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
154 | public enum LiteralValue: Equatable, CustomStringConvertible {
155 | // swiftlint:disable force_try
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
| |- warning: static property 'singleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleQuote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:157:24: warning: static property 'doubleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
155 | // swiftlint:disable force_try
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
| |- warning: static property 'doubleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleQuote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
159 | // swiftlint:enable force_try
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:158:24: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | // swiftlint:enable force_try
160 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:241:16: warning: static property 'whereRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
239 |
240 | // swiftlint:disable force_try
241 | static let whereRe = try! NSRegularExpression(pattern: "\\sWHERE\\s+(.+)$")
| |- warning: static property 'whereRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whereRe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static let orderRe = try! NSRegularExpression(pattern: "\"?(\\w+)\"? DESC")
243 | // swiftlint:enable force_try
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:242:16: warning: static property 'orderRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
240 | // swiftlint:disable force_try
241 | static let whereRe = try! NSRegularExpression(pattern: "\\sWHERE\\s+(.+)$")
242 | static let orderRe = try! NSRegularExpression(pattern: "\"?(\\w+)\"? DESC")
| |- warning: static property 'orderRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orderRe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 | // swiftlint:enable force_try
244 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:129: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
127 |
128 | private enum SchemaTable {
129 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | private static let tempName = Table("sqlite_schema", database: "temp")
131 | // 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:130: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
128 | private enum SchemaTable {
129 | private static let name = Table("sqlite_schema", database: "main")
130 | 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: annotate 'tempName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | // legacy names (< 3.33.0)
132 | 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:132: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
130 | private static let tempName = Table("sqlite_schema", database: "temp")
131 | // legacy names (< 3.33.0)
132 | 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: annotate 'masterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | private static let tempMasterName = Table("sqlite_temp_master")
134 |
/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:133: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
131 | // legacy names (< 3.33.0)
132 | private static let masterName = Table("sqlite_master")
133 | 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: annotate 'tempMasterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | 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:144: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
142 |
143 | // columns
144 | 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: annotate 'typeColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | static let nameColumn = Expression<String>("name")
146 | 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:145: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
143 | // columns
144 | static let typeColumn = Expression<String>("type")
145 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | 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:146: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
144 | static let typeColumn = Expression<String>("type")
145 | static let nameColumn = Expression<String>("name")
146 | 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: annotate 'tableNameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | static let rootPageColumn = Expression<Int64?>("rootpage")
148 | 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:147: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
145 | static let nameColumn = Expression<String>("name")
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | 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: annotate 'rootPageColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static let sqlColumn = Expression<String?>("sql")
149 | }
/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:148: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
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | static let rootPageColumn = Expression<Int64?>("rootpage")
148 | 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: annotate 'sqlColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/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:152: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
150 |
151 | private enum TableInfoTable {
152 | 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: annotate 'idColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | static let nameColumn = Expression<String>("name")
154 | 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:153: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
151 | private enum TableInfoTable {
152 | static let idColumn = Expression<Int64>("cid")
153 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | static let typeColumn = Expression<String>("type")
155 | 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:154: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
152 | static let idColumn = Expression<Int64>("cid")
153 | static let nameColumn = Expression<String>("name")
154 | 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: annotate 'typeColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | 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:155: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
153 | static let nameColumn = Expression<String>("name")
154 | static let typeColumn = Expression<String>("type")
155 | 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: annotate 'notNullColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | static let defaultValueColumn = Expression<String?>("dflt_value")
157 | 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:156: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
154 | static let typeColumn = Expression<String>("type")
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | 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: annotate 'defaultValueColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | static let primaryKeyColumn = Expression<Int64?>("pk")
158 | }
/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:157: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
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | static let defaultValueColumn = Expression<String?>("dflt_value")
157 | 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: annotate 'primaryKeyColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | }
159 |
/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:162:16: warning: static property 'seqnoColumn' 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
160 | private enum IndexInfoTable {
161 | // The rank of the column within the index. (0 means left-most.)
162 | static let seqnoColumn = Expression<Int64>("seqno")
| |- warning: static property 'seqnoColumn' 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: annotate 'seqnoColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | // The rank of the column within the table being indexed.
164 | // 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:165:16: warning: static property 'cidColumn' 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
163 | // The rank of the column within the table being indexed.
164 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
165 | static let cidColumn = Expression<Int64>("cid")
| |- warning: static property 'cidColumn' 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: annotate 'cidColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | // The name of the column being indexed. This columns is NULL if the column is the rowid or an expression.
167 | 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:167: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
165 | static let cidColumn = Expression<Int64>("cid")
166 | // The name of the column being indexed. This columns is NULL if the column is the rowid or an expression.
167 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/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 '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
170 | private enum IndexListTable {
171 | // A sequence number assigned to each index for internal tracking purposes.
172 | 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: annotate 'seqColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | // The name of the index
174 | 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:174: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
172 | static let seqColumn = Expression<Int64>("seq")
173 | // The name of the index
174 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | // "1" if the index is UNIQUE and "0" if not.
176 | 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:176: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
174 | static let nameColumn = Expression<String>("name")
175 | // "1" if the index is UNIQUE and "0" if not.
176 | 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: annotate 'uniqueColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 | // "c" if the index was created by a CREATE INDEX statement,
178 | // "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:180: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
178 | // "u" if the index was created by a UNIQUE constraint, or
179 | // "pk" if the index was created by a PRIMARY KEY constraint.
180 | 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: annotate 'originColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | // "1" if the index is a partial index and "0" if not.
182 | 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:182: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
180 | static let originColumn = Expression<String>("origin")
181 | // "1" if the index is a partial index and "0" if not.
182 | 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: annotate 'partialColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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:186: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
184 |
185 | private enum ForeignKeyListTable {
186 | 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: annotate 'idColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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:187: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
185 | private enum ForeignKeyListTable {
186 | static let idColumn = Expression<Int64>("id")
187 | 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: annotate 'seqColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | static let tableColumn = Expression<String>("table")
189 | 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:188: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
186 | static let idColumn = Expression<Int64>("id")
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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: annotate 'tableColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | static let fromColumn = Expression<String>("from")
190 | 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:189: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
187 | static let seqColumn = Expression<Int64>("seq")
188 | static let tableColumn = Expression<String>("table")
189 | 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: annotate 'fromColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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:190: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
188 | static let tableColumn = Expression<String>("table")
189 | static let fromColumn = Expression<String>("from")
190 | 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: annotate 'toColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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:191: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
189 | static let fromColumn = Expression<String>("from")
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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: annotate 'onUpdateColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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:192: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
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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: annotate 'onDeleteColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | static let matchColumn = Expression<String>("match")
194 | }
/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 '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
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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: annotate 'matchColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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
[27/39] 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:307:15: note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
305 | }
306 |
307 | public struct ForeignKeyError: CustomStringConvertible {
| `- note: consider making struct 'ForeignKeyError' conform to the 'Sendable' protocol
308 | public let from: String
309 | public let rowId: Int64
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:94:20: warning: static property 'pattern' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | // swiftlint:disable:next force_try
94 | static let pattern = try! NSRegularExpression(pattern: "PRIMARY KEY\\s*(?:ASC|DESC)?\\s*(?:ON CONFLICT (\\w+)?)?\\s*(AUTOINCREMENT)?")
| `- warning: static property 'pattern' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | init(autoIncrement: Bool = true, onConflict: OnConflict? = nil) {
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | struct TableDefinition: Equatable {
:
92 |
93 | // swiftlint:disable:next force_try
94 | static let pattern = try! NSRegularExpression(pattern: "PRIMARY KEY\\s*(?:ASC|DESC)?\\s*(?:ON CONFLICT (\\w+)?)?\\s*(AUTOINCREMENT)?")
| |- note: annotate 'pattern' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | init(autoIncrement: Bool = true, onConflict: OnConflict? = nil) {
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:156:24: warning: static property 'singleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
154 | public enum LiteralValue: Equatable, CustomStringConvertible {
155 | // swiftlint:disable force_try
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
| |- warning: static property 'singleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'singleQuote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:157:24: warning: static property 'doubleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
155 | // swiftlint:disable force_try
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
| |- warning: static property 'doubleQuote' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleQuote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
159 | // swiftlint:enable force_try
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:158:24: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
156 | private static let singleQuote = try! NSRegularExpression(pattern: "^'(.*)'$")
157 | private static let doubleQuote = try! NSRegularExpression(pattern: "^\"(.*)\"$")
158 | private static let blob = try! NSRegularExpression(pattern: "^[xX]\'(.*)\'$")
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | // swiftlint:enable force_try
160 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:241:16: warning: static property 'whereRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
239 |
240 | // swiftlint:disable force_try
241 | static let whereRe = try! NSRegularExpression(pattern: "\\sWHERE\\s+(.+)$")
| |- warning: static property 'whereRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whereRe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static let orderRe = try! NSRegularExpression(pattern: "\"?(\\w+)\"? DESC")
243 | // swiftlint:enable force_try
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaDefinitions.swift:242:16: warning: static property 'orderRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
240 | // swiftlint:disable force_try
241 | static let whereRe = try! NSRegularExpression(pattern: "\\sWHERE\\s+(.+)$")
242 | static let orderRe = try! NSRegularExpression(pattern: "\"?(\\w+)\"? DESC")
| |- warning: static property 'orderRe' is not concurrency-safe because non-'Sendable' type 'NSRegularExpression' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orderRe' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 | // swiftlint:enable force_try
244 |
Foundation.NSRegularExpression:1:12: note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
1 | open class NSRegularExpression : NSObject, NSCopying, NSSecureCoding {
| `- note: class 'NSRegularExpression' does not conform to the 'Sendable' protocol
2 | override open func copy() -> Any
3 | open func copy(with zone: NSZone? = nil) -> Any
/host/spi-builder-workspace/Sources/SQLite/Schema/SchemaReader.swift:129: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
127 |
128 | private enum SchemaTable {
129 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | private static let tempName = Table("sqlite_schema", database: "temp")
131 | // 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:130: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
128 | private enum SchemaTable {
129 | private static let name = Table("sqlite_schema", database: "main")
130 | 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: annotate 'tempName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | // legacy names (< 3.33.0)
132 | 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:132: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
130 | private static let tempName = Table("sqlite_schema", database: "temp")
131 | // legacy names (< 3.33.0)
132 | 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: annotate 'masterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | private static let tempMasterName = Table("sqlite_temp_master")
134 |
/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:133: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
131 | // legacy names (< 3.33.0)
132 | private static let masterName = Table("sqlite_master")
133 | 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: annotate 'tempMasterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 | 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:144: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
142 |
143 | // columns
144 | 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: annotate 'typeColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | static let nameColumn = Expression<String>("name")
146 | 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:145: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
143 | // columns
144 | static let typeColumn = Expression<String>("type")
145 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | 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:146: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
144 | static let typeColumn = Expression<String>("type")
145 | static let nameColumn = Expression<String>("name")
146 | 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: annotate 'tableNameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | static let rootPageColumn = Expression<Int64?>("rootpage")
148 | 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:147: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
145 | static let nameColumn = Expression<String>("name")
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | 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: annotate 'rootPageColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | static let sqlColumn = Expression<String?>("sql")
149 | }
/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:148: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
146 | static let tableNameColumn = Expression<String>("tbl_name")
147 | static let rootPageColumn = Expression<Int64?>("rootpage")
148 | 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: annotate 'sqlColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | }
150 |
/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:152: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
150 |
151 | private enum TableInfoTable {
152 | 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: annotate 'idColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | static let nameColumn = Expression<String>("name")
154 | 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:153: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
151 | private enum TableInfoTable {
152 | static let idColumn = Expression<Int64>("cid")
153 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | static let typeColumn = Expression<String>("type")
155 | 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:154: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
152 | static let idColumn = Expression<Int64>("cid")
153 | static let nameColumn = Expression<String>("name")
154 | 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: annotate 'typeColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | 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:155: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
153 | static let nameColumn = Expression<String>("name")
154 | static let typeColumn = Expression<String>("type")
155 | 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: annotate 'notNullColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | static let defaultValueColumn = Expression<String?>("dflt_value")
157 | 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:156: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
154 | static let typeColumn = Expression<String>("type")
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | 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: annotate 'defaultValueColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | static let primaryKeyColumn = Expression<Int64?>("pk")
158 | }
/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:157: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
155 | static let notNullColumn = Expression<Int64>("notnull")
156 | static let defaultValueColumn = Expression<String?>("dflt_value")
157 | 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: annotate 'primaryKeyColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | }
159 |
/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:162:16: warning: static property 'seqnoColumn' 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
160 | private enum IndexInfoTable {
161 | // The rank of the column within the index. (0 means left-most.)
162 | static let seqnoColumn = Expression<Int64>("seqno")
| |- warning: static property 'seqnoColumn' 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: annotate 'seqnoColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | // The rank of the column within the table being indexed.
164 | // 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:165:16: warning: static property 'cidColumn' 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
163 | // The rank of the column within the table being indexed.
164 | // A value of -1 means rowid and a value of -2 means that an expression is being used.
165 | static let cidColumn = Expression<Int64>("cid")
| |- warning: static property 'cidColumn' 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: annotate 'cidColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | // The name of the column being indexed. This columns is NULL if the column is the rowid or an expression.
167 | 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:167: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
165 | static let cidColumn = Expression<Int64>("cid")
166 | // The name of the column being indexed. This columns is NULL if the column is the rowid or an expression.
167 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/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 '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
170 | private enum IndexListTable {
171 | // A sequence number assigned to each index for internal tracking purposes.
172 | 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: annotate 'seqColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | // The name of the index
174 | 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:174: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
172 | static let seqColumn = Expression<Int64>("seq")
173 | // The name of the index
174 | 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: annotate 'nameColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | // "1" if the index is UNIQUE and "0" if not.
176 | 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:176: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
174 | static let nameColumn = Expression<String>("name")
175 | // "1" if the index is UNIQUE and "0" if not.
176 | 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: annotate 'uniqueColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 | // "c" if the index was created by a CREATE INDEX statement,
178 | // "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:180: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
178 | // "u" if the index was created by a UNIQUE constraint, or
179 | // "pk" if the index was created by a PRIMARY KEY constraint.
180 | 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: annotate 'originColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | // "1" if the index is a partial index and "0" if not.
182 | 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:182: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
180 | static let originColumn = Expression<String>("origin")
181 | // "1" if the index is a partial index and "0" if not.
182 | 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: annotate 'partialColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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:186: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
184 |
185 | private enum ForeignKeyListTable {
186 | 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: annotate 'idColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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:187: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
185 | private enum ForeignKeyListTable {
186 | static let idColumn = Expression<Int64>("id")
187 | 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: annotate 'seqColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | static let tableColumn = Expression<String>("table")
189 | 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:188: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
186 | static let idColumn = Expression<Int64>("id")
187 | static let seqColumn = Expression<Int64>("seq")
188 | 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: annotate 'tableColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | static let fromColumn = Expression<String>("from")
190 | 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:189: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
187 | static let seqColumn = Expression<Int64>("seq")
188 | static let tableColumn = Expression<String>("table")
189 | 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: annotate 'fromColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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:190: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
188 | static let tableColumn = Expression<String>("table")
189 | static let fromColumn = Expression<String>("from")
190 | 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: annotate 'toColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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:191: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
189 | static let fromColumn = Expression<String>("from")
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | 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: annotate 'onUpdateColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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:192: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
190 | static let toColumn = Expression<String?>("to") // when null, use primary key
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | 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: annotate 'onDeleteColumn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | static let matchColumn = Expression<String>("match")
194 | }
/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 '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
191 | static let onUpdateColumn = Expression<String>("on_update")
192 | static let onDeleteColumn = Expression<String>("on_delete")
193 | 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: annotate 'matchColumn' with '@MainActor' if property should only be accessed from the main actor
| `- 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
[28/39] Compiling SQLite Query.swift
[29/39] Compiling SQLite Schema.swift
[30/39] Compiling SQLite Setter.swift
[31/39] Compiling SQLite WindowFunctions.swift
[32/39] Compiling SQLite DateAndTimeFunctions.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- 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"
/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: annotate 'rowid' with '@MainActor' if property should only be accessed from the main actor
| `- 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> {
[33/39] Compiling SQLite Expression.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- 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"
/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: annotate 'rowid' with '@MainActor' if property should only be accessed from the main actor
| `- 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> {
[34/39] Compiling SQLite Operators.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- 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"
/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: annotate 'rowid' with '@MainActor' if property should only be accessed from the main actor
| `- 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> {
[35/39] Compiling SQLite Query+with.swift
/host/spi-builder-workspace/Sources/SQLite/Foundation.swift:64:12: warning: var 'dateFormatter' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'dateFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- 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"
/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: annotate 'rowid' with '@MainActor' if property should only be accessed from the main actor
| `- 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> {
[36/39] Compiling SQLite Coding.swift
[37/39] Compiling SQLite Collation.swift
[38/39] Compiling SQLite CoreFunctions.swift
[39/39] Compiling SQLite CustomFunctions.swift
Build complete! (20.71s)
Build complete.
{
"dependencies" : [
{
"identity" : "csqlite",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stephencelis/CSQLite.git"
}
],
"manifest_display_name" : "SQLite.swift",
"name" : "SQLite.swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "11.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" : [
"CSQLite"
],
"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"
}
Done.