This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 (beta) for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-crud.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/perfectlysoft/perfect-crud
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 71c445e not much
Cloned https://github.com/perfectlysoft/perfect-crud.git
Revision (git rev-parse @):
71c445eaaa94e5ce634aa11a6a1aa6544e786307
SUCCESS checkout https://github.com/perfectlysoft/perfect-crud.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-crud.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/26] Emitting module PerfectCRUD
/host/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 | 	}
/host/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)
/host/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 |
/host/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 = []
/host/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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/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()
/host/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()
/host/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()
/host/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 |
/host/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 {
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is non-isolated 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 non-isolated 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
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:97:21: warning: static property '_queryLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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] = []
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:98:21: warning: static property '_errorLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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 = {
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:99:21: warning: static property 'pendingEvents' is not concurrency-safe because it is non-isolated 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 non-isolated 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)
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:100:21: warning: static property 'loggingQueue' is not concurrency-safe because it is non-isolated 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 non-isolated 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 Table.swift
[5/29] Compiling PerfectCRUD Update.swift
[6/29] Compiling PerfectCRUD Where.swift
[7/29] Compiling PerfectCRUD Coding.swift
[8/29] Compiling PerfectCRUD CodingBindings.swift
[9/29] Compiling PerfectCRUD CodingJoins.swift
[10/29] Compiling PerfectCRUD CodingKeyPaths.swift
[11/29] Compiling PerfectCRUD Logical.swift
[12/29] Compiling PerfectCRUD Insert.swift
[13/29] Compiling PerfectCRUD Join.swift
[14/29] Compiling PerfectCRUD Delete.swift
[15/29] Compiling PerfectCRUD Comparison.swift
[16/29] Compiling PerfectCRUD ComparisonInts.swift
[17/29] Compiling PerfectCRUD CodingNames.swift
/host/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 | 	}
/host/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)
/host/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 |
/host/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 = []
/host/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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/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()
/host/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()
/host/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()
/host/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 |
/host/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 {
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is non-isolated 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 non-isolated 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
[18/29] Compiling PerfectCRUD CodingRows.swift
/host/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 | 	}
/host/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)
/host/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 |
/host/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 = []
/host/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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/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()
/host/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()
/host/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()
/host/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 |
/host/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 {
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is non-isolated 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 non-isolated 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
[19/29] Compiling PerfectCRUD Create.swift
/host/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 | 	}
/host/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)
/host/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 |
/host/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 = []
/host/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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/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()
/host/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()
/host/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()
/host/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 |
/host/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 {
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is non-isolated 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 non-isolated 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
[20/29] Compiling PerfectCRUD Database.swift
/host/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 | 	}
/host/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)
/host/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 |
/host/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 = []
/host/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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:92:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:96:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:100:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:104:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:108:20: warning: static property 'action' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/host/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()
/host/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()
/host/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()
/host/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 |
/host/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 {
/host/spi-builder-workspace/Sources/PerfectCRUD/Create.swift:156:13: warning: var 'tableStructureCache' is not concurrency-safe because it is non-isolated 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 non-isolated 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
[21/29] Compiling PerfectCRUD Equality.swift
[22/29] Compiling PerfectCRUD EqualityInts.swift
[23/29] Compiling PerfectCRUD Expression.swift
[24/29] Compiling PerfectCRUD In.swift
[25/29] Compiling PerfectCRUD InInts.swift
[26/29] Compiling PerfectCRUD Like.swift
[27/29] Compiling PerfectCRUD Logging.swift
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:97:21: warning: static property '_queryLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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] = []
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:98:21: warning: static property '_errorLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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 = {
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:99:21: warning: static property 'pendingEvents' is not concurrency-safe because it is non-isolated 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 non-isolated 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)
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:100:21: warning: static property 'loggingQueue' is not concurrency-safe because it is non-isolated 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 non-isolated 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)
/host/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 | }
/host/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 {
/host/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 {
[28/29] Compiling PerfectCRUD PerfectCRUD.swift
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:97:21: warning: static property '_queryLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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] = []
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:98:21: warning: static property '_errorLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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 = {
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:99:21: warning: static property 'pendingEvents' is not concurrency-safe because it is non-isolated 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 non-isolated 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)
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:100:21: warning: static property 'loggingQueue' is not concurrency-safe because it is non-isolated 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 non-isolated 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)
/host/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 | }
/host/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 {
/host/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 {
[29/29] Compiling PerfectCRUD Select.swift
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:97:21: warning: static property '_queryLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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] = []
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:98:21: warning: static property '_errorLogDestinations' is not concurrency-safe because it is non-isolated 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 non-isolated 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 = {
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:99:21: warning: static property 'pendingEvents' is not concurrency-safe because it is non-isolated 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 non-isolated 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)
/host/spi-builder-workspace/Sources/PerfectCRUD/Logging.swift:100:21: warning: static property 'loggingQueue' is not concurrency-safe because it is non-isolated 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 non-isolated 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)
/host/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 | }
/host/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 {
/host/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 {
Build complete! (16.74s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PerfectCRUD",
  "name" : "PerfectCRUD",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "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.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.