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

Failed to build MockCloudKitFramework with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ccavnor/MockCloudKitFramework.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ccavnor/MockCloudKitFramework
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d1dc9d5 Update README.md
Cloned https://github.com/ccavnor/MockCloudKitFramework.git
Revision (git rev-parse @):
d1dc9d5d07faba46e5d08c788b5a858ede4fdf09
SUCCESS checkout https://github.com/ccavnor/MockCloudKitFramework.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/ccavnor/MockCloudKitFramework.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module MockCloudKitFramework
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 105 |     var containerIdentifier: String? { get }
 106 |     func database(with databaseScope: CKDatabase.Scope) -> DatabaseType
 107 |     func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
     |          `- note: expected sendability to match requirement here
 108 |     func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
 109 | }
     :
 113 | // ========================================
 114 | // These extensions make CloudKit comply with MCF protocols
 115 | extension CKContainer: CloudContainable {}
     | `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 116 | extension CKDatabase: CloudStorable {
 117 |     // only for state tracking in mock operations
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 106 |     func database(with databaseScope: CKDatabase.Scope) -> DatabaseType
 107 |     func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
 108 |     func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
     |          `- note: expected sendability to match requirement here
 109 | }
 110 |
     :
 113 | // ========================================
 114 | // These extensions make CloudKit comply with MCF protocols
 115 | extension CKContainer: CloudContainable {}
     | `- warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 116 | extension CKDatabase: CloudStorable {
 117 |     // only for state tracking in mock operations
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:127:1: warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'; this is an error in the Swift 6 language mode
  95 |     var configuration: CKOperation.Configuration! { get set }
  96 |     /// The custom completion block. Always the last block to be called. inherited from `Operation`
  97 |     var completionBlock: (() -> Void)? { get set }
     |         `- note: expected sendability to match requirement here
  98 | }
  99 | extension MockCKDatabaseOperation {
     :
 125 |     }
 126 | }
 127 | extension CKDatabaseOperation: DatabaseOperational {
     | `- warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'; this is an error in the Swift 6 language mode
 128 |     public typealias DatabaseType = CKDatabase
 129 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:386:28: warning: static property 'container' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 384 |
 385 |     // self reference
 386 |     fileprivate static var container: MockCKContainer?
     |                            |- warning: static property 'container' 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 'container' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'container' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 387 |
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:388:28: warning: static property 'publicDatabase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 386 |     fileprivate static var container: MockCKContainer?
 387 |
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
     |                            |- warning: static property 'publicDatabase' 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 'publicDatabase' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'publicDatabase' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 389 |     fileprivate static var privateDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.private)
 390 |     fileprivate static var sharedDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.shared)
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:389:28: warning: static property 'privateDatabase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 387 |
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
 389 |     fileprivate static var privateDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.private)
     |                            |- warning: static property 'privateDatabase' 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 'privateDatabase' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'privateDatabase' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 390 |     fileprivate static var sharedDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.shared)
 391 |
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:390:28: warning: static property 'sharedDatabase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
 389 |     fileprivate static var privateDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.private)
 390 |     fileprivate static var sharedDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.shared)
     |                            |- warning: static property 'sharedDatabase' 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 'sharedDatabase' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'sharedDatabase' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 391 |
 392 |     /// The identifier set on a CKContainer. Set to "MockCKContainer" by default.
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:560:28: warning: static property 'state' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 558 |
 559 | extension MockCKContainer {
 560 |     static fileprivate var state = MockCKContainerState.init()
     |                            |- warning: static property 'state' 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 'state' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 561 |
 562 |     /// Get and set CKAccountStatus.
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1131:14: warning: class 'MockCKDatabaseOperation' must restate inherited '@unchecked Sendable' conformance
1129 |  ```
1130 |  */
1131 | public class MockCKDatabaseOperation: CKOperation, DatabaseOperational, Reflectable { // NSObject conformance via CKOperation
     |              `- warning: class 'MockCKDatabaseOperation' must restate inherited '@unchecked Sendable' conformance
1132 |     /*
1133 |      Note: Some members of MockCKDatabaseOperation and its subcalsses are annotated with @objc. These inherit from NSObject
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
1211 |     /// Self.mockCKDatabase.add(modifyOp)
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
     |                               `- error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
1214 |         get {
1215 |             return Hold.completionBlock
Foundation.Operation:31:14: note: attempt to override property here
29 |     open var queuePriority: Operation.QueuePriority { get set }
30 |     @available(macOS 10.6, *)
31 |     open var completionBlock: (@Sendable () -> Void)? { get set }
   |              `- note: attempt to override property here
32 |     @available(macOS 10.6, *)
33 |     open func waitUntilFinished()
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1167:20: warning: static property 'completionBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1165 |     fileprivate struct Hold {
1166 |         // NOTE: must be static to allocate memory in extension
1167 |         static var completionBlock: (() -> Void)?
     |                    |- warning: static property 'completionBlock' 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 'completionBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'completionBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1168:20: warning: static property 'modifyRecordsResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1166 |         // NOTE: must be static to allocate memory in extension
1167 |         static var completionBlock: (() -> Void)?
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
     |                    |- warning: static property 'modifyRecordsResultBlock' 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 'modifyRecordsResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'modifyRecordsResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1169:20: warning: static property 'fetchRecordsResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1167 |         static var completionBlock: (() -> Void)?
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
     |                    |- warning: static property 'fetchRecordsResultBlock' 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 'fetchRecordsResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'fetchRecordsResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1170:20: warning: static property 'modifyPerRecordProgressBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
     |                    |- warning: static property 'modifyPerRecordProgressBlock' 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 'modifyPerRecordProgressBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'modifyPerRecordProgressBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1171:20: warning: static property 'fetchPerRecordProgressBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
     |                    |- warning: static property 'fetchPerRecordProgressBlock' 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 'fetchPerRecordProgressBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'fetchPerRecordProgressBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1172:20: warning: static property 'perRecordResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
     |                    |- warning: static property 'perRecordResultBlock' 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 'perRecordResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'perRecordResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1173:20: warning: static property 'recordMatchedBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
     |                    |- warning: static property 'recordMatchedBlock' 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 'recordMatchedBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'recordMatchedBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1174:20: warning: static property 'queryResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
     |                    |- warning: static property 'queryResultBlock' 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 'queryResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'queryResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1175:20: warning: static property 'perRecordSaveBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
     |                    |- warning: static property 'perRecordSaveBlock' 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 'perRecordSaveBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'perRecordSaveBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
1177 |         static var resultsLimit: Int?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1176:20: warning: static property 'perRecordDeleteBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
     |                    |- warning: static property 'perRecordDeleteBlock' 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 'perRecordDeleteBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'perRecordDeleteBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1177 |         static var resultsLimit: Int?
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1177:20: warning: static property 'resultsLimit' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
1177 |         static var resultsLimit: Int?
     |                    |- warning: static property 'resultsLimit' 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 'resultsLimit' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'resultsLimit' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
1179 |         static var error: NSError?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1178:20: warning: static property 'desiredKeys' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
1177 |         static var resultsLimit: Int?
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
     |                    |- warning: static property 'desiredKeys' 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 'desiredKeys' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'desiredKeys' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1179 |         static var error: NSError?
1180 |         static var recordErrors: [CKRecord.ID]?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1179:20: warning: static property 'error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1177 |         static var resultsLimit: Int?
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
1179 |         static var error: NSError?
     |                    |- warning: static property 'error' 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 'error' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1180 |         static var recordErrors: [CKRecord.ID]?
1181 |         static var database: MockCKDatabase?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1180:20: warning: static property 'recordErrors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
1179 |         static var error: NSError?
1180 |         static var recordErrors: [CKRecord.ID]?
     |                    |- warning: static property 'recordErrors' 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 'recordErrors' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'recordErrors' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1181 |         static var database: MockCKDatabase?
1182 |         static var operationConfiguration: CKOperation.Configuration?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1181:20: warning: static property 'database' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1179 |         static var error: NSError?
1180 |         static var recordErrors: [CKRecord.ID]?
1181 |         static var database: MockCKDatabase?
     |                    |- warning: static property 'database' 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 'database' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1182 |         static var operationConfiguration: CKOperation.Configuration?
1183 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1182:20: warning: static property 'operationConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1180 |         static var recordErrors: [CKRecord.ID]?
1181 |         static var database: MockCKDatabase?
1182 |         static var operationConfiguration: CKOperation.Configuration?
     |                    |- warning: static property 'operationConfiguration' 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 'operationConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'operationConfiguration' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |     }
1184 |     // reset state for MockCKDatabaseOperation subclasses (Hold is a struct, so each subclass has its own state copy)
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1355:20: warning: class 'MockCKModifyRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1353 |  ```
1354 |  */
1355 | public final class MockCKModifyRecordsOperation: MockCKDatabaseOperation, CKModifyRecordsOperational {
     |                    `- warning: class 'MockCKModifyRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1356 |     /// The list of CKRecord instances to save
1357 |     @objc public var recordsToSave: [CKRecord]?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1514:20: warning: class 'MockCKFetchRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1512 |  ```
1513 |  */
1514 | public final class MockCKFetchRecordsOperation: MockCKDatabaseOperation, CKFetchRecordsOperational {
     |                    `- warning: class 'MockCKFetchRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1515 |     private var myRecordIDs: [CKRecord.ID]?
1516 |
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1659:20: warning: class 'MockCKQueryOperation' must restate inherited '@unchecked Sendable' conformance
1657 |  ```
1658 |  */
1659 | public final class MockCKQueryOperation: MockCKDatabaseOperation, CKQueryOperational {
     |                    `- warning: class 'MockCKQueryOperation' must restate inherited '@unchecked Sendable' conformance
1660 |     /// The query for the search.
1661 |     @objc public var query: CKQuery?
<unknown>:0: note: getter for 'completionBlock' declared here
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1214:9: error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
1214 |         get {
     |         `- error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1215 |             return Hold.completionBlock
1216 |         }
<unknown>:0: note: setter for 'completionBlock' declared here
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1217:9: error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1215 |             return Hold.completionBlock
1216 |         }
1217 |         set {
     |         `- error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1218 |             Hold.completionBlock = newValue
1219 |         }
[4/4] Compiling MockCloudKitFramework MockCloudKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 105 |     var containerIdentifier: String? { get }
 106 |     func database(with databaseScope: CKDatabase.Scope) -> DatabaseType
 107 |     func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
     |          `- note: expected sendability to match requirement here
 108 |     func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
 109 | }
     :
 113 | // ========================================
 114 | // These extensions make CloudKit comply with MCF protocols
 115 | extension CKContainer: CloudContainable {}
     | `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 116 | extension CKDatabase: CloudStorable {
 117 |     // only for state tracking in mock operations
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:115:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 106 |     func database(with databaseScope: CKDatabase.Scope) -> DatabaseType
 107 |     func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
 108 |     func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
     |          `- note: expected sendability to match requirement here
 109 | }
 110 |
     :
 113 | // ========================================
 114 | // These extensions make CloudKit comply with MCF protocols
 115 | extension CKContainer: CloudContainable {}
     | `- warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'CloudContainable'; this is an error in the Swift 6 language mode
 116 | extension CKDatabase: CloudStorable {
 117 |     // only for state tracking in mock operations
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:127:1: warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'; this is an error in the Swift 6 language mode
  95 |     var configuration: CKOperation.Configuration! { get set }
  96 |     /// The custom completion block. Always the last block to be called. inherited from `Operation`
  97 |     var completionBlock: (() -> Void)? { get set }
     |         `- note: expected sendability to match requirement here
  98 | }
  99 | extension MockCKDatabaseOperation {
     :
 125 |     }
 126 | }
 127 | extension CKDatabaseOperation: DatabaseOperational {
     | `- warning: sendability of function types in property 'completionBlock' does not match requirement in protocol 'DatabaseOperational'; this is an error in the Swift 6 language mode
 128 |     public typealias DatabaseType = CKDatabase
 129 | }
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:386:28: warning: static property 'container' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 384 |
 385 |     // self reference
 386 |     fileprivate static var container: MockCKContainer?
     |                            |- warning: static property 'container' 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 'container' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'container' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 387 |
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:388:28: warning: static property 'publicDatabase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 386 |     fileprivate static var container: MockCKContainer?
 387 |
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
     |                            |- warning: static property 'publicDatabase' 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 'publicDatabase' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'publicDatabase' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 389 |     fileprivate static var privateDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.private)
 390 |     fileprivate static var sharedDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.shared)
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:389:28: warning: static property 'privateDatabase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 387 |
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
 389 |     fileprivate static var privateDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.private)
     |                            |- warning: static property 'privateDatabase' 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 'privateDatabase' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'privateDatabase' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 390 |     fileprivate static var sharedDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.shared)
 391 |
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:390:28: warning: static property 'sharedDatabase' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 388 |     fileprivate static var publicDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.public)
 389 |     fileprivate static var privateDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.private)
 390 |     fileprivate static var sharedDatabase: MockCKDatabase = MockCKDatabase(with: CKDatabase.Scope.shared)
     |                            |- warning: static property 'sharedDatabase' 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 'sharedDatabase' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'sharedDatabase' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 391 |
 392 |     /// The identifier set on a CKContainer. Set to "MockCKContainer" by default.
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:560:28: warning: static property 'state' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 558 |
 559 | extension MockCKContainer {
 560 |     static fileprivate var state = MockCKContainerState.init()
     |                            |- warning: static property 'state' 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 'state' to a 'let' constant to make 'Sendable' shared state immutable
     |                            |- note: annotate 'state' with '@MainActor' if property should only be accessed from the main actor
     |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 561 |
 562 |     /// Get and set CKAccountStatus.
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1131:14: warning: class 'MockCKDatabaseOperation' must restate inherited '@unchecked Sendable' conformance
1129 |  ```
1130 |  */
1131 | public class MockCKDatabaseOperation: CKOperation, DatabaseOperational, Reflectable { // NSObject conformance via CKOperation
     |              `- warning: class 'MockCKDatabaseOperation' must restate inherited '@unchecked Sendable' conformance
1132 |     /*
1133 |      Note: Some members of MockCKDatabaseOperation and its subcalsses are annotated with @objc. These inherit from NSObject
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1213:31: error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
1211 |     /// Self.mockCKDatabase.add(modifyOp)
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
     |                               `- error: property 'completionBlock' with type '(() -> Void)?' cannot override a property with type '(@Sendable () -> Void)?'
1214 |         get {
1215 |             return Hold.completionBlock
Foundation.Operation:31:14: note: attempt to override property here
29 |     open var queuePriority: Operation.QueuePriority { get set }
30 |     @available(macOS 10.6, *)
31 |     open var completionBlock: (@Sendable () -> Void)? { get set }
   |              `- note: attempt to override property here
32 |     @available(macOS 10.6, *)
33 |     open func waitUntilFinished()
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1167:20: warning: static property 'completionBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1165 |     fileprivate struct Hold {
1166 |         // NOTE: must be static to allocate memory in extension
1167 |         static var completionBlock: (() -> Void)?
     |                    |- warning: static property 'completionBlock' 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 'completionBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'completionBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1168:20: warning: static property 'modifyRecordsResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1166 |         // NOTE: must be static to allocate memory in extension
1167 |         static var completionBlock: (() -> Void)?
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
     |                    |- warning: static property 'modifyRecordsResultBlock' 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 'modifyRecordsResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'modifyRecordsResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1169:20: warning: static property 'fetchRecordsResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1167 |         static var completionBlock: (() -> Void)?
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
     |                    |- warning: static property 'fetchRecordsResultBlock' 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 'fetchRecordsResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'fetchRecordsResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1170:20: warning: static property 'modifyPerRecordProgressBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1168 |         static var modifyRecordsResultBlock: ((Result<Void, Error>) -> Void)?
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
     |                    |- warning: static property 'modifyPerRecordProgressBlock' 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 'modifyPerRecordProgressBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'modifyPerRecordProgressBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1171:20: warning: static property 'fetchPerRecordProgressBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1169 |         static var fetchRecordsResultBlock: ((_ operationResult: Result<Void, Error>) -> Void)?
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
     |                    |- warning: static property 'fetchPerRecordProgressBlock' 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 'fetchPerRecordProgressBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'fetchPerRecordProgressBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1172:20: warning: static property 'perRecordResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1170 |         static var modifyPerRecordProgressBlock: ((CKRecord, Double) -> Void)?
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
     |                    |- warning: static property 'perRecordResultBlock' 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 'perRecordResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'perRecordResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1173:20: warning: static property 'recordMatchedBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1171 |         static var fetchPerRecordProgressBlock: ((CKRecord.ID, Double) -> Void)?
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
     |                    |- warning: static property 'recordMatchedBlock' 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 'recordMatchedBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'recordMatchedBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1174:20: warning: static property 'queryResultBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1172 |         static var perRecordResultBlock: ((CKRecord.ID, Result<CKRecord, Error>) -> Void)?
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
     |                    |- warning: static property 'queryResultBlock' 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 'queryResultBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'queryResultBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1175:20: warning: static property 'perRecordSaveBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1173 |         static var recordMatchedBlock: ((_ recordID: CKRecord.ID, _ recordResult: Result<CKRecord, Error>) -> Void)?
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
     |                    |- warning: static property 'perRecordSaveBlock' 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 'perRecordSaveBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'perRecordSaveBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
1177 |         static var resultsLimit: Int?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1176:20: warning: static property 'perRecordDeleteBlock' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1174 |         static var queryResultBlock: ((_ operationResult: Result<CKQueryOperation.Cursor?, Error>) -> Void)?
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
     |                    |- warning: static property 'perRecordDeleteBlock' 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 'perRecordDeleteBlock' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'perRecordDeleteBlock' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1177 |         static var resultsLimit: Int?
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1177:20: warning: static property 'resultsLimit' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1175 |         static var perRecordSaveBlock: ((_ recordID: CKRecord.ID, _ saveResult: Result<CKRecord, Error>) -> Void)?
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
1177 |         static var resultsLimit: Int?
     |                    |- warning: static property 'resultsLimit' 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 'resultsLimit' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'resultsLimit' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
1179 |         static var error: NSError?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1178:20: warning: static property 'desiredKeys' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1176 |         static var perRecordDeleteBlock: ((_ recordID: CKRecord.ID, _ deleteResult: Result<Void, Error>) -> Void)?
1177 |         static var resultsLimit: Int?
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
     |                    |- warning: static property 'desiredKeys' 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 'desiredKeys' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'desiredKeys' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1179 |         static var error: NSError?
1180 |         static var recordErrors: [CKRecord.ID]?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1179:20: warning: static property 'error' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1177 |         static var resultsLimit: Int?
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
1179 |         static var error: NSError?
     |                    |- warning: static property 'error' 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 'error' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'error' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1180 |         static var recordErrors: [CKRecord.ID]?
1181 |         static var database: MockCKDatabase?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1180:20: warning: static property 'recordErrors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1178 |         static var desiredKeys: [CKRecord.FieldKey]?
1179 |         static var error: NSError?
1180 |         static var recordErrors: [CKRecord.ID]?
     |                    |- warning: static property 'recordErrors' 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 'recordErrors' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'recordErrors' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1181 |         static var database: MockCKDatabase?
1182 |         static var operationConfiguration: CKOperation.Configuration?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1181:20: warning: static property 'database' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1179 |         static var error: NSError?
1180 |         static var recordErrors: [CKRecord.ID]?
1181 |         static var database: MockCKDatabase?
     |                    |- warning: static property 'database' 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 'database' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'database' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1182 |         static var operationConfiguration: CKOperation.Configuration?
1183 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1182:20: warning: static property 'operationConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
1180 |         static var recordErrors: [CKRecord.ID]?
1181 |         static var database: MockCKDatabase?
1182 |         static var operationConfiguration: CKOperation.Configuration?
     |                    |- warning: static property 'operationConfiguration' 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 'operationConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
     |                    |- note: annotate 'operationConfiguration' with '@MainActor' if property should only be accessed from the main actor
     |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1183 |     }
1184 |     // reset state for MockCKDatabaseOperation subclasses (Hold is a struct, so each subclass has its own state copy)
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1355:20: warning: class 'MockCKModifyRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1353 |  ```
1354 |  */
1355 | public final class MockCKModifyRecordsOperation: MockCKDatabaseOperation, CKModifyRecordsOperational {
     |                    `- warning: class 'MockCKModifyRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1356 |     /// The list of CKRecord instances to save
1357 |     @objc public var recordsToSave: [CKRecord]?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1514:20: warning: class 'MockCKFetchRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1512 |  ```
1513 |  */
1514 | public final class MockCKFetchRecordsOperation: MockCKDatabaseOperation, CKFetchRecordsOperational {
     |                    `- warning: class 'MockCKFetchRecordsOperation' must restate inherited '@unchecked Sendable' conformance
1515 |     private var myRecordIDs: [CKRecord.ID]?
1516 |
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1659:20: warning: class 'MockCKQueryOperation' must restate inherited '@unchecked Sendable' conformance
1657 |  ```
1658 |  */
1659 | public final class MockCKQueryOperation: MockCKDatabaseOperation, CKQueryOperational {
     |                    `- warning: class 'MockCKQueryOperation' must restate inherited '@unchecked Sendable' conformance
1660 |     /// The query for the search.
1661 |     @objc public var query: CKQuery?
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:260:16: error: ambiguous use of 'completionBlock'
 258 |         // and these inherited members
 259 |         mockOp.name = self.name
 260 |         mockOp.completionBlock = self.completionBlock
     |                `- error: ambiguous use of 'completionBlock'
 261 |
 262 |         return mockOp
     :
1211 |     /// Self.mockCKDatabase.add(modifyOp)
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
     |                               `- note: found this candidate
1214 |         get {
1215 |             return Hold.completionBlock
Foundation.Operation:31:14: note: found this candidate in module 'Foundation'
29 |     open var queuePriority: Operation.QueuePriority { get set }
30 |     @available(macOS 10.6, *)
31 |     open var completionBlock: (@Sendable () -> Void)? { get set }
   |              `- note: found this candidate in module 'Foundation'
32 |     @available(macOS 10.6, *)
33 |     open func waitUntilFinished()
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:283:16: error: ambiguous use of 'completionBlock'
 281 |         // and these inherited members
 282 |         mockOp.name = self.name
 283 |         mockOp.completionBlock = self.completionBlock
     |                `- error: ambiguous use of 'completionBlock'
 284 |
 285 |         return mockOp
     :
1211 |     /// Self.mockCKDatabase.add(modifyOp)
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
     |                               `- note: found this candidate
1214 |         get {
1215 |             return Hold.completionBlock
Foundation.Operation:31:14: note: found this candidate in module 'Foundation'
29 |     open var queuePriority: Operation.QueuePriority { get set }
30 |     @available(macOS 10.6, *)
31 |     open var completionBlock: (@Sendable () -> Void)? { get set }
   |              `- note: found this candidate in module 'Foundation'
32 |     @available(macOS 10.6, *)
33 |     open func waitUntilFinished()
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:307:16: error: ambiguous use of 'completionBlock'
 305 |         // and these inherited members
 306 |         mockOp.name = self.name
 307 |         mockOp.completionBlock = self.completionBlock
     |                `- error: ambiguous use of 'completionBlock'
 308 |
 309 |         return mockOp
     :
1211 |     /// Self.mockCKDatabase.add(modifyOp)
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
     |                               `- note: found this candidate
1214 |         get {
1215 |             return Hold.completionBlock
Foundation.Operation:31:14: note: found this candidate in module 'Foundation'
29 |     open var queuePriority: Operation.QueuePriority { get set }
30 |     @available(macOS 10.6, *)
31 |     open var completionBlock: (@Sendable () -> Void)? { get set }
   |              `- note: found this candidate in module 'Foundation'
32 |     @available(macOS 10.6, *)
33 |     open func waitUntilFinished()
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:993:19: error: ambiguous use of 'completionBlock'
 991 |         }
 992 |         // call the custom completion block iff set
 993 |         operation.completionBlock?()
     |                   `- error: ambiguous use of 'completionBlock'
 994 |     }
 995 |
     :
1211 |     /// Self.mockCKDatabase.add(modifyOp)
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
     |                               `- note: found this candidate
1214 |         get {
1215 |             return Hold.completionBlock
Foundation.Operation:31:14: note: found this candidate in module 'Foundation'
29 |     open var queuePriority: Operation.QueuePriority { get set }
30 |     @available(macOS 10.6, *)
31 |     open var completionBlock: (@Sendable () -> Void)? { get set }
   |              `- note: found this candidate in module 'Foundation'
32 |     @available(macOS 10.6, *)
33 |     open func waitUntilFinished()
<unknown>:0: note: getter for 'completionBlock' declared here
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1214:9: error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1212 |     /// ```
1213 |     @objc public override var completionBlock: (() -> Void)? {
1214 |         get {
     |         `- error: getter for 'completionBlock' with Objective-C selector 'completionBlock' conflicts with getter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1215 |             return Hold.completionBlock
1216 |         }
<unknown>:0: note: setter for 'completionBlock' declared here
/Users/admin/builder/spi-builder-workspace/Sources/MockCloudKitFramework/MockCloudKit.swift:1217:9: error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1215 |             return Hold.completionBlock
1216 |         }
1217 |         set {
     |         `- error: setter for 'completionBlock' with Objective-C selector 'setCompletionBlock:' conflicts with setter for 'completionBlock' from superclass 'Operation' with the same Objective-C selector
1218 |             Hold.completionBlock = newValue
1219 |         }
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.