The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of PerfectCRUD, reference 2.1.0 (9e8165), with Swift 6.0 (beta) for macOS (SPM) on 15 Sep 2024 04:45:19 UTC.

Swift 6 data race errors: 20

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Perfect-CRUD.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/Perfect-CRUD
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 9e8165d Platform Modernization (#1)
Cloned https://github.com/richardpiazza/Perfect-CRUD.git
Revision (git rev-parse @):
9e8165db6164cb6fcc7740694192626cf4ffafcc
SUCCESS checkout https://github.com/richardpiazza/Perfect-CRUD.git at 2.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/richardpiazza/Perfect-CRUD.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/27] Emitting module PerfectCRUD
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Coding/CodingNames.swift:326:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
316 | }
317 |
318 | struct SubTable<T: Decodable, R: Decodable>: SubTableProto {
    |                 `- note: 'T' previously declared here
319 | 	let name: String
320 | 	let type: T.Type
    :
324 | 		return try type.self.CRUDTableStructure(columnDecoder: decoder)
325 | 	}
326 | 	func matches<T: Decodable>(_ type: T.Type) -> Bool {
    |               `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | 		return self.type == type
328 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:13:20: warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
    |                    |- warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'shallow' 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
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:14:20: warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
    |                    |- warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'dropTable' 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
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:15:20: warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
    |                    |- warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'reconcileTable' 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
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:17:20: warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
    :
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
    |                    |- warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'defaultPolicy' 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
 18 | }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
 92 | 	static public var action = ForeignKeyAction.ignore
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 93 | }
 94 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
 96 | 	static public var action = ForeignKeyAction.restrict
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 97 | }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
100 | 	static public var action = ForeignKeyAction.setNull
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
104 | 	static public var action = ForeignKeyAction.setDefault
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
108 | 	static public var action = ForeignKeyAction.cascade
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:111:12: warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | }
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionIgnore' conform to the 'Sendable' protocol
 92 | 	static public var action = ForeignKeyAction.ignore
 93 | }
    :
109 | }
110 |
111 | public let ignore = ForeignKeyActionIgnore()
    |            |- warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'ignore' 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
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:112:12: warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionRestrict' conform to the 'Sendable' protocol
 96 | 	static public var action = ForeignKeyAction.restrict
 97 | }
    :
110 |
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
    |            |- warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'restrict' 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
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:113:12: warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
 97 | }
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetNull' conform to the 'Sendable' protocol
100 | 	static public var action = ForeignKeyAction.setNull
101 | }
    :
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
    |            |- warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setNull' 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
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:114:12: warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetDefault' conform to the 'Sendable' protocol
104 | 	static public var action = ForeignKeyAction.setDefault
105 | }
    :
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
    |            |- warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setDefault' 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
115 | public let cascade = ForeignKeyActionCascade()
116 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:115:12: warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionCascade' conform to the 'Sendable' protocol
108 | 	static public var action = ForeignKeyAction.cascade
109 | }
    :
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
    |            |- warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'cascade' 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
116 |
117 | protocol ForeignKeyWrapper: WrappedCodableProvider {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
154 | }
155 |
156 | private var tableStructureCache: [String:TableStructure] = [:]
    |             |- warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'tableStructureCache' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'tableStructureCache' 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 |
158 | // for tests
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:97:21: warning: static property '_queryLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 |
 96 | public struct CRUDLogging {
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
    |                     |- warning: static property '_queryLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_queryLogDestinations' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate '_queryLogDestinations' 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
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:98:21: warning: static property '_errorLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | public struct CRUDLogging {
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
    |                     |- warning: static property '_errorLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_errorLogDestinations' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate '_errorLogDestinations' 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
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
100 | 	private static var loggingQueue: DispatchQueue = {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:99:21: warning: static property 'pendingEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
    |                     |- warning: static property 'pendingEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'pendingEvents' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'pendingEvents' 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
100 | 	private static var loggingQueue: DispatchQueue = {
101 | 		let q = DispatchQueue(label: "CRUDLoggingQueue", qos: .background)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:100:21: warning: static property 'loggingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
100 | 	private static var loggingQueue: DispatchQueue = {
    |                     |- warning: static property 'loggingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggingQueue' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'loggingQueue' 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
101 | 		let q = DispatchQueue(label: "CRUDLoggingQueue", qos: .background)
102 | 		scheduleLogCheck(q)
[4/29] Compiling PerfectCRUD Update.swift
[5/29] Compiling PerfectCRUD Where.swift
[6/29] Compiling PerfectCRUD Select.swift
[7/29] Compiling PerfectCRUD Table.swift
[8/29] Compiling PerfectCRUD InInts.swift
[9/29] Compiling PerfectCRUD Like.swift
[10/29] Compiling PerfectCRUD Logical.swift
[11/29] Compiling PerfectCRUD Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:13:20: warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
    |                    |- warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'shallow' 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
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:14:20: warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
    |                    |- warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'dropTable' 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
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:15:20: warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
    |                    |- warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'reconcileTable' 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
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:17:20: warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
    :
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
    |                    |- warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'defaultPolicy' 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
 18 | }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
 92 | 	static public var action = ForeignKeyAction.ignore
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 93 | }
 94 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
 96 | 	static public var action = ForeignKeyAction.restrict
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 97 | }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
100 | 	static public var action = ForeignKeyAction.setNull
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
104 | 	static public var action = ForeignKeyAction.setDefault
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
108 | 	static public var action = ForeignKeyAction.cascade
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:111:12: warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | }
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionIgnore' conform to the 'Sendable' protocol
 92 | 	static public var action = ForeignKeyAction.ignore
 93 | }
    :
109 | }
110 |
111 | public let ignore = ForeignKeyActionIgnore()
    |            |- warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'ignore' 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
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:112:12: warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionRestrict' conform to the 'Sendable' protocol
 96 | 	static public var action = ForeignKeyAction.restrict
 97 | }
    :
110 |
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
    |            |- warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'restrict' 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
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:113:12: warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
 97 | }
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetNull' conform to the 'Sendable' protocol
100 | 	static public var action = ForeignKeyAction.setNull
101 | }
    :
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
    |            |- warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setNull' 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
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:114:12: warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetDefault' conform to the 'Sendable' protocol
104 | 	static public var action = ForeignKeyAction.setDefault
105 | }
    :
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
    |            |- warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setDefault' 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
115 | public let cascade = ForeignKeyActionCascade()
116 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:115:12: warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionCascade' conform to the 'Sendable' protocol
108 | 	static public var action = ForeignKeyAction.cascade
109 | }
    :
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
    |            |- warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'cascade' 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
116 |
117 | protocol ForeignKeyWrapper: WrappedCodableProvider {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
154 | }
155 |
156 | private var tableStructureCache: [String:TableStructure] = [:]
    |             |- warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'tableStructureCache' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'tableStructureCache' 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 |
158 | // for tests
[12/29] Compiling PerfectCRUD Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:13:20: warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
    |                    |- warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'shallow' 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
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:14:20: warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
    |                    |- warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'dropTable' 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
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:15:20: warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
    |                    |- warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'reconcileTable' 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
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:17:20: warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
    :
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
    |                    |- warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'defaultPolicy' 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
 18 | }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
 92 | 	static public var action = ForeignKeyAction.ignore
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 93 | }
 94 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
 96 | 	static public var action = ForeignKeyAction.restrict
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 97 | }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
100 | 	static public var action = ForeignKeyAction.setNull
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
104 | 	static public var action = ForeignKeyAction.setDefault
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
108 | 	static public var action = ForeignKeyAction.cascade
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:111:12: warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | }
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionIgnore' conform to the 'Sendable' protocol
 92 | 	static public var action = ForeignKeyAction.ignore
 93 | }
    :
109 | }
110 |
111 | public let ignore = ForeignKeyActionIgnore()
    |            |- warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'ignore' 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
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:112:12: warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionRestrict' conform to the 'Sendable' protocol
 96 | 	static public var action = ForeignKeyAction.restrict
 97 | }
    :
110 |
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
    |            |- warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'restrict' 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
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:113:12: warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
 97 | }
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetNull' conform to the 'Sendable' protocol
100 | 	static public var action = ForeignKeyAction.setNull
101 | }
    :
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
    |            |- warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setNull' 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
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:114:12: warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetDefault' conform to the 'Sendable' protocol
104 | 	static public var action = ForeignKeyAction.setDefault
105 | }
    :
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
    |            |- warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setDefault' 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
115 | public let cascade = ForeignKeyActionCascade()
116 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:115:12: warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionCascade' conform to the 'Sendable' protocol
108 | 	static public var action = ForeignKeyAction.cascade
109 | }
    :
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
    |            |- warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'cascade' 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
116 |
117 | protocol ForeignKeyWrapper: WrappedCodableProvider {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
154 | }
155 |
156 | private var tableStructureCache: [String:TableStructure] = [:]
    |             |- warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'tableStructureCache' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'tableStructureCache' 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 |
158 | // for tests
[13/29] Compiling PerfectCRUD Delete.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:13:20: warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
    |                    |- warning: static property 'shallow' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'shallow' 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
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:14:20: warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
    |                    |- warning: static property 'dropTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'dropTable' 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
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:15:20: warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
 13 | 	public static let shallow = TableCreatePolicy(rawValue: 1)
 14 | 	public static let dropTable = TableCreatePolicy(rawValue: 2)
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
    |                    |- warning: static property 'reconcileTable' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'reconcileTable' 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
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:17:20: warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import Foundation
  9 |
 10 | public struct TableCreatePolicy: OptionSet {
    |               `- note: consider making struct 'TableCreatePolicy' conform to the 'Sendable' protocol
 11 | 	public let rawValue: Int
 12 | 	public init(rawValue r: Int) { rawValue = r }
    :
 15 | 	public static let reconcileTable = TableCreatePolicy(rawValue: 4)
 16 |
 17 | 	public static let defaultPolicy: TableCreatePolicy = []
    |                    |- warning: static property 'defaultPolicy' is not concurrency-safe because non-'Sendable' type 'TableCreatePolicy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'defaultPolicy' 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
 18 | }
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
 92 | 	static public var action = ForeignKeyAction.ignore
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 93 | }
 94 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
 96 | 	static public var action = ForeignKeyAction.restrict
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
 97 | }
 98 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
100 | 	static public var action = ForeignKeyAction.setNull
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
104 | 	static public var action = ForeignKeyAction.setDefault
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
108 | 	static public var action = ForeignKeyAction.cascade
    |                    |- warning: static property 'action' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'action' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'action' 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
109 | }
110 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:111:12: warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | }
 90 |
 91 | public struct ForeignKeyActionIgnore: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionIgnore' conform to the 'Sendable' protocol
 92 | 	static public var action = ForeignKeyAction.ignore
 93 | }
    :
109 | }
110 |
111 | public let ignore = ForeignKeyActionIgnore()
    |            |- warning: let 'ignore' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionIgnore' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'ignore' 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
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:112:12: warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
 93 | }
 94 |
 95 | public struct ForeignKeyActionRestrict: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionRestrict' conform to the 'Sendable' protocol
 96 | 	static public var action = ForeignKeyAction.restrict
 97 | }
    :
110 |
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
    |            |- warning: let 'restrict' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionRestrict' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'restrict' 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
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:113:12: warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
 97 | }
 98 |
 99 | public struct ForeignKeyActionSetNull: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetNull' conform to the 'Sendable' protocol
100 | 	static public var action = ForeignKeyAction.setNull
101 | }
    :
111 | public let ignore = ForeignKeyActionIgnore()
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
    |            |- warning: let 'setNull' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetNull' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setNull' 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
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:114:12: warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
101 | }
102 |
103 | public struct ForeignKeyActionSetDefault: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionSetDefault' conform to the 'Sendable' protocol
104 | 	static public var action = ForeignKeyAction.setDefault
105 | }
    :
112 | public let restrict = ForeignKeyActionRestrict()
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
    |            |- warning: let 'setDefault' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionSetDefault' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'setDefault' 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
115 | public let cascade = ForeignKeyActionCascade()
116 |
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:115:12: warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
105 | }
106 |
107 | public struct ForeignKeyActionCascade: ForeignKeyActionProvider {
    |               `- note: consider making struct 'ForeignKeyActionCascade' conform to the 'Sendable' protocol
108 | 	static public var action = ForeignKeyAction.cascade
109 | }
    :
113 | public let setNull = ForeignKeyActionSetNull()
114 | public let setDefault = ForeignKeyActionSetDefault()
115 | public let cascade = ForeignKeyActionCascade()
    |            |- warning: let 'cascade' is not concurrency-safe because non-'Sendable' type 'ForeignKeyActionCascade' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'cascade' 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
116 |
117 | protocol ForeignKeyWrapper: WrappedCodableProvider {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
154 | }
155 |
156 | private var tableStructureCache: [String:TableStructure] = [:]
    |             |- warning: var 'tableStructureCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'tableStructureCache' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'tableStructureCache' 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 |
158 | // for tests
[14/29] Compiling PerfectCRUD Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:97:21: warning: static property '_queryLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 |
 96 | public struct CRUDLogging {
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
    |                     |- warning: static property '_queryLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_queryLogDestinations' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate '_queryLogDestinations' 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
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:98:21: warning: static property '_errorLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | public struct CRUDLogging {
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
    |                     |- warning: static property '_errorLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_errorLogDestinations' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate '_errorLogDestinations' 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
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
100 | 	private static var loggingQueue: DispatchQueue = {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:99:21: warning: static property 'pendingEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
    |                     |- warning: static property 'pendingEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'pendingEvents' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'pendingEvents' 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
100 | 	private static var loggingQueue: DispatchQueue = {
101 | 		let q = DispatchQueue(label: "CRUDLoggingQueue", qos: .background)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:100:21: warning: static property 'loggingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
100 | 	private static var loggingQueue: DispatchQueue = {
    |                     |- warning: static property 'loggingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggingQueue' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'loggingQueue' 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
101 | 		let q = DispatchQueue(label: "CRUDLoggingQueue", qos: .background)
102 | 		scheduleLogCheck(q)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:127:53: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
125 | 	}
126 | 	private static func scheduleLogCheck(_ queue: DispatchQueue) {
127 | 		queue.asyncAfter(deadline: .now() + 0.5, execute: logCheckReschedulingInSerialQueue)
    |                                                     `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
128 | 	}
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:139:49: warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | public enum CRUDLogDestination {
    |             `- note: consider making enum 'CRUDLogDestination' conform to the 'Sendable' protocol
 39 | 	case none
 40 | 	case console
    :
137 | 	static var queryLogDestinations: [CRUDLogDestination] {
138 | 		set {
139 | 			loggingQueue.async { _queryLogDestinations = newValue }
    |                                                 `- warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | 		}
141 | 		get {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:147:49: warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | public enum CRUDLogDestination {
    |             `- note: consider making enum 'CRUDLogDestination' conform to the 'Sendable' protocol
 39 | 	case none
 40 | 	case console
    :
145 | 	static var errorLogDestinations: [CRUDLogDestination] {
146 | 		set {
147 | 			loggingQueue.async { _errorLogDestinations = newValue }
    |                                                 `- warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | 		}
149 | 		get {
[15/29] Compiling PerfectCRUD PerfectCRUD.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:97:21: warning: static property '_queryLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 95 |
 96 | public struct CRUDLogging {
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
    |                     |- warning: static property '_queryLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_queryLogDestinations' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate '_queryLogDestinations' 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
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:98:21: warning: static property '_errorLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 96 | public struct CRUDLogging {
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
    |                     |- warning: static property '_errorLogDestinations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_errorLogDestinations' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate '_errorLogDestinations' 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
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
100 | 	private static var loggingQueue: DispatchQueue = {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:99:21: warning: static property 'pendingEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 97 | 	private static var _queryLogDestinations: [CRUDLogDestination] = [.console]
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
    |                     |- warning: static property 'pendingEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'pendingEvents' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'pendingEvents' 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
100 | 	private static var loggingQueue: DispatchQueue = {
101 | 		let q = DispatchQueue(label: "CRUDLoggingQueue", qos: .background)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:100:21: warning: static property 'loggingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 98 | 	private static var _errorLogDestinations: [CRUDLogDestination] = [.console]
 99 | 	private static var pendingEvents: [CRUDLogEvent] = []
100 | 	private static var loggingQueue: DispatchQueue = {
    |                     |- warning: static property 'loggingQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggingQueue' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'loggingQueue' 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
101 | 		let q = DispatchQueue(label: "CRUDLoggingQueue", qos: .background)
102 | 		scheduleLogCheck(q)
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:127:53: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
125 | 	}
126 | 	private static func scheduleLogCheck(_ queue: DispatchQueue) {
127 | 		queue.asyncAfter(deadline: .now() + 0.5, execute: logCheckReschedulingInSerialQueue)
    |                                                     `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
128 | 	}
129 | }
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:139:49: warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | public enum CRUDLogDestination {
    |             `- note: consider making enum 'CRUDLogDestination' conform to the 'Sendable' protocol
 39 | 	case none
 40 | 	case console
    :
137 | 	static var queryLogDestinations: [CRUDLogDestination] {
138 | 		set {
139 | 			loggingQueue.async { _queryLogDestinations = newValue }
    |                                                 `- warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | 		}
141 | 		get {
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:147:49: warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | public enum CRUDLogDestination {
    |             `- note: consider making enum 'CRUDLogDestination' conform to the 'Sendable' protocol
 39 | 	case none
 40 | 	case console
    :
145 | 	static var errorLogDestinations: [CRUDLogDestination] {
146 | 		set {
147 | 			loggingQueue.async { _errorLogDestinations = newValue }
    |                                                 `- warning: capture of 'newValue' with non-sendable type '[CRUDLogDestination]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | 		}
149 | 		get {
[16/29] Compiling PerfectCRUD Insert.swift
[17/29] Compiling PerfectCRUD Join.swift
[18/29] Compiling PerfectCRUD Comparison.swift
[19/29] Compiling PerfectCRUD ComparisonInts.swift
[20/29] Compiling PerfectCRUD Equality.swift
[21/29] Compiling PerfectCRUD Coding.swift
[22/29] Compiling PerfectCRUD CodingBindings.swift
[23/29] Compiling PerfectCRUD CodingJoins.swift
[24/29] Compiling PerfectCRUD EqualityInts.swift
[25/29] Compiling PerfectCRUD Expression.swift
[26/29] Compiling PerfectCRUD In.swift
[27/29] Compiling PerfectCRUD CodingKeyPaths.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Coding/CodingNames.swift:326:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
316 | }
317 |
318 | struct SubTable<T: Decodable, R: Decodable>: SubTableProto {
    |                 `- note: 'T' previously declared here
319 | 	let name: String
320 | 	let type: T.Type
    :
324 | 		return try type.self.CRUDTableStructure(columnDecoder: decoder)
325 | 	}
326 | 	func matches<T: Decodable>(_ type: T.Type) -> Bool {
    |               `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | 		return self.type == type
328 | 	}
[28/29] Compiling PerfectCRUD CodingNames.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Coding/CodingNames.swift:326:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
316 | }
317 |
318 | struct SubTable<T: Decodable, R: Decodable>: SubTableProto {
    |                 `- note: 'T' previously declared here
319 | 	let name: String
320 | 	let type: T.Type
    :
324 | 		return try type.self.CRUDTableStructure(columnDecoder: decoder)
325 | 	}
326 | 	func matches<T: Decodable>(_ type: T.Type) -> Bool {
    |               `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | 		return self.type == type
328 | 	}
[29/29] Compiling PerfectCRUD CodingRows.swift
/Users/admin/builder/spi-builder-workspace/Sources/PerfectCRUD/Coding/CodingNames.swift:326:15: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
316 | }
317 |
318 | struct SubTable<T: Decodable, R: Decodable>: SubTableProto {
    |                 `- note: 'T' previously declared here
319 | 	let name: String
320 | 	let type: T.Type
    :
324 | 		return try type.self.CRUDTableStructure(columnDecoder: decoder)
325 | 	}
326 | 	func matches<T: Decodable>(_ type: T.Type) -> Bool {
    |               `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
327 | 		return self.type == type
328 | 	}
Build complete! (15.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PerfectCRUD",
  "name" : "PerfectCRUD",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "PerfectCRUD",
      "targets" : [
        "PerfectCRUD"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PerfectCRUD",
      "module_type" : "SwiftTarget",
      "name" : "PerfectCRUD",
      "path" : "Sources/PerfectCRUD",
      "product_memberships" : [
        "PerfectCRUD"
      ],
      "sources" : [
        "Coding/Coding.swift",
        "Coding/CodingBindings.swift",
        "Coding/CodingJoins.swift",
        "Coding/CodingKeyPaths.swift",
        "Coding/CodingNames.swift",
        "Coding/CodingRows.swift",
        "Create.swift",
        "Database.swift",
        "Delete.swift",
        "Expression/Comparison.swift",
        "Expression/ComparisonInts.swift",
        "Expression/Equality.swift",
        "Expression/EqualityInts.swift",
        "Expression/Expression.swift",
        "Expression/In.swift",
        "Expression/InInts.swift",
        "Expression/Like.swift",
        "Expression/Logical.swift",
        "Insert.swift",
        "Join.swift",
        "Logging.swift",
        "PerfectCRUD.swift",
        "Select.swift",
        "Table.swift",
        "Update.swift",
        "Where.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.